Skip to content

fix: add User-Agent header to bypass CloudFlare 1010 block on api.tryreflex.ai#4

Merged
AndresNinou merged 1 commit into
mainfrom
mayor/quickstart-useragent-fix
May 23, 2026
Merged

fix: add User-Agent header to bypass CloudFlare 1010 block on api.tryreflex.ai#4
AndresNinou merged 1 commit into
mainfrom
mayor/quickstart-useragent-fix

Conversation

@AndresNinou
Copy link
Copy Markdown
Collaborator

@AndresNinou AndresNinou commented May 23, 2026

After PR #3 switched to the branded api.tryreflex.ai domain, Python urllib started getting blocked by CloudFlare. Adds a UA header on both requests.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

…lex.ai

CloudFlare returns 403 (error 1010 'Browser Integrity Check') for requests
without a proper User-Agent header. Python's urllib defaults to
'Python-urllib/X.Y' which gets blocked.

Adds a 'reflex-quickstart/1.0' UA on both the Convex mutation POST and
the worker /health GET.
@AndresNinou AndresNinou merged commit 9d384e2 into main May 23, 2026
1 check failed
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 23, 2026

Warning

Review limit reached

@AndresNinou, we couldn't start this review because you've used your available PR reviews for now.

Your plan currently allows 1 review/hour. Refill in 57 minutes and 13 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1a8d7571-d619-4303-9108-10b18d819076

📥 Commits

Reviewing files that changed from the base of the PR and between 877dc1a and 2f319b0.

📒 Files selected for processing (1)
  • quickstart_molmoact.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mayor/quickstart-useragent-fix

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant