Incredibly slow logins to web interface
-
Hmm, damn.
Well I’m interested in figuring this out too, so lets not give up on it. Maybe someone who knows more about how the web GUI works can shed some light on the situation.
-
Did you comment out the div that displays the stats or the javascript that obtains the stats or the whole thing?
-
Hmmm, just the DIV that displays the stats. Where would I find the javascript? If I recall there are a couple of scripts at the bottom of the login form in “includes” (the name escapes me, I’m not at work now).
-
I’m pretty sure the javascript at the bottom of loginform.include.php is the script that actually pulls the stats. Try commenting that out and see if that helps.
-
Thanks for the advice – I’ll try it tomorrow AM and report back!
-
That worked! Commenting out the two javascript includes at the bottom of login.include.php as well as the DIV that displays the statistics seems to have resolved the problem. Logins happen instantly now.
-
I have the same problem in 1.20, can some one help me where i find where this javascrip are in 1.20.
(From a big fan of fog, fog has saved us a lot of time.)
-
Im also running fog in an isolated environment to avoid interfering with with our severely restricted intranet.
Fog is polling expendable? internet info on login, configuration… plus pinging hosts for name resolution.
This times out eventually. But annoying and time consuming. I have solved pinging nameserver issue but internet polling issues remains. Which text (page) is to edit. Is there any easy solution. Or is it line by line editing. Please help -
where is that file located? i would like to comment that on my server
-
You could specify false proxy
-
[quote=“Tom Elliott, post: 39545, member: 7271”]You could specify false proxy[/quote]
Thank you for your reply. Sorry i didnt provide information enough. Fog version 1.2.0 Ubuntu 14.04.1 server (i.e last versions)
I installed according to Wiki: “install on isolated network” ==>only DHCP service activated.
I have searched google, forums and wiki. This thread is all i found.
I have tried to comment out in /var/www/fog/management/index.php but it is restored at restart.
(My attempts there was the only contributions to error.log)
I do have considered a Proxy Server. But i havent done that before. Is the proxy supposed to be connected to the internet?
(I am not allowed to interfere with our intranet) Or can I use cached data?
The problem is obviously Fog polling info to administrator page. Instant access to login etc as soon as i connect to inet
This info cant be crucial. Apart from time out issue Fog functions without inet.
There must be some way to comment out proper parts of code… if i can find the right document… I think… I hope… I beg -
Problem solved. I installed a complementary Java Based Offline Proxy Server… [url]http://www.proxy-offline-browser.com/[/url]
(Java was bundled in Ubuntu) proxy ip 127.0.0.1 and port 8080 in Fog configuration and Firefox settings
I consider Fog to complex to be modified according to my wishes. It is clearly built to be online. To much work -
@SNP said:
I have the same problem in 1.20, can some one help me where i find where this javascrip are in 1.20.
(From a big fan of fog, fog has saved us a lot of time.)For fog 1.20, files are located at:
fog/management/ajax/login.info.php <- Comment out entire page after <?php
fog/lib/fog/ProcessLogin.class.php <- Comment out lines 230-233 and 244 -
@kek Reviving an old thread?
-
@Tom-Elliott said:
@kek Reviving an old thread?
Old thread or not, it is the first google search result with no valid solutions or otherwise help for version 1.20. Just thought I’d update it.
-
@Mats-Nilsson said:
Problem solved. I installed a complementary Java Based Offline Proxy Server… [url]http://www.proxy-offline-browser.com/[/url]
(Java was bundled in Ubuntu) proxy ip 127.0.0.1 and port 8080 in Fog configuration and Firefox settings
I consider Fog to complex to be modified according to my wishes. It is clearly built to be online. To much workProblem solved as stated.
However, your information is correct. I just wanted to know why the revival, are you having the issue?
-
@Tom-Elliott said:
@Mats-Nilsson said:
Problem solved. I installed a complementary Java Based Offline Proxy Server… [url]http://www.proxy-offline-browser.com/[/url]
(Java was bundled in Ubuntu) proxy ip 127.0.0.1 and port 8080 in Fog configuration and Firefox settings
I consider Fog to complex to be modified according to my wishes. It is clearly built to be online. To much workProblem solved as stated.
However, your information is correct. I just wanted to know why the revival, are you having the issue?
I was having the issue, hence the reason I ended up on this page. I prefer the original method mentioned earlier in the page for an earlier version of fog without needing to download additional software. A question was raised regarding the newer version of fog, one to which an answer would have saved me some time. Upon finding the solution, I posted the results for anyone that comes upon this page to save time of their own. I honestly didn’t want to bring up a discussion, rather, just an FYI note for future viewers. The information I provided is valid and would be quite useless in a new thread.