14:31, EET
February 10, 2021
Hello everyone,
I’m using Prosys Simulation Server and OPC UA Foundation ANSI C stack to connect to the server with anonymous user.
I can activate session, but when I want to read something from the node, it returns me in the responseHeader ServiceResult status code 0x80260000 (The session was closed by the client.)
Please can you give me advice about this ?
12:55, EET
April 3, 2012
Hi,
My advice is to stop using a “legacy stack”, which is pretty much discontinued completely by the OPC Foundation at this point and use a proper SDK-level library/framework for your OPC UA needs. The readme in https://github.com/OPCFoundation/UA-AnsiC-Legacy says “This repository (https://github.com/OPCFoundation/UA-AnsiC-Legacy) will be closed end of February 2021.”
Generally speaking, you are completely on your own if you use a bare “stack” level implementation. Using those requires expertise in OPC UA and even with that they usually simply lack features to deal with the every growing feature set which OPC Foundation is continously increasing.
That being said, the error code in the full form is Bad_SessionClosed, 0x80260000, “The session was closed by the client.”. You can check if the simulation server logs indicate anything, they are written by default /.prosysopc/prosys-opc-ua-simulation-server/log/.
Do you mean by “activate session”, that you made both CreateSession and ActivateSession calls with both succeeding, and you are using the authentication token returned in CreateSessionResponse in the ActivateSession and all further calls? Failing to do these would be one cause, which would been seen by the client by that error code. Typically all that is implemented by an SDK-level framework internally.
Most Users Ever Online: 1919
Currently Online:
42 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_galleryModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1