question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

wandb sync not logging in while running wandb local

See original GitHub issue

System Info

wandb: 0.9.7 python: 3.7.6 OS: Pop!_OS 20.04 LTS

Description

I installed wandb 0.9.7, ran wandb local, navigated to http://localhost:8080, the webpage gave me a “Application Error” page. I clicked the refresh button provided on the page, created an account, it then asked me to change my password. When I entered in my new password, the page reloads and asks me repeatedly to change the password. However, if I click the icon in the upper right I can get to the profile page.

I tried to run wandb sync MY_DRYRUN and was asked to run wandb login. I ran wandb login and a webpage briefly appeared with the local API key, but then quickly switched to the Change Password prompt. However, I was able to get the local API key from when I clicked on the icon in the upper right corner before.

I paste the local API key into the command line and login successfully. I try to run the wandb sync command again and get the following:

user@pop-os:~$ wandb sync path/to/wandb/dryrun-20200828_220136-10kab6tp/
wandb: ERROR Error while calling W&B API: permission denied (<Response [401]>)
Error: Invalid or missing api_key.  Run wandb login

I’m not sure if this workaround has messed something up, but I cannot sync using wandb local. I know this is similar to #1222. The main difference is that now I am behind a company proxy. I did some work to try and fix that for docker and am able to run docker run hello-world successfully.

Any thoughts about what might be going on?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:30 (13 by maintainers)

github_iconTop GitHub Comments

10reactions
issue-label-bot[bot]commented, Sep 16, 2020

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.93. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

2reactions
afiaka87commented, Mar 17, 2021

For the record - I ran into this exact same issue because I accidentally ran wandb from a different conda environment than the one it was originally set up in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

wandb sync not logging in while running wandb local #1239
I tried to run wandb sync MY_DRYRUN and was asked to run wandb login . I ran wandb login and a webpage briefly...
Read more >
Troubleshooting - Documentation - Weights & Biases - Wandb
Calling wandb.log writes a line to a local file; it does not block any network calls. When you call wandb.init we launch a...
Read more >
Troubleshooting - Documentation - Weights & Biases - WandB
Calling wandb.log writes a line to a local file; it does not block any network calls. When you call wandb.init we launch a...
Read more >
wandb sync - Documentation - Weights & Biases
The run you want to upload to. -p, --project. The project you want to upload to. -e, --entity. The entity to scope to....
Read more >
wandb login - Documentation - Weights & Biases
If you have existing tfevents files stored locally and you would like to import them into W&B, you can run wandb sync log_dir,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found