(407) Proxy Authentication Required.
-
@Sebastian-Roth Thanks Sebastian, fully understand the reason behind not supporting the old client, i will check the proxy settings although i an sure the proxy is an exception, i will let you know either way.
-
@Trev-lchs I mean the fog server is an exception, fingers getting ahead of brain
-
@Sebastian-Roth Proxy exceptions setting defo have the fog server excluded, still have the same error when trying to install the new client, the install goes through till it gets to Pinning Fog Server then a pop up titled “Fog Service Setup” with an error in the window “Unable to Install CA certificate”
-
@Trev-lchs Please post a picture of the Windows proxy settings here! Do you have a log file on your proxy server? If not, we can use the FOG server access log to verify if the new client really talks to your FOG server on install.
- Get the installer ready on your client machine - up to the point where you have all the information like FOG IP address already typed in.
- Login to your FOG server command shell and run
tail -f /var/log/apache2/access.log
- your should see the last 10 lines of the log file and it will update as soon as new log messages come in - hit ENTER a couple of times so you know where it started - Now proceed with the installer and keep an eye on the log on the FOG server.
My guess is that you won’t see this clients’ requests as it get’s caught up in the proxy.
-
@Sebastian-Roth OK will do thanks for the advice, i will get back to you once i have tried everything.
-
@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