It's all good 🙂 - we appreciate you spending the time to make sure it's not Trains' fault 😄
really appreciate the help along the way... I have taken way too many of your time
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 ...
Apparently it ignores it and replaces everything...
as I have wandb docker set up on the same VM for teting
I just remove it and it works now.. LOL
What do you have in the .netrc in the machine
section
This is a horrible setup, it means no authentication will pass, it will literally break every JWT authentication scheme
and request use the .netrc auth to overwrite
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
but somewhere along the way, the request actually remove the header
Where are you seeing the returned value?
but somewhere along the way, the request actually remove the header
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)
that can't be done easily, I have no control for that
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?