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: 349
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: 1919

Currently Online:
8 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: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1