(407) Proxy Authentication Required.
-
@Sebastian-Roth Hi, unfortunately i cannot get as far in the process as adding an IP in the new client it fails before that, i can with the old client, will that work?
-
@Trev-lchs said in (407) Proxy Authentication Required.:
Hi, unfortunately i cannot get as far in the process as adding an IP in the new client it fails before that, i can with the old client, will that work?
What exactly do you mean? When you run the most recent fog-client installer (version 0.11.16) it will step you through a couple of setup screens and one is where you enter the FOG server IP address and other information. Proceed till you get to that setup screen, enter the information and then start watching the
access.log
on the FOG server as mentioned below. -
@Sebastian-Roth yes that is the version i am trying to install. please could you confirm the web root is /fog
-
@Sebastian-Roth no output it just seems to be waiting to do something
root@fog-03:~# tail -f /var/log/apache2/access.log
-
@Trev-lchs said in (407) Proxy Authentication Required.:
please could you confirm the web root is /fog
Yes, that’s right!
no output it just seems to be waiting to do something
As I said before your client obviously still uses your proxy server which doesn’t allow this connection without authentication.
Please post a picture of the proxy settings!
-
-
@Sebastian-Roth whoever on running wireshark just sniffing the network i do see this coming from the proxy, so looks like somehow the proxy settings are being ignored
980 23.971899 10.10.1.7 10.10.7.160 HTTP 181 HTTP/1.1 407 Proxy Authentication Required (text/html) -
@Trev-lchs Yes looks like it still calls out to the proxy. What Windows version is this?
Try opening this URL in IE or Edge browser: http://x.x.x.x/fog/management/other/ca.cert.der (put in the correct FOG server IP instead of x.x.x.x)
Watch this in Wireshark to see if it goes through the proxy or not!
We might add this code to entirely ignore system proxy settings but I don’t think this is wise.
-
@Sebastian-Roth said in (407) Proxy Authentication Required.:
this is windows 10, i typed this url on a win 7 PC and it used the proxy settings as expected and returned a Certificate to install. However on a win 10 PC it went to the proxy. (10.10.1.7 is the proxy) how very frustrating.
196 4.133452 10.10.7.160 10.10.1.7 HTTP 366 GET http://10.10.1.26/fog/management/other/ca.cert.der HTTP/1.1
-
@Trev-lchs said in (407) Proxy Authentication Required.:
However on a win 10 PC it went to the proxy. (10.10.1.7 is the proxy) how very frustrating.
This is kind of strange. I have searched the web for keywords like “WebClient DownloadFile ignore bypass proxy” but have not found much yet. You might try searching for “Win 10 ignore proxy bypass”…
-
@Sebastian-Roth HI Sebastian, just to let you know that this is something internally that keeps setting a proxy server, a bit of software or GPO I am struggling like crazy to find it, but every time I change the proxy when I log in , it is there again. I can find no GPO that is responsible, an absolute mystery to me, Microsoft and our third line support, but we will get there eventually or die trying.
-
@Trev-lchs Did you ever solve this? I just stumbled upon this issue report which we got years ago: https://github.com/FOGProject/fog-client/issues/72