Hi Sven, I tried all the command from your previous mail and the results are the same (output bellow). The strange thing is that I can download other files from smalltalkhub without problems. A short summary: ZnEntityReader>>#readEntity calls ZnEntityReader>>#readEntityFromStream which does 'GZipReadStream on: stream', after which 'readFrom:usingType:andLength:' is called. In a wrong call, 'GZipReadStream on: stream' always throws ConnectionClosed. This is handled in ZnClient>>executeWithRetriesRemaining: which keeps retrying until retryCount is 0. On the other hand for some files 'GZipReadStream on: stream' returns correctly, no exception is raised and it works ok. The exception is thrown in Socket>>waitForDataFor:ifClosed:ifTimedOut: because Socket>>primSocketConnectionStatus: returns 3 instead of 2. [(Time millisecondsSince: startTime) < msecsDelta] whileTrue: [ "here 'self primSocketConnectionStatus: socketHandle' is 2" (self primSocketReceiveDataAvailable: socketHandle) ifTrue: [Transcript crShow: ' hasData'. ^self]. "here 'self primSocketConnectionStatus: socketHandle' is 3, if there is no more content to be read so 'self isConnected' will be false." self isConnected ifFalse: [Transcript crShow: ' notConnected'.^closedBlock value]. self readSemaphore waitTimeoutMSecs: (msecsDelta - (Time millisecondsSince: startTime) max: 0). ]. That fact that this exception is raised during the call to 'GZipReadStream on: stream' seem to be the problem, as this does not allow readFrom: stream usingType: self contentType andLength: I hope this makes sense. I can try to dig more into it tomorrow. If you want me to look at other things let me know. Cheers, Andrei ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ $ curl http://www.smalltalkhub.com/mc/AndreiChis/AnnouncerCentricDebugger/main/ACD-... -H "Accept-Encoding: gzip" | gunzip > foo.mcz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3307 0 3307 0 0 7583 0 --:--:-- --:--:-- --:--:-- 8889 $ file foo.mcz foo.mcz: Zip archive data, at least v2.0 to extract $ ls -l foo.mcz -rw-r--r-- 1 andrei staff 3451 Mar 21 09:55 foo.mcz $ unzip -l foo.mcz Archive: foo.mcz Length Date Time Name -------- ---- ---- ---- 18 03-27-11 02:22 package 188 03-27-11 02:22 version 8588 03-27-11 02:22 snapshot/source.st 9014 03-27-11 02:22 snapshot.bin -------- ------- 17808 4 files