Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Opc ua server reconnection failure

More
19 Dec 2024 11:19 #13336 by Ureña
Hello, i wil check it at 6 January
Thanks you, i will come back

Regards,

Please Log in or Create an account to join the conversation.

More
14 Dec 2024 11:05 #13325 by support
Hello,
we need to obtain some more information.

Can you please instrument your code with storing EasyUAClient log entries into a file, rerun the test, and collect the information?

See
- opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...PC%20UA%20event%20logging.html

Thank you

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 08:10 #13323 by Ureña
I did it now, but the same happens

Please Log in or Create an account to join the conversation.

More
12 Dec 2024 19:17 #13322 by support
Hello.

Yes, this is indeed weird. Before further investigation, the first thing to do is to upgrade to the latest QuickOPC version (5.81), rebuild, and retest.

Best regards

Please Log in or Create an account to join the conversation.

More
12 Dec 2024 09:13 #13320 by Ureña
Hello

I'm using a service application build with .NET 6.0 and 'm using QuickOPC 5.80.347 version.
This service application monitore and opc item, and then when it changes reads several opc items.
The issue is when I start the opc server and then I run my application all works fine.Then I stop the opc server, the application through the faliure of:
OPC UA service result - {BadSessionClosed}. BadSessionClosed.
OPC-UA client session is not available when connecting the client subscription.
UA SDK error (Opc.UA.ServiceResult=0x80AE0000) in 'static Session.Create'. OPC UA service result - {BadConnectionClosed}. The network connection has been closed.
Then when I start again the opc server I obtain the same error and not reconnect automatically.
This happens when i have the application published out of visual studio but if i run the application in the visual studio en debug or release mode it reconnects so it's what i don't understand, the code is the same for published application or running in the visual studio

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.049 seconds