Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications not received until reconnection due to ECONNRESET socket error #50

Open
raine opened this issue Apr 21, 2021 · 1 comment

Comments

@raine
Copy link

raine commented Apr 21, 2021

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

@marutichintan
Copy link

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 ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants