Guest User

Untitled

a guest
Jul 6th, 2016
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [trying to get package from google engine instance, failed]
  2.  
  3. # curl -v http://registry.npmjs.org/jpeg-js/-/jpeg-js-0.1.2.tgz
  4. * Trying 151.101.44.162...
  5. * Connected to registry.npmjs.org (151.101.44.162) port 80 (#0)
  6. > GET /jpeg-js/-/jpeg-js-0.1.2.tgz HTTP/1.1
  7. > Host: registry.npmjs.org
  8. > User-Agent: curl/7.47.0
  9. > Accept: */*
  10. >
  11. < HTTP/1.1 502 Bad Gateway
  12. < Content-Type: text/html
  13. < Cache-Control: max-age=21600
  14. < Transfer-Encoding: chunked
  15. < Accept-Ranges: bytes
  16. < Date: Wed, 06 Jul 2016 07:40:10 GMT
  17. < Via: 1.1 varnish
  18. < Connection: keep-alive
  19. < X-Served-By: cache-ord1726-ORD
  20. < X-Cache: MISS
  21. < X-Cache-Hits: 0
  22. < X-Timer: S1467790810.116629,VS0,VE114
  23. <
  24. <html><body><h1>502 Bad Gateway</h1>
  25. The server returned an invalid or incomplete response.
  26. </body></html>
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. [trying to get same package not from registry, success]
  34.  
  35. # wget http://paukan.org/jpeg-js/-/jpeg-js-0.1.2.tgz
  36. --2016-07-06 07:41:30-- http://paukan.org/jpeg-js/-/jpeg-js-0.1.2.tgz
  37. Resolving paukan.org (paukan.org)... 31.3.254.82
  38. Connecting to paukan.org (paukan.org)|31.3.254.82|:80... connected.
  39. HTTP request sent, awaiting response... 200 OK
  40. Length: 1865420 (1.8M) [application/octet-stream]
  41. Saving to: ‘jpeg-js-0.1.2.tgz.1’
  42. jpeg-js-0.1.2.tgz.1 100%[==============================================================>] 1.78M 2.41MB/s in 0.7s
  43. 2016-07-06 07:41:31 (2.41 MB/s) - ‘jpeg-js-0.1.2.tgz.1’ saved [1865420/1865420]
  44.  
  45.  
  46.  
  47.  
  48.  
  49. [trying to build docker in app engine, failed]
  50. ...
  51. Step 5 : RUN chmod 600 ~/.ssh/id_rsa && npm set progress=false && npm install --production && apk del git curl make gcc g++ python && rm -rf /tmp/* /var/cache/apk/* /root/.npm /root/.node-gyp src
  52. ---> Running in ff429d29e315
  53. npm ERR! fetch failed https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.1.2.tgz
  54. npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502
  55. npm ERR! fetch failed https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.1.2.tgz
  56. npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 502
RAW Paste Data