Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregation server cannot close sessions to servers #26

Open
xky0007 opened this issue Aug 11, 2020 · 3 comments
Open

Aggregation server cannot close sessions to servers #26

xky0007 opened this issue Aug 11, 2020 · 3 comments
Labels
bug Something isn't working enhancement New feature or request up-for-grabs Help wanted! We need a volunteer to implement this enhancement!

Comments

@xky0007
Copy link

xky0007 commented Aug 11, 2020

I'm following the tutorial for aggregation server here.

After I disconnect from aggregation client to aggregation server. The sessions between aggregation server and sample server are still alive. The clients(I guess there are clients inside aggregation server to connect to real server for aggregation) inside the aggregation server won't close those sessions automatically.

Here are my steps:

  1. Start UA Sample Server
  2. Start QuickStart Aggregation Server
  3. Start QuickStart Aggregation Client
  4. Connect to QuickStart Aggregation Server from QuickStart Aggregation Client
  5. Disconnect to QuickStart Aggregation Server from QuickStart Aggregation Client

image

@AlinMoldovean AlinMoldovean added the question Further information is requested label Aug 12, 2020
@AlinMoldovean
Copy link
Contributor

@xky0007 ,

Aggregation server does not close the connections to underlying OPC UA servers when clients connected to it are closing a session.
That is the intended behavior.

@xky0007
Copy link
Author

xky0007 commented Aug 14, 2020

@xky0007 ,

Aggregation server does not close the connections to underlying OPC UA servers when clients connected to it are closing a session.
That is the intended behavior.

Thanks, @AlinMoldovean .

Is there any detailed docs about how aggregate server is working in step or the architecture of server (eg. reverse proxy, doesn't close underlying sessions by default, etc.). It will be very helpful.

@mregen
Copy link
Contributor

mregen commented Aug 14, 2020

Hi @xky0007, there are various updates on the way to improve the aggregation server with reverse connect and maybe more. The current implementation uses two types of connections, for each server one connection to collect the metadata, then for each connected client a sessoin with user impersonation of the client to each server. The latter type of connections should be closed after a session timeout or when a client disconnects. There might be an issue but it needs some investigation.

@mregen mregen added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed and removed question Further information is requested labels Sep 12, 2021
@mregen mregen added up-for-grabs Help wanted! We need a volunteer to implement this enhancement! and removed help wanted Extra attention is needed labels Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request up-for-grabs Help wanted! We need a volunteer to implement this enhancement!
Projects
None yet
Development

No branches or pull requests

3 participants