Re: [Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2019-06-07 Thread Christopher Fuhrman
Hi - I'm resurrecting an old question I found on forum.world.st (sorry for the formatting) Dec 26, 2017; 10:14am Sven wrote: > > On 26 Dec 2017, at 08:21, Yuriy Tymchuk wrote: > > > > Hi

Re: [Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-26 Thread Sven Van Caekenberghe
> On 26 Dec 2017, at 08:21, Yuriy Tymchuk wrote: > > Hi Sven, > > No, I’m on Mac (OS 10.13). That is not good then, Uko, but again, there is no way to start debugging this without a reliable test case that I can run too. Sven > Cheers. > Uko > >> On 25 Dec 2017, at

Re: [Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-25 Thread Yuriy Tymchuk
Hi Sven, No, I’m on Mac (OS 10.13). Cheers. Uko > On 25 Dec 2017, at 20:03, Sven Van Caekenberghe wrote: > > > >> On 25 Dec 2017, at 18:03, Yuriy Tymchuk wrote: >> >> Hi, >> >> setting the reuse timeout to 0 or making a one shot client does not help.

Re: [Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-25 Thread Sven Van Caekenberghe
> On 25 Dec 2017, at 18:03, Yuriy Tymchuk wrote: > > Hi, > > setting the reuse timeout to 0 or making a one shot client does not help. But > while googling I found the exact issue described on the Pharo issue tracker: > https://pharo.fogbugz.com/f/cases/18588/ > > The

Re: [Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-25 Thread Yuriy Tymchuk
Hi, setting the reuse timeout to 0 or making a one shot client does not help. But while googling I found the exact issue described on the Pharo issue tracker: https://pharo.fogbugz.com/f/cases/18588/ The proposed workaround also worked for me: ZnNetworkingUtils default socketStreamClass:

Re: [Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-24 Thread Andrew Glynn
The only time I've seen that behaviour is with the combination of a slow server and a proxy such as CloudFlare where the sysadmin has set tcp_wait to some ridiculously small number. Have you tried setting the connection reuse timeout to 0, or setting 'beOneShot'? Zinc doesn't support the

[Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-24 Thread Yuriy Tymchuk
Hi, I’m trying to hack something with Pharo 6.1 and Phillips Hue[1] (they have a simple REST API). When I try to do a GET request with Zinc like this: ZnClient new url: 'http://192.168.0.115:80/api/1028d66426293e821ecfd9ef1a0731df/lights/'; get I get a “ConnectionClosed: