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
No suitable UserTokenPolicy found for the possible endpoints (UA_STATUSCODE_BADINTERNALERROR)
October 2, 2020
16:22, EEST
Avatar
richN9177
New Member
Members
Forum Posts: 2
Member Since:
October 1, 2020
sp_UserOfflineSmall Offline

Hi

I’ve written an OPC UA Client and i’m using ProSys OPC UA Simulator Server to test it. Running in Anonymous mode my client connects and i can browse the server. however when I configure my client to use a Username and Password it fails with No Suitable UserTokenPolicy found for the possible endPoints. I’ve debugged it and it appears that http://opcfoundation.org/UA/Se…..olicy#None is not in the endpoints userIdentityTokens array.

I’ve set up a user in The OPC UA Simulator Username & Passord box is ticked
Security Modes = None
Security Policies = All are ticked

Any help would be appreciated .

Thanks

October 5, 2020
13:57, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 319
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

Which OPC UA SDK have you used to implement your Client application?

October 5, 2020
14:30, EEST
Avatar
richN9177
New Member
Members
Forum Posts: 2
Member Since:
October 1, 2020
sp_UserOfflineSmall Offline

Thank you for responding.

I’m using Open62541 libraries. After further testing I can connect using the username and password, (proSys connection log confirms this) but only when anonymous is set in the user tab in ProSys. When connecting using UaExpert I don’t need to do this. One thing i’ve noticed is that the UaExpert sets the ClientIdentity whereas mine isn’t set and at the moment I can’t see where I can set this in Open62541.

Thanks

October 5, 2020
16:02, EEST
Avatar
Jimmy Ni
Moderator
Members

Moderators
Forum Posts: 26
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline

Hello,
Sorry that we don’t know much about Open62541, as it’s an open source software which we haven’t tested. Probably, you are missing some parameter or you need to create a step somewhere to make an encrypted password version of the token. This is something on stack level and as a developer, you shouldn’t have to be concerned about it. We have a Ansi C based OPC UA SDK with proper APIs that take care of stack level functions. If you’d like to try the free eval edition, please contact sales@prosysopc.com.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 75

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 708

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1465

Posts: 6252

Newest Members:

christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer, shanonhumphreys, KupimotoblokfuB, tamhollander5, paulinafcf, bridgette18l

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

Administrators: admin: 1