• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Incredibly slow logins to web interface

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    8
    20
    8.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jaymes DriverJ
      Jaymes Driver Developer
      last edited by

      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.

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • B
        BryceZ
        last edited by

        Did you comment out the div that displays the stats or the javascript that obtains the stats or the whole thing?

        1 Reply Last reply Reply Quote 0
        • K
          kitchen666
          last edited by

          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).

          1 Reply Last reply Reply Quote 0
          • B
            BryceZ
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • K
              kitchen666
              last edited by

              Thanks for the advice – I’ll try it tomorrow AM and report back!

              1 Reply Last reply Reply Quote 0
              • K
                kitchen666
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • S
                  SNP
                  last edited by

                  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.)

                  K 1 Reply Last reply Reply Quote 0
                  • M
                    Mats Nilsson
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • J
                      Juan Bertolotti
                      last edited by

                      where is that file located? i would like to comment that on my server 🙂

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        You could specify false proxy

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • M
                          Mats Nilsson
                          last edited by

                          [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

                          1 Reply Last reply Reply Quote 0
                          • M
                            Mats Nilsson
                            last edited by

                            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

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • K
                              kek @SNP
                              last edited by kek

                              @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

                              Tom ElliottT 1 Reply Last reply Reply Quote 1
                              • Tom ElliottT
                                Tom Elliott @kek
                                last edited by

                                @kek Reviving an old thread?

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  kek @Tom Elliott
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • Tom ElliottT
                                    Tom Elliott @Mats Nilsson
                                    last edited by Tom Elliott

                                    @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 work

                                    Problem solved as stated.

                                    However, your information is correct. I just wanted to know why the revival, are you having the issue?

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      kek @Tom Elliott
                                      last edited by

                                      @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 work

                                      Problem 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.

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post

                                      158

                                      Online

                                      12.1k

                                      Users

                                      17.3k

                                      Topics

                                      155.4k

                                      Posts
                                      Copyright © 2012-2024 FOG Project