Hi,
Lately I started to get ConnectionClosed errors when loading packages from Smalltalkhub by using Monticello.
It's very likely to just be a problem with my environment, as I'm connecting through a university server, but I
got stuck debugging it.
Just to see if I can download packages normally I tried two things:
ZnClient new
� � � � systemPolicy;
� � � � beOneShot;
� � � � get.
ZnClient new
� � � � systemPolicy;
� � � � setAcceptEncodingGzip;
� � � � beOneShot;
� � � � get.
In the first case it works perfectly. However when I add 'setAcceptEncodingGzip' every time I get:�
[ConnectionClosed signal: 'Connection closed while waiting for data.'] in Socket>>waitForDataFor:
but if I proceed from this error I get the right content. Monticello uses "setAcceptEncodingGzip"�
so I get the above error. If I remove it, it works ok.
I've tried this with the Pharo2.0-one-click image on Mac OS (all the compression tests pass).
Doing a request using curl with "Accept-Encoding: gzip,deflate" to the same url works ok.
Am I missing something obvious?
Cheers,
Andrei