-
Notifications
You must be signed in to change notification settings - Fork 11
The server has stopped and cannot process any requests #1
Comments
@gariammariag , Are you using the latest version of code? If not, which version were you using? |
@dschowta Yes, now I'm using the latest version of the code but before I had a previous version and I kept getting the same error. I cloned the repository and I added the .nar in the Nifi library. I am using the GetOPCData processor that uses the StandardOPCUAService to connect to the OPC-UA server. But after a few hours, I get this error and I have to restart the StandardOPCUAService again in order to receive the data again. The OPC-UA server is running all the time because I subscribed with an opcua-client to some variables and I checked that it is activated. |
@gariammariag , So far I could not find a reason for this issue. I could see that the line number of the exception did not match the latest line number (even in the history). Do you have some custom changes? |
@dschowta Yes, I did some custom changes because this processor only lists the ids of the variables, not the names of the variables, so I changed the service code (StandardOPCUAService class) to add the names of the variables in the file of the list of variables (browseNodeIteratively method) and then I read the names of the variables in this list changing the "writeCsv" method of the StandardOPCUAService class. I will try this bundle without any custom change to check if I receive the same error. |
I tried to read data with the bundle without any custom changes and after some time I still get the same error. So the changes can't be the cause of the error. Now I have a Nifi docker with the modified bundle (A) and another unmodified Nifi docker (B). I discovered that the error appears at the same time in each Nifi (A and B). If I restart one of them I get the data in that Nifi but not in the other one. What could be going on? |
I have imported the OPCUA bundle in Nifi and the GetOPCData processor reads well for more than a day, but then I get this error:
If I restart the StandardOPCUAService using Nifi, I can receive the data again. How can I solve this issue? How can I restart the service automatically?
The text was updated successfully, but these errors were encountered: