15:39, EEST
June 1, 2022
Hello,
I’m currently working on a problem that an OPC UA client which has been implemented with the SDK Version ua-client-server-sdk-4.5.8-1468 is not able to connect to an
OPC UA server (Siemens SinumerikServer / Software Version 03.01.02.00). I’ve already checked the plc configuration and there’s no rejection of the certificate or something similar. The service is also definitely using the correct authentification data but unfortunately it still doesn’t connect to the server while logging the following information in its log file:
caused by:
com.prosysopc.ua.stack.common.ServiceFaultException: ServiceFault [ResponseHeader=”ResponseHeader [Timestamp=”07/08/22 12:16:47.5761468 GMT”, RequestHandle=”0″, ServiceResult=”Bad_UserAccessDenied (0x801F0000) “User does not have permission to perform the requested operation.””, ServiceDiagnostics=”Diagnostic Info:
“, StringTable=”[]”, AdditionalHeader=”null”]”]
Thanks a lot in advance for your helpful comments regarding this topic!
9:46, EEST
December 21, 2011
As the error indicates, you don’t have access to that service with your user account. Are you using Anonymous user or UserName and Password? Check out which ServiceRequest this is, for example with Wireshark, and find out from the server which user account you need to use to be able to access it.
9:48, EEST
December 21, 2011
12:42, EEST
June 1, 2022
17:30, EEST
December 21, 2011
OK, so I assume you have used UaClient.setUserIdentity(userName, password), then.
Could you verify the functionality with Wireshark as instructed in this article and preferably compare the logs with the communication of the other client. Maybe that helps you to figure out what you are doing differently.
If you can’t figure out yourself, you can send the logs to our support by email.
Most Users Ever Online: 1919
Currently Online:
14 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: 727
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1