22:31, EET
February 12, 2013
When I attempt to connect UaExpert to my OPC Server, UaExpert logs “Connecting failed with error ‘BadServiceUnsupported’. Coincidentally, my OPC Server logs “ERROR Service CreateSessionRequest is not supported”. On the way to getting those errors, I am noticing that UaExpert is logging the ApplicationUri as ‘urn::’ whereas my OPC Server logs the ApplicationUri as ‘urn::UA:’. Clearly, they are different. UaExpert and my OPC server seem to be talking, but they are not on the same page. Please assist. Thank you.
Kris
7:34, EET
December 21, 2011
This indicates that your endpointUrl is not correct, so you get a connection to the server, but it does not handle your requests.
You can ensure that you get the correct endpoint by adding the url (or just the beginning, e.g. opc.tcp://localhost:52520, (replace 52520 with your the server port)) to the Custom Discovery part of UaExpert.
Or just copy one of the URLs your server reports to the console when it starts (if you have logging enabled).
13:58, EET
February 12, 2013
Thanks for your response Jouni. I was able to connect this morning. Whereas I had been using opc.tcp://localhost:52520 as the Endpoint URL, I tried using opc.tcp://localhost:52520/OPCUA/OldiOPCServer instead. The latter worked. My OPC Server had logged …
02/13/2013 08:27:21.566 INFO Server endpoint bound to opc.tcp://localhost:52520/OPCUA/OldiOPCServer
02/13/2013 08:27:21.567 INFO Discovery endpoint bound to opc.tcp://localhost:52520
… as well as several other possibilities. As you suggested, I just copied the appropriate info from the log and it worked. Thanks again!
Most Users Ever Online: 1919
Currently Online:
16 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: 738
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
mickey21654, donnyredmond08, keesha4235, cheribruce, candacekolb4, Garmcrypto7Zof, calebhardison, susannahdingle7, inilarythikibia, rickykennionModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1