- Posts: 22
- Thank you received: 0
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.
Connecting to a PLC with anonymous users turned off
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.
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Are you getting the same results as I reported?
If so, do you expect a different behavior from the software, and what is the behavior you expect?
Note that in my test, when the anonymous logon is disabled in Kepware, I can *not* connect initially. Is that a difference from your observations?
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I am confused here. The repro class you sent does not contain any username/password authentication from the client side.
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.
Best regards
Please Log in or Create an account to join the conversation.
