Skip to content

Request inside lib facing exception #285

Open
@debjeetsarkar

Description

This is the stack trace I was able to log when the error occurred.

`
at Request._callback (/home/code/node_modules/node-gcm/lib/sender.js:151:24)

at self.callback (/home/code/node_modules/request/request.js:186:22)

at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/home/code/node_modules/request/request.js:845:8)
at emitOne (events.js:101:20)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickDomainCallback [as _tickCallback] (internal/process/next_tick.js:122:9)`

I feel this is a concurrency issue where the error callback of the socket is being called.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions