fcm-push
fcm-push copied to clipboard
TLSWrap.onread error while sending push notification to Android device
fcm-push: ^1.1.2
Sometimes getting an error message while trying to send push notification to Android device.
{"err":"Error: read ECONNRESET\n at exports._errnoException (util.js:1018:11)\n at TLSWrap.onread (net.js:572:26)"}
push message:
{
"to":"SOME_REGISTRATION_ID",
"priority":"high",
"data": {"SOME_DATA":"VALID"}
}
As far as I know the registration id is valid and the data is not unique and sent properly to other devices.
This issue may be related: https://github.com/nandarustam/fcm-push/issues/51 but was closed without any comments