Jetbrains: "user-agent: Jakarta Commons-HttpClient/3.1" is being blocked for API requests (OD-2089)
Unknown opened 1 year ago

When code.onedev.io receives requests with the "user-agent: Jakarta Commons-HttpClient/3.1" header, it returns a 403 HTTP code and the body of the response is "error code: 1010".

This means Jetbrains IDEs cannot interact with the server to get a list of issues.

I tried multiple user agents with spaces, dashes, and dots in the same format but they all passed. It looks like the user agent Jakarta Commons/$version is specifically blocked for some reason.

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 1 year ago

    This is blocked by Cloudflare. It should be fine if you are interacting with your own OneDev instance.

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
11.1.2
Labels
No labels
Issue Votes (0)
Watchers (1)
Reference
OD-2089
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover