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
Portainer malfunctions when treafik has password enabled #1629
Comments
Thanks for reporting this. Please ensure that the Portainer container is removed and another one is created before trying each scenario. Also, browser cache issues might appear between these scenarios, could you retry using a private navigation session for each one? Regarding the fact that Portainer do not accept your admin password during authentification, please ensure that you use double quotes and escape each |
Hi @deviantony Thanks for your reply. Short description of my test arrangement:
During my tests without a traefik-password I had no troubles accessing portainer with the admin-password. Sometimes during my test, I additionally started a blank webserver to test the traefik-password. There was no problem accessing the webserver with the preset password. |
Thanks for the update, unfortunately I do not have the ability to re-create this setup at the moment. Will tag this issue as help wanted as someone in our community might be able to help us here. |
Portainer uses the portainer/api/http/security/bouncer.go Line 122 in 9239125
When configuring Traefik to use basic authentication, it will also use the I'd say this is expected behaviour with this set-up. To get this to work, you would need to have Portainer use a different header for passing the JWT. This is currently not supported. |
Thank you for your answer. |
BUG REPORT INFORMATION
What did you do?
three tests with a docker-compose.yml with traefik and portainer (docker-compose.yml below):
What did you expect to see?
What did you see instead?
used application versions
docker: 17.12.0-ce
docker-compose: 1.18.0
traefik: 1.5.1
portainer: 1.16.1
What is your environment & configuration (arguments, toml, provider, platform, ...)?
I'm using traefik and portainer with docker on a virtual server from strato with an ubuntu 16.04.3 server installation.
docker-compose.yml:
traefik.toml:
debug logs
I replaced my domain with {mydomain}.
User is test:test
portainer log
traefik log
The text was updated successfully, but these errors were encountered: