-
-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node opcua 2.2.0 version: Cannot find ANONYMOUS user token policy in end point description #693
Comments
Is there a sample program where UserIdentity ( AnonymousIdentity | UserIdentityInfoX509 | UserIdentityInfoUserName) options implemented ? |
@samminen Please provide a complete ts script in a gist that reproduces the issue. |
Hi. I'm having the same issue, using the simple client tutorial againsta a Kepware V6 server on a different server. Firewall is open and I've configured the endpoint to accept security None. It fails when creating the session. |
Found a similar issue when using "node-red-contrib-opcua" breaks when it was upgraded to use node-opcua 2.4.4. We had to downgrade to use version prior to that node-opcua version, Kepware connects fine using anonymous security None. Have not tested security levels yet on newer versions. Usually "No Security" is chosen to first get connection for remote clients. This busted while also using LOCAL Kepware Server. |
Can you please run this gist to extract the endpoints exposed by your server
This will output the exposed endpoints of your server such as
What is the result on your side ? |
@rafaturtle @youngkzy For reference Kepware may prevent unsecure connection and in this situation the client mus use secure connection and its certificate must be trusted on Kepware side. Mika explained it very well in mikakaraila/node-red-contrib-opcua#151. @samminen , please provide additional information to help us understand your specific problem ? |
@samminen I think that this problem has faded away on your side . Let closed, |
This issue appeared for me recently with KEPServerEX v6.10 and thought might be useful to share here. I added issue details with expected fix on server side. This is not node issue. |
This error is due to anonymous login being disabled by default in Kepserver. To allow anonymous login: Edit -> Properties -> OPC UA -> Allow Anonymous Login -> Yes I was facing the same issue and it was resolved after anonymous login was enabled. |
I'm submitting a ... (check one with "x")
Current behavior
Expected behavior
When I create subscriptions using Node Opcua 2.2.0 version, I see above "Cannot find ANONYMOUS user token policy in end point description" issue.
Minimal reproduction of the problem with instructions
...
gist:
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
( ) my request is related to node-opcua acting as a OPCUA CLIENT
( ) my request is related to node-opcua acting as a OPCUA SERVER
( ) I have installed node-opcua from source ( using git clone)
( ) I have installed node-opcua as a package ( using npm install )
( ) I am using an application that uses node-opcua
Device: _____
OS version: _WIN10
Description of the other OPCUA system I am trying to connect to:
node-opcua version: :
node --version
=2.2.0The text was updated successfully, but these errors were encountered: