-
Notifications
You must be signed in to change notification settings - Fork 939
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
Cannot reconnect Supernode to Superlink when using TLS #4844
Comments
Thanks for reporting this @d0uwe, we're looking into it |
@d0uwe we found the issue that caused this in Flower 1.14 and are happy to report that it's already fixed on Would you mind testing this with |
Hi @danieljanes, Thanks for working on this!
When I only swap the virtual environment to one where I have installed flower nightly('1.15.0.dev20250129') (on both the server and my laptop), I get the following output on the superlink:
The And the following error on the supernode:
I also tried resolving the warning regarding the auth-superlink-private-key and public-key, but this didn't change things. Hope this helps! |
N.B: I am getting the same client error with (Supernode command is Downgrading the superlink to |
Describe the bug
I am testing with a remote superlink, with TLS and authentication enabled. When I connect a supernode to the supernode, all works well. When I stop the supernode, the superlink shows a log entry that the node is deleted. When I start the supernode again, I receive the below error, however, it does connect to the superlink to some degree, as it does show regular pings afterwards. When I submit an experiment to the Superlink, this experiment will never start on that supernode that received the below error. I received the below error message on both my laptop (mac) and remote machine (linux) when trying to reconnect the supernode.
Restarting the superlink is a solution, but then all supernodes need to be reconnected too, which can be inconvenient.
I'm using
flwr
1.14.0 on all systems.Steps/Code to Reproduce
Step 1: Start superlink, with root certificate and authentication keys
Step 2: Start supernode to superlink that connects correctly
Step 3: Stop the supernode (ctrl + c)
Step 4: Wait anywhere between some seconds to 30 minutes
Step 5: Start the supernode again
Step 6: the error appears.
Expected Results
The supernode succesfully connects to the superlink again
Actual Results
The text was updated successfully, but these errors were encountered: