wandb: Network error (ConnectionError), entering retry loop.
I started docker on a server, set ports, and successfully open the web page (http://localhost:8080), and then just tried to run simple code in jupyter notebook:
import wandb
wandb.init(project='test_project', entity='neeek')
but got an error: wandb: Network error (ConnectionError), entering retry loop. Why do I need a network if I run locally?
The notebook needs to send metrics over the network to the wandb server running on localhost:8080. This means the notebook must be running on the same machine as the local wandb server. If you ran wandb local on that machine it will be configured to talk to the server on localhost.
If the jupyter server is running from within docker you would need to configure that docker instance to talk to the server which can be tricky.
Usually customers will run a local server on a dedicated machine and put it behind DNS and a load balancer. Then you can run wandb login --host=https://my server.net to configure other machines to talk to it.
Can you share more about your usecase and why our hosted service won't work for you?