Open tiagoafseixas opened 4 years ago
Greetings
By "we need to restart the server" you mean your OPC server?I'm trying to reproduce your issue and even though the same error messages appear the node eventually reconnects to the server.
There is a known issue related to previous connections and error messages. Sometimes when trying to reconnect (create a new server object) our server object, the old one is not fully erased and keeps trying to reconnect, which could explain those error messages.
Despite those messages, are you still capable of reading items from your OPC server?
Ty for your report
My choice of words was poor :)
What I meant is that we need to redeploy the flow in order to recover the connection. Once those errors appear we stop reading receiving information in our MQTT server so I am assuming that in fact the connector is not able to reestablish the connection to the OPC server.
Hello @tiagoafseixas, do you by chance have any news on this error / how you were able to solve this? It'd be great to hear back from you as we keep running into the same issue. Thanks
@smilingdwarf No, we had to implement log monitoring to restart the Node-Red flow when this error occurred, albeit lately it has not happened
@tiagoafseixas We are running into the same issue whenever our opc server drops out from a plc reset. Any chance you could share more about what you mean by log monitoring to restart? Thanks!
@tiagoafseixas We are running into the same issue whenever our opc server drops out from a plc reset. Any chance you could share more about what you mean by log monitoring to restart? Thanks!
@eyeblack42 We have an ELK stack monitoring logs and searching for the error message. Once it happens we are warned and we restart the server, but the problem still occurs.
Hi,
I have been running my OPC-Da connecter successfully for a few months, but everytime a connection is lost we need to restart the server.
At first we get the following message:
"Disconnected from the server - Unknown error!"
Followed by:
After these errors occur the connector keeps trying to connect and all we see is: