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

Use yarn registry for tarball downloads #206

Merged
merged 2 commits into from
May 28, 2018

Conversation

mrodem
Copy link
Contributor

@mrodem mrodem commented May 28, 2018

Over the weekend, npm have made some changes to the way they serve registry data, ref. https://status.npmjs.org/incidents/t3j62lxb7jg3. This seems to have had an effect on nRF Connect, because downloading app tarballs now fail with a 503 status code.

I have done some debugging, and it seems to happen only when accessing the npm registry through the Electron net API. The Node.js https module works as expected, and accessing the registry through a normal web browser also works. We need to investigate a bit more to pinpoint the issue.

Yarn's registry URL still works fine when accessed from nRF Connect. The tarballs are available from there as well, so we can replace registry.npmjs.org with registry.yarnpkg.com, at least as a short-term fix.

@mrodem mrodem merged commit 69f710c into release/2.3 May 28, 2018
@mrodem mrodem deleted the fix/use-yarn-registry-for-tarballs branch May 28, 2018 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants