couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosduclos <...@git.apache.org>
Subject [GitHub] couchdb-nano issue #29: Handle ECONNRESET errors
Date Fri, 17 Mar 2017 14:03:53 GMT
GitHub user carlosduclos opened an issue:

    https://github.com/apache/couchdb-nano/issues/29

    Handle ECONNRESET errors

    [Original issue](https://github.com/dscape/nano/issues/332)
    
    __fhahne__
    I may be missing something here, but it seems that nano is not handling ECONNRESET errors,
or other sorts of socket hangups. I assume that one would want to attach an error listener
to the request object in order to do so. Since that is all encapsulated in the module I am
not quite sure how to archive that. Any suggestions?
    
    __bmiller59__
    +1 I am also getting similar errors. What is the correct strategy for adding an error
handler to address these econnreset errors? Also, any suggestions what the cause could be?
    
    __0x1mason__
    can you do something like
    ```javascript
    require('nano')({
    request: function () {
      // request wrapper with special handling
    }
    })
    ```

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message