Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

error timeout app not restart #10

Open
johnx102 opened this issue May 27, 2020 · 1 comment
Open

error timeout app not restart #10

johnx102 opened this issue May 27, 2020 · 1 comment

Comments

@johnx102
Copy link

johnx102 commented May 27, 2020

Hi, thanks for you're work.
i have a little problem so I don't find way to solve.
I launch the bridge with pm2 , but sometime program stop , but not crash so pm2 cannot restart it.
look like timeout problem, I show you the log .

0|meross2d | TypeError: Cannot read property 'ability' of undefined
0|meross2d | at Object.dev.getSystemAbilities [as callback] (/home/pi/Meross2Domoticz/meross2domoticz.js:247:28)
0|meross2d | at Timeout.waitingMessageIds.(anonymous function).timeout.setTimeout [as _onTimeout] (/home/pi/Meross2Domoticz/node_modules/meross-cloud/index.js:333:55)
0|meross2d | at ontimeout (timers.js:475:11)
0|meross2d | at tryOnTimeout (timers.js:310:5)
0|meross2d | at Timer.listOnTimeout (timers.js:270:5)

Thanks for you're time , I hope you can help me.

@Mikado8231
Copy link

Hello,

I updated locally the delay of the timeout from 20000 to 40000 in the meross-cloud code.
https://github.com/Apollon77/meross-cloud/blob/c7cbd6be3333f3ad8e4ca218f8cd1a1b8a201b01/index.js#L337

For me, now it works correctly.
Regards

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

No branches or pull requests

2 participants