FOG Configuration->MAC Address update Git 5572
-
@Tom-Elliott what method is FOG using to get the file wget, or some other process. I’m not doubting that this proxy is a bit finicky with the ftp process. If it is ftp then I’ll need to get a variance.
-
@george1421 it’s based on the FOGURLRequests class. So CURL I believe.
-
@Tom-Elliott Sorry for the continuing questions, but isn’t curl http based? Does FOG use curl for other off site requests? Just trying to establish a pattern here. Either curl needs its environment setup for proxy support. From the error it appears that its attempting to use the proxy but for some reason its rejecting the request.
I’ll see if I can get access to the error logs from the proxy server. Hopefully it will give me a better idea (like a malformed http request ??).
-
There is proxy support already in the FOGURLRequests file, but that doesn’t mean it isn’t broken in some way. I know it worked once before, so it’s most likely I screwed, I just don’t know where.
-
I just checked the proxy server and the request is not hitting it, then I noticed something in the error message.
192.168.1.10:1328...
The port number is wrong it should be 3128. Thinking that I’m a bit dyslexic I checked the proxy settings in fog and the value is correct at 3128. I checked the bashrc file and those settings are correct too. I don’t know where the 1328 is coming from. -
@george1421 That doesn’t make sense. What about direct database query?
SELECT settingValue FROM globalSettings WHERE settingKey='FOG_PROXY_PORT';
-
@Tom-Elliott OK let me hit the database and see whats in there.
-
The database has the right value.
mysql> use fog;
Database changed mysql> SELECT settingValue FROM globalSettings WHERE settingKey='FOG_PROXY_PORT'; +--------------+ | settingValue | +--------------+ | 3128 | +--------------+
I just confirmed again that it says 1328 in the error log with a fresh request
--2015-12-01 20:26:52-- http://standards.ieee.org/develop/regauth/oui/oui.txt Connecting to 192.168.1.10:1328... failed: Connection refused.
-
@george1421 said:
You did fat finger. Apparently it is downloading with wget, not fogurlrequests. I see what i can do to fix it properly.
-
New push should fix how it downloads the file.
-
This issue is confirmed fixed.