Skip to content
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

sentry-cli postInstall script fails with on ipv6 #1640

Closed
andreysam opened this issue Jun 11, 2023 · 4 comments · Fixed by #1836
Closed

sentry-cli postInstall script fails with on ipv6 #1640

andreysam opened this issue Jun 11, 2023 · 4 comments · Fixed by #1836

Comments

@andreysam
Copy link

Trying to update sentry. When it builds sentry-cli throws error:

Error message: request to https://downloads.sentry-cdn.com/sentry-cli/2.17.5/sentry-cli-Darwin-universal failed, reason: connect ETIMEDOUT 2a04:4e42:200::729:443
Error code: ETIMEDOUT

browser simply downgrades to ipv4 and downloads file. Force setting ipv4 address on downloads.sentry-cdn.com in /etc/hosts don't work. sentry-cli ignores /etc/hosts

@krystofwoldrich krystofwoldrich changed the title ETIMEDOUT 2a04:4e42:200::729:443 sentry-cli postInstall script fails with ETIMEDOUT 2a04:4e42:200::729:443 Jun 12, 2023
@krystofwoldrich
Copy link
Member

Hi,
this looks like a post-install script issue.

To avoid this you can install sentry-cli globally and then use export SENTRYCLI_USE_LOCAL=1 which will force the post-install script to use your globally installed version.

@krystofwoldrich
Copy link
Member

@kamilogorek Is forcing ipv4 something we could add to the post-install script?

@andreysam
Copy link
Author

Hi, thanks for answer. I simply disabled ipv6 to update sentry and enabled it after update, but i don't think it is a good long-term solution 🙃.

@krystofwoldrich krystofwoldrich transferred this issue from getsentry/sentry-react-native Jun 12, 2023
@krystofwoldrich krystofwoldrich changed the title sentry-cli postInstall script fails with ETIMEDOUT 2a04:4e42:200::729:443 sentry-cli postInstall script fails with on ipv6 Jun 12, 2023
@github-actions
Copy link

github-actions bot commented Jul 8, 2023

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

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

Successfully merging a pull request may close this issue.

4 participants