push-receiver icon indicating copy to clipboard operation
push-receiver copied to clipboard

Notifications not received until reconnection due to ECONNRESET socket error

Open raine opened this issue 4 years ago • 1 comments

Hi,

I'm using push-receiver to listen to notifications from a service that uses expo.io to send notifications to iOS and Android clients. I have an iOS device receiving the same notifications at the same time and have noticed that often push-receiver does not immediately get the notification that appears on the iOS device.

I've set up some logging in client.js and enabled DEBUG statements in parser, and it appears the socket keeps reconnecting because of ECONNRESET error around every minute or so.

Any ideas? Thanks!

Debug log: fcm.log

raine avatar Apr 21 '21 20:04 raine

Error: read ECONNRESET at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } i have check the log generally disconnect at after 1651 sec. is anything to do with linux ??

marutichintan avatar Jun 26 '22 05:06 marutichintan