wandb.init() can’t establish a connection to the W&B service within the allotted time. This page helps you diagnose and resolve the error so your run can start successfully.
To resolve the error, try the following steps:
- Retry initialization: Restart the run. Transient network or service issues often clear on a second attempt.
- Check network connection: Confirm a stable internet connection.
- Update wandb version: Install the latest version of wandb.
- Increase timeout settings: Modify the
WANDB_INIT_TIMEOUTenvironment variable: - Enable debugging: Set
WANDB_DEBUG=trueandWANDB_CORE_DEBUG=truefor detailed logs. - Verify configuration: Confirm that the API key and project settings are correct.
- Review logs: Inspect
debug.log,debug-internal.log,debug-core.log, andoutput.logfor errors.
Connectivity Run Crashes