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

Session is re-established after being closed in Clients #1390

Closed
fuzzypixelz opened this issue Sep 10, 2024 · 0 comments · Fixed by #1391
Closed

Session is re-established after being closed in Clients #1390

fuzzypixelz opened this issue Sep 10, 2024 · 0 comments · Fixed by #1391
Labels
bug Something isn't working

Comments

@fuzzypixelz
Copy link
Member

Describe the bug

If a Client closes a Session, the Runtime orchestrator is still active and tries to re-establish the Session.

To reproduce

  1. Open a Session in a Client
  2. Closes the Session
Click to unfold Client logs

2024-09-10T07:37:29.791263Z TRACE main ThreadId(01) zenoh::api::session: close()
2024-09-10T07:37:29.791295Z TRACE main ThreadId(01) zenoh::net::runtime: Runtime::close())
2024-09-10T07:37:29.791396Z TRACE main ThreadId(01) zenoh_transport::unicast::manager: TransportManagerUnicast::clear())
2024-09-10T07:37:29.791415Z TRACE main ThreadId(01) zenoh_transport::unicast::universal::transport: Closing transport with peer: 2df755fa8329e739bc0c1d3f72201247
2024-09-10T07:37:29.791435Z DEBUG main ThreadId(01) zenoh_transport::unicast::universal::transport: [c] Closing transport with peer: 2df755fa8329e739bc0c1d3f72201247
2024-09-10T07:37:29.791447Z DEBUG main ThreadId(01) zenoh::net::routing::dispatcher::tables: Close Face{1, 2df755fa8329e739bc0c1d3f72201247}
2024-09-10T07:37:29.791511Z TRACE main ThreadId(01) zenoh_transport::unicast::manager: Can not delete the transport of peer: 2df755fa8329e739bc0c1d3f72201247 at zenoh/io/zenoh-transport/src/unicast/manager.rs:732.
2024-09-10T07:37:29.791523Z TRACE main ThreadId(01) zenoh_transport::unicast::universal::link: tcp/127.0.0.1:36330 => tcp/127.0.0.1:9000: closing
2024-09-10T07:37:29.791593Z TRACE main ThreadId(01) zenoh_link_tcp::unicast: Closing TCP link: 127.0.0.1:36330 => 127.0.0.1:9000
2024-09-10T07:37:29.791577Z DEBUG net-0 ThreadId(03) zenoh::net::runtime::orchestrator: Try to connect: tcp/localhost:9000: global timeout: 0ns, retry: ConnectionRetryConf { exit_on_failure: true, period_init_ms: 1000, period_max_ms: 4000, period_increase_factor: 2.0 }
2024-09-10T07:37:29.792011Z TRACE net-0 ThreadId(03) zenoh_transport::unicast::establishment::open: Establishment Open InitSyn: tcp/127.0.0.1:33238 => tcp/127.0.0.1:9000. Sent: TransportMessage { body: InitSyn(InitSyn { version: 9, whatami: Client, zid: c, resolution: Resolution(10), batch_size: 65480, ext_qos: Some(ZExtUnit { Id: 1, Mandatory: false, Encoding: "Unit" }), ext_auth: None, ext_mlink: None, ext_lowlatency: None, ext_compression: None }) }
2024-09-10T07:37:29.792158Z DEBUG main ThreadId(01) zenoh::net::routing::dispatcher::tables: Close Face{0, c}

System info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant