lucacalcaterra / risco-mqtt-bridge

Risco Alarm panel to MQTT Server Bridge
MIT License
25 stars 9 forks source link

Disconnected from cloud...relogin and init... #25

Closed mancioshell closed 5 years ago

mancioshell commented 5 years ago

Hi, thank you for your project.

I have cloned master branch of your github project. I have installed all npm dependencies, and i have started the app.

My username, password, pin and SelectedSiteId are correct, but application give me this error, and enter in an infinite loop:

07-09-2019 09:43:47 debug: Class Connection Constructor end 07-09-2019 09:43:48 info: Connected to MQTT Server 07-09-2019 09:43:48 debug: Logged...Response code is 302: OK 07-09-2019 09:43:49 debug: ...site and Pin Code sent...Response code is 302: OK 07-09-2019 09:43:50 debug: return null, overview empty! 07-09-2019 09:43:50 debug: newarmstatus emitted 07-09-2019 09:43:50 debug: no new status 07-09-2019 09:43:50 debug: Init function for getting data from Cloud completed: OK 07-09-2019 09:43:50 debug: polling started... 07-09-2019 09:44:00 debug: polling ... 07-09-2019 09:44:00 debug: return null, overview empty! 07-09-2019 09:44:00 debug: Polled...counter: 0 07-09-2019 09:44:00 warn: Disconnected from cloud...relogin and init...

I already tested this project before now in another raspberry (with home assistant) installation, and i never have got this type of error. Maybe, has been there any change in the cloud?

lucacalcaterra commented 5 years ago

Hi !

Some days ago I've updated the mom's dependencies but I noticed that something break all things... probably the axios library.

Later in the morning I'll check and update . I'll send you a msg to notify

Luca

Il Sab 7 Set 2019, 10:55 - notifications@github.com ha scritto:

Hi, thank you for your project.

I have cloned master branch of your github project. I have installed all npm dependencies, and i have started the app.

My username, password, pin and SelectedSiteId are correct, but application give me this error, and enter in an infinite loop:

07-09-2019 09:43:47 debug: Class Connection Constructor end 07-09-2019 09:43:48 info: Connected to MQTT Server 07-09-2019 09:43:48 debug: Logged...Response code is 302: OK 07-09-2019 09:43:49 debug: ...site and Pin Code sent...Response code is 302: OK 07-09-2019 09:43:50 debug: return null, overview empty! 07-09-2019 09:43:50 debug: newarmstatus emitted 07-09-2019 09:43:50 debug: no new status 07-09-2019 09:43:50 debug: Init function for getting data from Cloud completed: OK 07-09-2019 09:43:50 debug: polling started... 07-09-2019 09:44:00 debug: polling ... 07-09-2019 09:44:00 debug: return null, overview empty! 07-09-2019 09:44:00 debug: Polled...counter: 0 07-09-2019 09:44:00 warn: Disconnected from cloud...relogin and init...

I already tested this project before now in another raspberry (with home assistant) installation, and i never have got this type of error. Maybe, has been there any change in the cloud?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/25?email_source=notifications&email_token=AAGWZUOJUHTOPEE7ZZO3W4TQINUBLA5CNFSM4IUPMIHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJ6EQYA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGWZUL75D47YWCEUMD5H7TQINUBLANCNFSM4IUPMIHA .

mancioshell commented 5 years ago

Yes the issue disappeared if i use axios@0.18.0 instead of 0.19.0.

Thank you!

lucacalcaterra commented 5 years ago

Yes ... that's problem.

I've fixed version master branch.

Thanks !

Il giorno sab 7 set 2019 alle ore 15:24 - notifications@github.com ha scritto:

Yes the issue disappeared if i use axios@0.18.0 instead of 0.19.0.

Thank you!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/25?email_source=notifications&email_token=AAGWZULX4GLI6P3JTIWG2VLQIOTQPA5CNFSM4IUPMIHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6EYYZI#issuecomment-529108069, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGWZUKHJN5JJ3WJLDLSWHDQIOTQPANCNFSM4IUPMIHA .