Open cerebrate opened 7 years ago
Hi,
I saw this once but was not able to find out the reason for it. The disconnect is triggered by the apcupsd daemon, even if no data is send.
Redeploying the node helped for me.
I'll try to find out the reason.
Same here: Connected to localhost:3551 Disconnected. Tries to reconnect in 1.5 seconds. Any solution?
I have the same issue since I upgraded the apcupsd to 3.14.14-0.3
I have the same issue. After deployment I get the response (statusJson in my case) but after 15 seconds, the APC node throws an error "Disconnected. Tries to reconnect in 1.5 seconds." which repeats every 30 seconds. Biggest problem is that after this, any statusJson request gets ignored and no more data is retrieved from the APC NIS server, basically rendering the component useless...
Using latest version of node-red, nodejs and apcaccess
same here... not sure what is going on exactly.
Running: Ubuntu x64, kernel 4.15.0-36-generic apcupsd 3.14.14 node-red 0.19.5
If you make sure you send a request every 10 seconds or so it never times out.
I note this isn't closed, so can I suggest making the disconnection message optional? It really just clogs up the debug log. Could the disconnect message appear on a 2nd output for those who want it?
I am having the same issue, is there a work around for this?
Using the node-red-contrib-nut-ups https://flows.nodered.org/node/node-red-contrib-nut-ups
Working great no problems.
Same here... @mapero
Just in case somebody needs a alternative... i built a flow to get the data from console if your UPS is connected locally: https://flows.nodered.org/flow/fc403e2cd768cc1d8cbe58e99f941eed
Same issue here :(
msg : string[48] "Disconnected. Tries to reconnect in 1.5 seconds."
same issue here on an unRAID system
If you make sure you send a request every 10 seconds or so it never times out.
useful suggestion, it works
While I'm using the apcaccess node successfully against my apcupsd installation (when connected), even when not accessed it disconnects from and reconnects to the apcupsd on a more or less continuous basis. Logs as follows:
I haven't seen this with any other tools accessing the apcupsd instance. Any thoughts?