

18:02, EEST

December 12, 2018

I am trying to connect to a PLC(ABB PM5650) OPC server using security mode “NONE” and “Anonymous” authentification but the cleint failed to connect by displaying “Bad_IdentityTokenRejected:Anonymous UserTokenType is not supported”. I used the simple client code from the samples too, it throws the same error.
I tried to connect using the UaExpert Client as an “Anonymous” client with “NONE” security policy and it connects.
I tried to connect with the same code but the older version of the SDK and it connects.
How could I solve the problem in SDK 4.0?
FYI: I tested with a Siemens S7 PLC OPC server and it works with the same code.
Thanks
9:39, EEST

April 3, 2012

Hi,
Most likely this happens due to a bug, which we fixed on 4.0.2 (https://downloads.prosysopc.com/opcua/Prosys_OPC_UA_SDK_for_Java_4_Release_Notes.html#version-4-0-2). Therefore please try with that and report if it didn’t help.
Most Users Ever Online: 1919
Currently Online:
24 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 803
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1538
Posts: 6493
Newest Members:
rebekahfortner3, Stevennox, qfpalfie08, brittny89u, LinwoodBup, isabellabeeton2, ladonnacdv, DarwinVew, betseymitford95, HowardtitModerators: Jouni Aro: 1027, Pyry: 1, Petri: 0, Bjarne Boström: 1037, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0
Administrators: admin: 1