Closed ZhechunZhou closed 4 years ago
I think you should start the websocker_server with the id alice.
alice = WebsocketClientWorker(id="alice", port=8777, **kwargs_websocket_alice)
- here you are trying to connect to alice, but from what you say you created the server with the id bob:
python3 run_websocket_server.py --port 8778 --id bob
Could you try with bob?
I don't think that is the reason. I tired to connect the both servers. Even after I use only one raspberry pi with bob, the problem remains.
Sorry for the late response.
Could you write what command you use to run the server on the raspberry PI?
Did you try with the following?
python run_websocket_server.py --port <port> --id <id>
This issue has been marked stale because it has been open 30 days with no activity. Leave a comment or remove the stale
label to unmark it. Otherwise, this will be closed in 7 days.
Hi I was trying to use raspberry pis to do federated machine learning I run python3 run_websocket_server.py --port 8778 --id bob --host on each pi
and Federated Recurrent Neural Network.ipynb on my laptop
In 3. Step: Model - Recurrent Neural Network
raise an Error gaierror: [Errno 8] nodename nor servname provided, or not known WebSocketAddressException: [Errno 8] nodename nor servname provided, or not known
Do you mind to help me out?