CommError: Run initialization has timed out after 60.0 sec

When I am using wandb, the error is:

CommError: Run initialization has timed out after 60.0 sec.
Please refer to the documentation for additional information: Frequently Asked Questions About Experiments

And when I scan my output, I found that:

16:57:37.579 [warn] StdErr from Kernel Process wandb: Network error (SSLError), entering retry loop.
16:58:34.665 [warn] Cancel all remaining cells due to cancellation or failure in execution

I have checked my time and tried to use different network, but it still exist.

I have tried this:
wandb.init(settings=wandb.Settings(start_method=“thread”))

but seems not useful. Also, because I am using windows, “fork” is not available.

Hi @durablefrank158, thanks for reporting this! Could you please send debug.log and debug-internal.log for this run? These files are under your local folder wandb/run-<date>_<time>-<run-id>/logs in the same directory where you’re running your code. I will have a look at those files to see why this is crashing.

Also, could you provide the code snippet that is causing this? Thanks!

run = wandb.init(settings=wandb.Settings(start_method=“spawn”),
project=“powder_agent_6_{}”.format(env),
config={},
sync_tensorboard=True, # auto-upload sb3’s tensorboard metrics
monitor_gym=True, # auto-upload the videos of agents playing the game
save_code=False, # optional
)
if run_name is not None:
run.name = run_name

all_elems = [‘empty’, ‘sand’, ‘water’, ‘wall’, ‘plant’, ‘stone’, ‘lava’]
elems = all_elems[:num_elems]

policy_kwargs = dict(
features_extractor_class=CustomCNN,
features_extractor_kwargs=dict(features_dim=20, wm=wm_name, wm_layer=wm_layer, env=env),
)

checkpoint_callback = TensorboardCallback(elems, num_tasks, num_lines, num_circles, num_squares, env)
wandb_callback = WandbCallback(model_save_freq=10000, model_save_path=f"models/{run.name}", verbose=2)
callback = CallbackList([checkpoint_callback, wandb_callback])

Luis Bergua via W&B Community <notifications@wandb.discoursemail.com> 于2023年6月1日周四 19:35写道:

(Attachment debug.log is missing)

(Attachment debug-internal.log is missing)

the .log files are not authorized, how can I send them to you?

李旭阁 <durablefrank158@gmail.com> 于2023年6月2日周五 00:15写道:

Hi @durablefrank158, thanks for providing the code example! Could you please send me the logs to luis.bergua@wandb.ai?

Hi Li,

We wanted to follow up with you regarding your support request as we have not heard back from you. Please let us know if we can be of further assistance or if your issue has been resolved.

Best,
Weights & Biases

Hi Li, 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!

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