# Wandb: Network error (ConnectionError), entering retry loop

**URL:** <https://community.wandb.ai/t/wandb-network-error-connectionerror-entering-retry-loop/3789>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [February 1, 2023, 12:18pm UTC](https://community.wandb.ai/t/wandb-network-error-connectionerror-entering-retry-loop/3789 "2023-02-01T12:18:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashi7679](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@shashi7679](https://community.wandb.ai/u/shashi7679)\
**Post date:** [February 1, 2023, 12:18pm UTC](https://community.wandb.ai/t/wandb-network-error-connectionerror-entering-retry-loop/3789/1 "2023-02-01T12:18:02Z")

</div>

I am using wandb version 0.12.21… My code was working fine till yesterday, but I am getting this error…

wandb: Currently logged in as: shashi7679. Use `wandb login --relogin` to force relogin  
wandb: Appending key for [api.wandb.ai](http://api.wandb.ai) to your netrc file: /root/.netrc  
wandb: Network error (ConnectionError), entering retry loop.

Problem at: train.py 333   
Process wandb\_internal:  
Traceback (most recent call last):  
File “train.py”, line 333, in   
Traceback (most recent call last):  
File “/opt/conda/lib/python3.8/multiprocessing/process.py”, line 315, in \_bootstrap  
self.run()  
File “/opt/conda/lib/python3.8/multiprocessing/process.py”, line 108, in run  
self.\_target(\*self.\_args, \*\*self.\_kwargs)  
File “/opt/conda/lib/python3.8/site-packages/wandb/sdk/internal/internal.py”, line 160, in wandb\_internal  
thread.join()  
File “/opt/conda/lib/python3.8/threading.py”, line 1011, in join  
self.\_wait\_for\_tstate\_lock()  
File “/opt/conda/lib/python3.8/threading.py”, line 1027, in \_wait\_for\_tstate\_lock  
elif lock.acquire(block, timeout):  
KeyboardInterrupt  
wandb.init(project=‘Toon-GAN’,config=hyper\_parameters)  
File “/opt/conda/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 1065, in init  
raise e  
File “/opt/conda/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 1043, in init  
run = wi.init()  
File “/opt/conda/lib/python3.8/site-packages/wandb/sdk/wandb\_init.py”, line 689, in init  
backend.cleanup()  
File “/opt/conda/lib/python3.8/site-packages/wandb/sdk/backend/backend.py”, line 248, in cleanup  
self.wandb\_process.join()  
File “/opt/conda/lib/python3.8/multiprocessing/process.py”, line 149, in join  
res = self.\_popen.wait(timeout)  
File “/opt/conda/lib/python3.8/multiprocessing/popen\_fork.py”, line 47, in wait  
return self.poll(os.WNOHANG if timeout == 0.0 else 0)  
File “/opt/conda/lib/python3.8/multiprocessing/popen\_fork.py”, line 27, in poll  
pid, sts = os.waitpid(self.pid, flag)  
KeyboardInterrupt  
^CTraceback (most recent call last):  
File “”, line 1, in   
Error in atexit.\_run\_exitfuncs:  
Traceback (most recent call last):  
File “/opt/conda/lib/python3.8/multiprocessing/popen\_fork.py”, line 27, in poll  
pid, sts = os.waitpid(self.pid, flag)  
KeyboardInterrupt  
File “/opt/conda/lib/python3.8/multiprocessing/spawn.py”, line 116, in spawn\_main  
exitcode = \_main(fd, parent\_sentinel)  
File “/opt/conda/lib/python3.8/multiprocessing/spawn.py”, line 129, in \_main  
return self.\_bootstrap(parent\_sentinel)  
File “/opt/conda/lib/python3.8/multiprocessing/process.py”, line 333, in \_bootstrap  
threading.\_shutdown()  
File “/opt/conda/lib/python3.8/threading.py”, line 1388, in \_shutdown  
lock.acquire()  
KeyboardInterrupt

---

<div class="post-metadata">

**Author:** ![raphael-sanandres](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@raphael-sanandres](https://community.wandb.ai/u/raphael-sanandres)\
**Post date:** [February 3, 2023, 5:54pm UTC](https://community.wandb.ai/t/wandb-network-error-connectionerror-entering-retry-loop/3789/2 "2023-02-03T17:54:57Z")

</div>

Hello!

Could you send your debug logs so I can get a closer look into your `ConnectionError`?

---

<div class="post-metadata">

**Author:** ![raphael-sanandres](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@raphael-sanandres](https://community.wandb.ai/u/raphael-sanandres)\
**Post date:** [February 7, 2023, 11:08pm UTC](https://community.wandb.ai/t/wandb-network-error-connectionerror-entering-retry-loop/3789/3 "2023-02-07T23:08:53Z")

</div>

Hi shashikantprasad1111, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [April 2, 2023, 12:18pm UTC](https://community.wandb.ai/t/wandb-network-error-connectionerror-entering-retry-loop/3789/4 "2023-04-02T12:18:41Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
