-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLI]: requests.exceptions.HTTPError: 400 Client Error: Bad Request for url #3431
Comments
debug.log File 2022-03-25 10:14:19,964 INFO MainThread:48415 [wandb_setup.py:_flush():75] Loading settings from /home/kswang/.config/wandb/settings
2022-03-25 10:14:19,965 INFO MainThread:48415 [wandb_setup.py:_flush():75] Loading settings from wandb/settings
2022-03-25 10:14:19,965 WARNING MainThread:48415 [wandb_setup.py:_flush():75] Unknown environment variable: WANDB_CACHE_DIR
2022-03-25 10:14:19,965 INFO MainThread:48415 [wandb_setup.py:_flush():75] Loading settings from environment variables: {'api_key': $
2022-03-25 10:14:19,965 INFO MainThread:48415 [wandb_setup.py:_flush():75] Inferring run settings from compute environment: {'progra$
2022-03-25 10:14:19,965 INFO MainThread:48415 [wandb_setup.py:_flush():75] Applying settings from <Settings {'_args': None, '_cli_on$
2022-03-25 10:14:19,966 INFO MainThread:48415 [wandb_init.py:_log_setup():405] Logging user logs to /gpfsm/ccds01/nobackup/people/ks$
2022-03-25 10:14:19,967 INFO MainThread:48415 [wandb_init.py:_log_setup():406] Logging internal logs to /gpfsm/ccds01/nobackup/peopl$
2022-03-25 10:14:19,968 INFO MainThread:48415 [wandb_init.py:init():439] calling init triggers
2022-03-25 10:14:19,968 INFO MainThread:48415 [wandb_init.py:init():442] wandb.init called with sweep_config: {'backbone_model': 'fc$
config: {}
2022-03-25 10:14:19,969 INFO MainThread:48415 [wandb_init.py:init():492] starting backend
2022-03-25 10:14:19,969 INFO MainThread:48415 [backend.py:_multiprocessing_setup():99] multiprocessing start_methods=fork,spawn,fork$
2022-03-25 10:14:20,052 INFO MainThread:48415 [backend.py:ensure_launched():219] starting backend process...
2022-03-25 10:14:20,074 INFO MainThread:48415 [backend.py:ensure_launched():224] started backend process with pid: 48483
2022-03-25 10:14:20,078 INFO MainThread:48415 [wandb_init.py:init():501] backend started and connected
2022-03-25 10:14:20,087 INFO MainThread:48415 [wandb_run.py:_config_callback():992] config_cb None None {'backbone_model': 'fcn_resn$
2022-03-25 10:14:20,090 INFO MainThread:48415 [wandb_init.py:init():565] updated telemetry
2022-03-25 10:14:20,092 INFO MainThread:48415 [wandb_init.py:init():596] communicating run to backend with 30 second timeout``` |
Can you tell me what you are doing when you run into this error? You had mentioned that wandb.login works, can you send in a code snippet that you think creates this issue? |
Leslie commented: |
Hi, this issue was resolved when the cluster underwent a network update and I reverted back to a prior version of wandb. |
Leslie commented: |
Leslie commented: |
hi i'm facing this same error but don't know how to counter it in pythonanywhere, if anyone would help me out that would be great |
Describe the bug
I began encountering this issue around two weeks ago while using a cluster to run my sweeps. I did not update my code or any packages including wandb, it was working fine one day and then the next day it wasn't. I can successfully use the
wandb login
command and initialize my sweep, but each run fails due to arequests.exceptions.HTTPError: 400 Client Error: Bad Request for url
error pointing towards a storage.googleapi link with the following contents:https://media.discordapp.net/attachments/945038637798674472/956925793999659008/Screen_Shot_2022-03-25_at_7.06.14_AM.png
I'm unsure if this is a cluster-side error or a firewall blocking wandb, but have reached out to cluster support as well.
I also encountered a SSL error and had to add the following lines to my code, but I'm not sure if it is related:
ssl._create_default_https_context = ssl._create_unverified_context
Additional Files
No response
Environment
WandB version: 0.12.11
OS: CentOS
Python version: 3.8
Versions of relevant libraries:
albumentations 1.1.0
certifi 2021.10.8
google 3.0.0
google-auth 1.35.0
google-auth-oauthlib 0.4.6
matplotlib 3.4.3
networkx 2.6.3
numpy 1.21.2
oauthlib 3.1.1
opencv-python-headless 4.5.4.58
pytorch-lightning 1.5.0
requests 2.26.0
requests-oauthlib 1.3.0
scikit-image 0.18.3
scikit-learn 1.0.1
scipy 1.7.1
tensorboard 2.2.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.0
torch 1.10.0
torchaudio 0.10.0
torchmetrics 0.6.0
torchvision 0.11.1
urllib3 1.26.7
wandb 0.12.11
Additional Context
No response
The text was updated successfully, but these errors were encountered: