http error 503 code example

Example 1: npm err! 503 service unavailable proxy

first add this:
- npm config set registry http://registry.npmjs.org/

If your organization use proxy , add proxy :

- npm config set proxy "http://username:password@proxy-url:proxy-port"

- npm config set https-proxy "http://username:password@proxy-url:proxy-port"

Example 2: error 503

A 503 Service Unavailable Error is an HTTP response status code indicating that a server is temporarily unable to handle the request. This may be due to the server being overloaded or down for maintenance. This particular response code differs from a code like the 500 Internal Server Error we explored some time ago

Example 3: http status 502

502 Bad Gateway