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

Random issue occurs #13

Closed
bvanhou opened this issue Jan 10, 2020 · 3 comments
Closed

Random issue occurs #13

bvanhou opened this issue Jan 10, 2020 · 3 comments

Comments

@bvanhou
Copy link

bvanhou commented Jan 10, 2020

I have seen this error occur randomly a few times and working fine for weeks. I am unable to pin point the cause. Any Ideas? Have you seen this before?

Error: This socket has been ended by the other party
at TLSSocket.writeAfterFIN [as write] (net.js:396:12)
at MQTToTClient.writePacketToSocket (/usr/src/app/node_modules/instagram_mqtt/dist/mqtt/mqtt.client.js:179:21)(/usr/src/app/node_modules/instagram_mqtt/dist/mqtt/mqtt.client.js:160:22)
at MQTToTClient.startFlow (/usr/src/app/node_modules/instagram_mqtt/dist/mqtt/mqtt.client.js:96:22)
@Nerixyz
Copy link
Owner

Nerixyz commented Jan 10, 2020

Could you try this with the latest version and paste your log here?

@bvanhou
Copy link
Author

bvanhou commented Jan 13, 2020

Ok, I will try it! Ohh additionally, do you know how I could kill the client? So when certain conditions are met the realtime mqtt shutsdown. Currently I am just using ....

ig.realtime.emit('close');

@Nerixyz
Copy link
Owner

Nerixyz commented Apr 5, 2020

See #18

@Nerixyz Nerixyz closed this as completed Apr 5, 2020
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