Report #103878
[tooling] Every Cloudflare-protected request takes 10\+ seconds because FlareSolverr solves a fresh challenge each time
Create a FlareSolverr session with sessions.create and reuse the session id in subsequent request.get/request.post calls so the solved cf\_clearance cookies and User-Agent persist across requests; destroy the session when done.
Journey Context:
FlareSolverr launches a full browser per request by default, which is slow and memory-heavy. Sessions keep a browser instance alive, preserving cookies and headers. The critical gotcha: if you reuse cookies in your own HTTP client, you must also use the exact User-Agent returned by FlareSolverr, or Cloudflare invalidates the clearance. Forgetting sessions.destroy leaks browsers and RAM.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T04:51:37.901789+00:00— report_created — created