# Wandb.finish() takes too long to finish

**URL:** <https://community.wandb.ai/t/wandb-finish-takes-too-long-to-finish/4415>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [May 17, 2023, 1:44am UTC](https://community.wandb.ai/t/wandb-finish-takes-too-long-to-finish/4415 "2023-05-17T01:44:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![axb-data](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@axb-data](https://community.wandb.ai/u/axb-data)\
**Post date:** [May 17, 2023, 1:44am UTC](https://community.wandb.ai/t/wandb-finish-takes-too-long-to-finish/4415/1 "2023-05-17T01:44:44Z")

</div>

I was working with wandb to track my experiment.  
The experiment run on the GKE cluster by using MLFlow Projects.  
But, from several weeks ago (I suggest it’s around the release of wandb 0.15.0), I found that my training job doesn’t exit just after it finished the traininig job. It finished almost after 24 hours.  
I didn’t mkae breaking change in my code. So I’m suspecting whether there is discrepency on this situation.  
Because of that reason, I started to fix version of wandb to be 0.14.2 rather than 0.15.0.  
Can I get the help?  
Here is the last log from the running process.

* * *

wandb: Waiting for W&B process to finish… (success).  
wandb: Network error (ReadTimeout), entering retry loop.

---

<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:** [May 17, 2023, 5:30pm UTC](https://community.wandb.ai/t/wandb-finish-takes-too-long-to-finish/4415/2 "2023-05-17T17:30:14Z")

</div>

Hello @axb-data !

If there has not been any changes and you are now just experiencing this error, could you send me the debug logs for this run?

They should be located in the `wandb` folder in the same directory as where the script was run. The `wandb` folder has folders formatted as `run-DATETIME-ID` associated with a single run. Could you retrieve the `debug.log` and `debug-internal.log` files from one of these folders specifically from the run that is having issues?

---

<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:** [July 16, 2023, 5:30pm UTC](https://community.wandb.ai/t/wandb-finish-takes-too-long-to-finish/4415/3 "2023-07-16T17:30:34Z")

</div>

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