-
Notifications
You must be signed in to change notification settings - Fork 654
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
one of the uplinks is down, refuse to publish #124
Comments
This is the problem. Please, check your system time, maybe it's off by a year or so. Try to run: $ curl https://registry.npmjs.org/local-version-number That should normally output "document not found", but if it fails with SSL error, you'll know where the issue is. Sinopia needs to reach npm registry to ensure that the name of the new package is available to avoid name collisions, but fails to do so because of an SSL error. As a workaround, you can remove npm registry from config temporarily, or switch |
thanks, rlidwka. you are right, system time is wrong and it is off by a year. |
I am receiving this error when trying to publish a local npm package, system time is the correct year |
i used to install sinopia and it worked very well. i published a few private npm packages to it, all of them were published successfully. but now when i create a new local package and use "npm publish" to publish to sinopia. it was not ok. but if i republish the old package, it still worked. here is the log from sinopia server:
warn --- Server is listening on http://0.0.0.0:4873/
http --> ERR, req: 'GET https://registry.npmjs.org/local-version-number', error: CERT_NOT_YET_VALID
http <-- 503, user: admin, req: 'PUT /local-version-number', error: one of the uplinks is down, refuse to publish
http --> ERR, req: 'GET https://registry.npmjs.org/local-version-number', error: CERT_NOT_YET_VALID
http <-- 503, user: admin, req: 'PUT /local-version-number', error: one of the uplinks is down, refuse to publish
warn --> host registry.npmjs.org is now offline
http <-- 503, user: admin, req: 'PUT /local-version-number', error: one of the uplinks is down, refuse to publish
http <-- 201, user: admin, req: 'PUT /local-cache', bytes: 3125/33
http <-- 503, user: admin, req: 'PUT /local-version-number', error: one of the uplinks is down, refuse to publish
local-cache is the old package which was published before. and local-version-number is the new package which could not be published.
i checked the package.json and don't get any error. so can you tell what the problem is?
thanks!
The text was updated successfully, but these errors were encountered: