Docker for Win wont accept HTTP Proxy with password auth
Expected behavior
In the Proxies Section there should be an additional fiel for authentication
Actual behavior
even when writing down user:pass@proxy docker wont be able to connect to docker backend

Information
[08:51:05.305][Notifications ][Error ] Failed to connect to dockerBackend: time out Version: 1.13.0-rc4-beta34 (9562) OS: Windows 10 Enterprise Id: 1607 Build: 14393
Steps to reproduce the behavior
- ...
- ...
Can you try with the proper http:// prefix ? like http://user:pass@host:port ?
Hi @weidi Any chance you got to try with http:// prefix?
Hi @simonferquel @dgageot , It´s not working with or without http://
I get:
[10:51:39.227][UpdateFeedDownloader][Error ] The remote server returned an error: (407) Proxy Authentication Required.
Also a problem is, that the UI stays in Docker is starting mode and i´m unable to cancle this to edit settings, so i do have to do it manually in settings.json
@simonferquel any idea?
No idea, maybe a proxy server with a fancy authentication protocol ?
It´s a bluecoat proxy and until now i managed connections through it with every piece of software even my own ;)
2017-02-08 16:35 GMT+01:00 Simon Ferquel [email protected]:
No idea, maybe a proxy server with a fancy authentication protocol ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/docker/for-win/issues/369#issuecomment-278362298, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFjHnbQ77NvzkG3cSDA4W38GAtsqpJbks5raeDUgaJpZM4Lbb9T .
Is the proxy configured to do form based authentication (ie on Windows, does it prompt for a user/password in the browser) ?
I think it´s a 407 based authentication method so any browser or so prompts for a password. Normally any other tool or linux is working when specifying e.g. http_proxy="http://user:[email protected]"
2017-02-10 10:11 GMT+01:00 Simon Ferquel [email protected]:
Is the proxy configured to do form based authentication (ie on Windows, does it prompt for a user/password in the browser) ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/docker/for-win/issues/369#issuecomment-278893560, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFjHtWu3AWKbD203VCfPXHxBcz4zUO2ks5rbCmngaJpZM4Lbb9T .
Using the "http://user:password@proxy_host:port/" format worked for me, the only thing to look out for is that the password needs to be URL encoded.
..corporate proxy could be configurated to accept only :
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Unfortunately as far as Docker CE 17.09.9-ce-win33 (13620) it try to
CONNECT registry-1.docker.io:443 HTTP/1.1
Host: registry-1.docker.io:443
User-Agent: Go-http-client/1.1
Proxy-Authorization: Basic
therefore an authentication method more robust than "Basic" is required in some case
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
If password has special symbol, you can fail proxy auth. I has same promblem because my password has symbol !, but it sended to proxy by docker as %21. Docker will send like below. ! -> %21 %21 -> %21
Proxy want ! character, but you can never send it before Docker fixed. Use fiddler or change password used only alphabetical or numeric character.
This was written for Linux but you should also encode user and password on Windows.
“Struggling with Docker on Linux behind a corporate Proxy? Read this!” https://medium.com/@rodrigoriccitellivieira/struggling-with-docker-on-linux-behind-a-corporate-proxy-d98da8e1738d
Thank you for response. I test it Mac OS and Windows, but not linux. Docker for Linux not same? OK, I will test it Ubuntu and Cent OS. Give me some time for install linux to real machine.
I read the link and I realized this problem already notified before.
I'm sorry about I did not found that. Thank you for reply.
Enconding not working anymore, im using version of 2.0.0.0 of docker when i try run
docker pull swaggerapi/swagger-editor i receive proxy authentication required.
i was running it with the following configuration: http://username:password@host/proxi.js
my password is something@123 and i was using something%64123 %64 = @
i tried everything, the only thing that worked for me was changing my password to one that hasnt special characters since encoding wasnt working
Use %40 an not %64. It have to be in HEX.
I have used each and every method of proxy settings, but not getting the result. An error of proxy authentication required is being highlighting. Please suggest any method.
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked