TritonDataCenter / node-manta

Node.js SDK for Manta
75 stars 54 forks source link

mjob -o and -w produce `socket hang up` errors #185

Closed mcavage closed 10 years ago

mcavage commented 10 years ago

It appears that mjob create -w or -o (both of which poll for job done status) now produce a socket hangup error 100% of the time in node-manta. This appears to be 100% client-side as manta@1.2.6 does not repro this.

davepacheco commented 10 years ago

FWIW, I'm using them with node v0.10.18 and haven't seen this problem yet.

mcavage commented 10 years ago

Ok, so this was as simple as me being on a shitty network (AC Transit WIFI) and the fact that the node-manta client explicitly disables retries. So the "fix" here is to simply have createBinClient turn those back on. Also - updated a minor patch to node-restify while I was debugging this.