Repository navigation
flaresolverr: Module, and an indexer proxy of Prowlarr - #25
Merged
Merged
Conversation
andsens
force-pushed
the
flaresolverr
branch
from
November 19, 2026 06:39
914d001 to
abfe6ab
Compare
FlareSolverr solves Cloudflare challenges in Chromium. A job adds it to Prowlarr as an indexer proxy with the tag flaresolverr, which an indexer behind Cloudflare gets in the UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andsens
force-pushed
the
flaresolverr
branch
from
November 19, 2026 06:41
abfe6ab to
a929c06
Compare
andsens
added a commit
to nixos-homelab/monitoring
that referenced
this pull request
Nov 19, 2026
… a taken one (#42) * logs: Pick the check's ports below the ephemeral range, start over on a taken one free_port() bound port 0, closed the socket and returned the number, so every port came from the kernel's ephemeral range, where Loki's and Alloy's own outgoing connections take their local ports between the pick and the bind. In CI of nixos-homelab/media#25 Alloy failed with "bind: address already in use" that way. free_ports() now picks all seven ports at once from below ip_local_port_range, holding each socket until all are picked, so they are distinct and out of reach of ephemeral binds. Should a port still be taken, Loki or Alloy exits with "address already in use" and the check starts both over on new ports, up to three times. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * logs: The LogQL check's ports too queries.py picked Loki's two ports with the same free_port() as the logs check had: now free_ports() from below the ephemeral range, and a start over on new ports when Loki exits with "address already in use". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A
flaresolverrmodule (FlareSolverr 3.5.2 from nixpkgs, Chromium under Xvfb withHOMEon an emptyDir/tmp), its log parser, andhomelab.flaresolverr.integrations.prowlarr:flaresolverr(tag) and adds or updates the FlareSolverr indexer proxy (POST/PUT /api/v1/indexerproxy,FlareSolverrSettingswithhostandrequestTimeout) with that tag. Tags given in the UI stay.IndexerHttpClient.GetProxiesat v2.7.0.5723), so an indexer behind Cloudflare gets the tag in the UI.flaresolverr.nix flake checkpasses (log examples included). FlareSolverr ran locally as a user without root:/healthok, arequest.getanswered 200.🤖 Generated with Claude Code