You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a server running with the parameters auto_register=True.
a basic client connecting by services, just to check the situation on the registry
running the basic service registry rpyc_registry.py without any options.
Steps to reproduce:
Run the server with python rpyc_test_serv.py
Run the registry with rpyc_registry.py
Send KeyboardInterrupt to the server to stop him.
Run the client once with python rpyc_test_cli.py
Expected result:
It should close properly and remove itself from the registry.
Client show : no servers exposing 'foo' were found
Actual result :
The server is still present in the registry.
Client shows : All services are down: (('XXX.XXX.X.XX', 44675),)
The problematic methods are close() and _register() .
When registering, _register() set self.auto_register to False.
But then close() use it to check if it should unregister or not. Since it has False as value, it skip unregistering.
comrumino
added
Done
The issue discussion is exhausted and is closed w/ comment
and removed
To Start
Description reviewed and a maintainer needs "to start" triage
labels
May 2, 2021
Hello,
I have a minimal setup with :
auto_register=True
.rpyc_registry.py
without any options.Steps to reproduce:
python rpyc_test_serv.py
rpyc_registry.py
python rpyc_test_cli.py
Expected result:
It should close properly and remove itself from the registry.
Client show :
no servers exposing 'foo' were found
Actual result :
The server is still present in the registry.
Client shows :
All services are down: (('XXX.XXX.X.XX', 44675),)
The problematic methods are
close()
and_register()
.When registering,
_register()
setself.auto_register
toFalse
.But then
close()
use it to check if it should unregister or not. Since it hasFalse
as value, it skip unregistering.Environment
Minimal example
Server
rpyc_test_serv.py
:Client
rpyc_test_cli.py
:The text was updated successfully, but these errors were encountered: