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

one of the uplinks is down, refuse to publish? #356

Open
ghost opened this issue Dec 16, 2015 · 5 comments
Open

one of the uplinks is down, refuse to publish? #356

ghost opened this issue Dec 16, 2015 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 16, 2015

I have successfully installed sinopia on docker engine. But failed to publish my first package into it.
Below is the error statcktrace

[root@xxxxxx ibm-c3]# npm publish
npm ERR! publish Failed PUT 503
npm ERR! Linux 3.10.0-229.4.2.el7.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
npm ERR! node v4.2.3
npm ERR! npm v2.14.7
npm ERR! code E503

npm ERR! one of the uplinks is down, refuse to publish : ibm-c3
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /root/xuhang/ibm-c3/npm-debug.log

I have already viewed the related topic about this issue like below two, but did not help me.
#289
#124

Any one can help me? thanks.

@MickelSierra85
Copy link

Hi,
do you have internet access?

Can you publish your configuration?

@yinrong
Copy link

yinrong commented Jul 20, 2016

+1

@jennasalau
Copy link

Hi,

I was having this issue and resolved it by setting my companies proxy information on the sinopia server.

Make sure your server can access the uplink urls set in config.yaml

For me since my server is behind a proxy i needed to add the proxy deets.

example in config.yaml

# Proxy for uplinks
http_proxy: http://user:[email protected]:80
https_proxy: http://user:[email protected]:80

# a list of other known repositories we can talk to
uplinks:
    npmjs:
         url: https://registry.npmjs.org/

@ws-tumx
Copy link

ws-tumx commented Oct 30, 2018

use nrm

@DninoAdnane
Copy link

DninoAdnane commented Apr 23, 2019

you can comment #proxy=npmjs in file config config.yaml

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

No branches or pull requests

5 participants