linkfy / Tools-for-Instagram

Automation scripts for Instagram
MIT License
499 stars 76 forks source link

Online Mode doesn't turn off #24

Open Oyetomi opened 4 years ago

Oyetomi commented 4 years ago

Online Mode configuration in accounts folder doesn't turn off even when onlineMode=false, and it causes mqttqt error

throw er; 1/ Unhandled 'error' event
Er ror: This socket has been ended by the other party
at MQTTOTClient.writePacket ToSocket (/ root/personal/Tools -for - Instagram/nodemodu les/instagram_mqtt/dist/n
qtt/mqtt.Client .js:179:21)
at Timeout.onTimeout (/root/persona l/Tools-for -Instagram/node_modules/instagram_mqtt/dist/mqttot/mqttot.c
Lient.js:25:18)
Emitted_'error" _event on RealtimeClient instance_at:
at RealtimeClient. emitError (/root/personal/Tools-for-Instagram/node_modules/instagram_mqtt/dist/realtime/
linkfy commented 4 years ago

Maybe its detecting a double connection and it fails, working on it. I'm trying to simulate the scenario.

Oyetomi commented 4 years ago

Alright, thank you

On Fri, 29 May 2020, 10:35 am linkfy, notifications@github.com wrote:

Maybe its detecting a double connection and it fails, working on it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linkfy/Tools-for-Instagram/issues/24#issuecomment-635876738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB4NET5XHBHPSEZOZNMZ4DRT56WDANCNFSM4M4ZCKSA .

linkfy commented 4 years ago

Update Status: Looks like the error is only when using accounts folder, not happening on .env files

Oyetomi commented 4 years ago

Update Status: Looks like the error is only when using accounts folder, not happening on .env files

I'm using the old login.js file, works well without onlineMode and mqtt