-
-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API request failed caused by: [6] Couldn't resolve host name (Could not resolve host: sentry.io) #2177
Comments
@MessyComposer could you please try upgrading to the latest Sentry CLI version? We upgraded our If upgrading does not help, I would also suggest checking your network connection and network settings; this error might be caused by some kind of connection problem or network misconfiguration. |
Just got around to trying it again with the latest cli version 2.37.0 and it still results in the same error It is not a networking related issue, seeing how 2.21.2 works flawlessly. Guess I'll be forced to stay on 2.21.2 for the time being... |
@MessyComposer does the error occur on every run, or is it a transient failure? |
Also, are you running in rootless Docker? if yes, this might be a duplicate of #1929 |
Yes, occurs on every run and not running in rootless docker |
Okay, thanks for the information @MessyComposer. One more clarification:
By "DinD" are you referring to Docker in Docker? |
Yep |
CLI Version
2.36.1
Operating System and Architecture
Operating System Version
node:18
Link to reproduction repository
No response
CLI Command
sentry-cli sourcemaps upload ./build --log-level=debug
Exact Reproduction Steps
We're running docker in docker (CI/CD runners), and the sourcemap upload fails when using sentry cli 2.36.1
There is nothing of real value in the logs that I can tell, it just instantly fails with
Could not resolve host: sentry.io
Downgrading to 2.21.2 and it works fine.
Expected Results
The sourcemaps files are uploaded to sentry successfully
Actual Results
API request failed caused by: [6] Couldn't resolve host name (Could not resolve host: sentry.io)
Logs
The text was updated successfully, but these errors were encountered: