Skip to content

ECONNRESET exceptions #15799

@ismet

Description

@ismet

I'm getting ECONNRESET exceptions 5-10 mins after starting node app. It is occuring even at idle time. It makes node app crash and produces below errors. I don't have any idea what it is all about.

Any help is really appreciated..

{ Error: read ECONNRESET
    at _errnoException (util.js:1019:11)
    at TCP.onread (net.js:608:25)
---------------------------------------------
    at Socket.Readable.on (_stream_readable.js:775:35)
    at postSetup (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1165:12)
    at C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1205:9
    at f (C:\WEBAPPS\webapi\node_modules\once\once.js:25:25)
    at f (C:\WEBAPPS\webapi\node_modules\once\once.js:25:25)
    at C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1144:7
    at Immediate.<anonymous> (C:\WEBAPPS\webapi\node_modules\vasync\lib\vasync.js:175:30)
    at runCallback (timers.js:781:20)
    at tryOnImmediate (timers.js:743:5)
    at processImmediate [as _immediateCallback] (timers.js:714:5)
---------------------------------------------
    at pipeline (C:\WEBAPPS\webapi\node_modules\vasync\lib\vasync.js:175:3)
    at Object.forEachPipeline (C:\WEBAPPS\webapi\node_modules\vasync\lib\vasync.js:250:13)
    at setupClient (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1135:12)
    at Socket.onConnect (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1031:7)
    at emitNone (events.js:110:20)
    at Socket.emit (events.js:207:7)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1162:10)
---------------------------------------------
    at Socket.Readable.on (_stream_readable.js:775:35)
    at Socket.once (events.js:342:8)
    at connectSocket (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1040:14)
    at Backoff.<anonymous> (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1203:5)
    at emitTwo (events.js:125:13)
    at Backoff.emit (events.js:213:7)
    at Backoff.onBackoff_ (C:\WEBAPPS\webapi\node_modules\backoff\lib\backoff.js:53:10)
    at ontimeout (timers.js:469:11)
    at tryOnTimeout (timers.js:304:5)
    at Timer.listOnTimeout (timers.js:264:5)
---------------------------------------------
    at Client.connect (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:1198:9)
    at new Client (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\client.js:360:8)
    at Object.createClient (C:\WEBAPPS\webapi\node_modules\ldapjs\lib\client\index.js:54:12)
    at loginUser (C:\WEBAPPS\webapi\controllers\user.js:49:29)
    at Layer.handle [as handle_request] (C:\WEBAPPS\webapi\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\WEBAPPS\webapi\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (C:\WEBAPPS\webapi\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (C:\WEBAPPS\webapi\node_modules\express\lib\router\layer.js:95:5)
    at C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:281:22
    at Function.process_params (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:335:12)
    at next (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:275:10)
    at Function.handle (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:174:3)
    at router (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:47:12)
    at Layer.handle [as handle_request] (C:\WEBAPPS\webapi\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:317:13)
---------------------------------------------
    at IncomingMessage.Readable.on (_stream_readable.js:775:35)
    at readStream (C:\WEBAPPS\webapi\node_modules\raw-body\index.js:193:10)
    at getRawBody (C:\WEBAPPS\webapi\node_modules\raw-body\index.js:108:12)
    at read (C:\WEBAPPS\webapi\node_modules\body-parser\lib\read.js:77:3)
    at jsonParser (C:\WEBAPPS\webapi\node_modules\body-parser\lib\types\json.js:134:5)
    at Layer.handle [as handle_request] (C:\WEBAPPS\webapi\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:317:13)
    at C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:335:12)
    at next (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:275:10)
    at C:\WEBAPPS\webapi\node_modules\express-fileupload\lib\index.js:18:14
    at Layer.handle [as handle_request] (C:\WEBAPPS\webapi\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:317:13)
    at C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\WEBAPPS\webapi\node_modules\express\lib\router\index.js:335:12) 
code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionIssues that look for answers.wrong repoIssues that should be opened in another repository.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions