Closed FarhanAhmad212 closed 6 years ago
@FarhanAhmad212 can you provide more information about your instance?
Are you using the FCM constructor with the json file or the plain text key?
I am using with json file .
Thanks
I start working now .
Thanks Farhan ahmad
Hi it was working fine since last month but suddenly stop from yesterday and following error.
Error: socket hang up at createHangUpError (_http_client.js:302:15) at Socket.socketCloseListener (_http_client.js:334:23) at emitOne (events.js:101:20) at Socket.emit (events.js:191:7) at TCP._handle.close [as _onclose] (net.js:511:12) code: 'ECONNRESET' }
it might due to content length please go through the below link. https://stackoverflow.com/questions/18692580/node-js-post-causes-error-socket-hang-up-code-econnreset