You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/11/29 14:11:57 UTC

[GitHub] starpit opened a new issue #89: socket hangup issues due to slow connection open

starpit opened a new issue #89: socket hangup issues due to slow connection open
URL: https://github.com/apache/incubator-openwhisk-client-js/issues/89
 
 
   we inherit needle's default connection-open timeout of 10 seconds. this seems to result in socket hangup errors. i'm not sure what the right solution is here, but wanted to raise awareness of it.
   
   option 1: the user of this library has to retry
   option 2: we update the openwhisk npm to retry, according to a policy established by the caller (e.g. maxRetries)
   option 3: we increase the connection open timeout a bit, in tandem with either opt1 or opt2

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services