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