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