It seems that I do receive the bearer token
Hmmm, can you view the settings? that's the only thing I can think of at the moment that will be diff between your setup and the working one...
Also, is there a way for you to have the trains-server behind https (on your GCP)
I just remove it and it works now.. LOL
Apparently it ignores it and replaces everything...
and request use the .netrc auth to overwrite
but somewhere along the way, the request actually remove the header
Where are you seeing the returned value?
that can't be done easily, I have no control for that
Nice debugging experience
Kudos on the work !
BTW, I feel weird to add an issue on their github, but someone should, this generic setup will break all sorts of things ...
It's all good 🙂 - we appreciate you spending the time to make sure it's not Trains' fault 😄
This is a horrible setup, it means no authentication will pass, it will literally break every JWT authentication scheme
but somewhere along the way, the request actually remove the header
really appreciate the help along the way... I have taken way too many of your time
as I have wandb docker set up on the same VM for teting
EnviousStarfish54 you can also run the docker-compose on one of the machines on your local LAN. but then you will not be able to access it from home 🙂
Could you disable the windows anti-virus firewall and test?
You can put a breakpoint here, and see what you are sending:
https://github.com/allegroai/trains/blob/17f7d51a93deb52a0e7d6cdd59da7038b0e2dd0a/trains/backend_api/session/session.py#L220
What do you have in the .netrc in the machine
section