Set User Agent to Avoid Cloudflare issues
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 152
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
Clients without a user agent set https://github.com/Dokploy/cli/blob/main/src/client.ts#L77 will get axis default user agent that is often blocked by Cloudflare. simply setting a user agent might help with that
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/client.ts line 77 and inspect how the client is created and which request headers are currently sent. Set an explicit User-Agent for the client, then verify that requests no longer rely on the default agent that may be blocked by Cloudflare.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 75/100