Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Bad_IdentityTokenRejected- Cleint failed to connect -JAVA SDK 4.0
May 15, 2019
18:02, EEST
Avatar
swaj
Member
Members
Forum Posts: 6
Member Since:
December 12, 2018
sp_UserOfflineSmall Offline

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

May 16, 2019
9:39, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

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.

May 17, 2019
11:20, EEST
Avatar
swaj
Member
Members
Forum Posts: 6
Member Since:
December 12, 2018
sp_UserOfflineSmall Offline

Hello
I tried the new version of the SDK to connect with the ABB PM5650 OPC server with “NONE” and “Anonymous”. It connnects !!.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 680

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1