-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
My reason:
Installing larger packages (this one in this scenario) fails consistently from verdaccio with an unexpected EOF. The package is published to the local verdaccio server, not a redirection to the public registry. It installs fine from the public registry at https://registry.npmjs.org.
Even a simple wget ends abruptly
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
X-Powered-By: verdaccio/2.3.4
Access-Control-Allow-Origin: *
Content-Type: application/octet-stream
Content-Length: 137211454
X-Status-Cat: http://flic.kr/p/aVuVsF
Date: Mon, 21 Aug 2017 11:43:35 GMT
Connection: keep-alive
Length: 137211454 (131M) [application/octet-stream]
Saving to: ‘react-native-awesome-card-io-0.6.6.tgz.2’
react-native-awesome-card-io-0.6.6.tgz.2 65%[======================================================================> ] 85.73M 13.6MB/s in 6.1s
2017-08-21 17:15:23 (14.1 MB/s) - Connection closed at byte 89897191. Retrying.
Steps to reproduce:
- Publish the package to Verdaccio
- Try installing it with yarn or npm
Issue is occurring when running the latest docker image, or on the host system with verdaccio installed through npm. Issue has persisted on both a Linux host and a macOS host.
It seems to occur on an erratic timeout basis (~7-10 seconds) because the download completes successfully if the download speed is high enough. The byte at which the connection closes is also not constant.
App Version:
2.3.4
Config file:
Default config file with only max_body_size increased to 300mb allow publishing packages of this size.