Skip to content
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

Unable to login with docker through traefik #139

Open
aacebedo opened this issue Jan 23, 2019 · 2 comments
Open

Unable to login with docker through traefik #139

aacebedo opened this issue Jan 23, 2019 · 2 comments

Comments

@aacebedo
Copy link

Hi all,

I am using the artifactory docker image 5.11 and I am unable to login when the container is behind the traefik reverse proxy (https://github.com/containous/traefik/).

I have configured the insecure option inthe docker daemon and when I execute the docker login command I received the following error:
"unable to decode token response: EOF"
If I try to map the container port 8081 to another host port (thus bypassing the reverse proxy) everything is fine and the login succeeds
I don't know exactly what I shall add to the traefik configuration to correct this.

Any clue ?

@aacebedo
Copy link
Author

When I compare the http request made by traefik with the request made directly by the docker client
The difference is that traefik adds a set of http headers (X-Forwarded-...). I don't know how to remove them and if they are the cause of the issue

@eldada
Copy link
Contributor

eldada commented Jan 27, 2019

@jainishshah17 - can you have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants