jira: WARNING:root:Got recoverable error from GET
These retries slow down our integration tests. Any idea why? Is it concurrent auths?
21:05:51 WARNING:root:Got recoverable error from GET https://${ORG}.atlassian.net/rest/api/2/serverInfo, will retry [1/3] in 12.1101162796s. Err: 401 Unauthorized
21:06:03 WARNING:root:Got recoverable error from GET https://${ORG}.atlassian.net/rest/api/2/serverInfo, will retry [2/3] in 26.5554750648s. Err: 401 Unauthorized
21:06:30 WARNING:root:Got recoverable error from GET https://${ORG}.atlassian.net/rest/api/2/serverInfo, will retry [3/3] in 24.2805575368s. Err: 401 Unauthorized
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 39 (3 by maintainers)
As some above have stated, using an API token will work (for JIRA Cloud).
I found a solution that works. I use a one-liner and include the basic_auth before calling the options. It looks like this:
I have same problem
for me the issue was that JIRA no longer accepts the username as login. Only the e-mail-address
I had the same issue, and realized my JIRA account was using SSO (via Google). In their docs, Atlassian states
Simply creating an API token and using that instead of the password allowed my script to authenticate just fine.