Professional Communication
Software 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 or issues. You do not have to own a commercial license in order to use the OPC Labs supportOur team is actively monitoring the forums, and provides replies as soon as possible.

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.

Connecting to a PLC with anonymous users turned off

More
25 Nov 2025 17:00 #14493 by support
I cannot answer whether I am able to replicate the issue on my end, because I still do not understand what the issue is. Instead of keep saying that you have described it, please step back, assume that nothing has been said. and explain it from the beginning. Apparently there are some parts of the previous posts that no longer apply, and I do not know which they are, so this is the only way to get back on tracks.

I have described what happens what I run your project, I repeat it here for clarity:

When I run it as is, with "Allow anonymous login" in Kepware turned on, it successfuly connects, and after Reinitialize, it successfuly reconnects, which is expected.
When I run it as is, with "Allow anonymous login" in Kepware turned off, it always fails to connect (with BadUserAccessDenied), which is also expected.


When it is connected and I do not inject any disruptions (such as Reinitialize), it keeps giving me updates, and it stays connected.

Best regards
 

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

More
25 Nov 2025 16:46 #14492 by Cwardltu
When I made the the stand a lone project for support I noticed that the issue persists even allow anonymous users turned on. Still the same issue.

There is no need for confusion, I have provided the sample project and opf file to replicate the issue as well as my personal logs; what I see when i start that project and reinitialize.

Could you please share what you are getting when you start that project then reinitialize kepware? Are you able to replicate the issue on your end? 

 

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

More
25 Nov 2025 16:21 #14491 by support
So we are working on a compeltely different issue than reported originally? 
The original report was about not being able to reconnect after you manually do Reinitialize on the server. There was no mentioning that is disconnects at other times.
I am VERY confused.
 

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

More
25 Nov 2025 16:16 #14490 by Cwardltu
kep : 6.7.1046.0
opcLabs: 5.82.423

It consistently connects and reconnects within roughly 1 or 2 seconds. the log i posted is and example of 1 cycle of a disconnection and reconnection.

Were you able to reproduce with the code I provided? Can you share what your log displays?

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

More
25 Nov 2025 15:55 #14489 by support
What do you mean by "it connects then disconnects. the connection is never maintained. ". Are you saying that your code stops getting data all by itself, without you doing Reinitialize on the server side? If so, how often does that happen? Is that random, or regular?

Regards
 

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

More
25 Nov 2025 15:43 #14488 by support
Which version of QuickOPCm and of KepServerEX, are you using please?

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

More
25 Nov 2025 13:23 #14487 by Cwardltu
Yes, it connects then disconnects. the connection is never maintained. 

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

More
25 Nov 2025 10:21 - 25 Nov 2025 10:21 #14486 by support
Hello.

But I can see in your screenshot that around 11:55:49.286, you start getting data updates again, and therefore the client has successfully reconnected.

But - maybe - you are complaining about the fact that the lines before, which come from the connection monitoring service, end with "Connected" state with a failure indication. Is that what you mean by saying that the reconnect has failed?

Best regards
 
Last edit: 25 Nov 2025 10:21 by support.

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

More
24 Nov 2025 16:59 #14485 by Cwardltu
Here is the behavior I am observing. the expectation is that it would reconnect and hold on to that connection.
Attachments:

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

More
24 Nov 2025 16:53 #14484 by Cwardltu
No from my end i am running the happy path. allow anon user turned on. I connect initially. i reinitialize. then it does not allow the reconnect..

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

Moderators: supportvaclav.zaloudek
Time to create page: 0.162 seconds