• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.1k
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.
  • K
    kitchen666
    last edited by May 23, 2013, 5:38 PM

    Building a mobile FOG solution for a colleague. I have some experience with fog, and use it in my own computer lab to great success.

    The new installation works fine … but I’ve noticed that logins to the web interface are terribly slow (>60seconds). This isn’t true on my lab’s FOG unit running similar hardware.

    After futzing with it for awhile, it seems to be related to internet connectivity. When I connect the FOG server to an internet-connected switch, logins are quite zippy. As soon as I disconnect it… boom. Slow again.

    I presume during the login something is trying to access the net and timing out. Anything I can do to disable it?

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by May 23, 2013, 5:54 PM

      I experienced this too when setting up my first fog server, I noticed when I would disconnect form the wall jack and lost internet connectivity that it took quite a while to log in.

      It may have something to do with the stats that it displays on the log in page.

      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
      • K
        kitchen666
        last edited by May 23, 2013, 5:59 PM

        Yeah, I actually already went in and commented out that DIV entirely. No dice.

        It has to be somewhere in the login process - because once I’m in everything proceeds snappily. Extremely frustrating.

        1 Reply Last reply Reply Quote 0
        • J
          Jaymes Driver Developer
          last edited by May 23, 2013, 6:28 PM

          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 May 23, 2013, 7:12 PM

            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 May 23, 2013, 7:32 PM

              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 May 23, 2013, 11:05 PM

                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 May 23, 2013, 11:13 PM

                  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 May 24, 2013, 11:19 AM

                    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 Nov 5, 2014, 8:30 AM

                      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 Dec 15, 2015, 9:21 AM Reply Quote 0
                      • M
                        Mats Nilsson
                        last edited by Dec 2, 2014, 2:34 PM

                        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 Dec 2, 2014, 7:57 PM

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

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Dec 2, 2014, 7:58 PM

                            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 Dec 3, 2014, 2:34 PM

                              [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 Dec 5, 2014, 4:48 PM

                                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

                                T 1 Reply Last reply Dec 17, 2015, 3:01 PM Reply Quote 0
                                • K
                                  kek @SNP
                                  last edited by kek Dec 15, 2015, 3:23 AM Dec 15, 2015, 9:21 AM

                                  @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

                                  T 1 Reply Last reply Dec 15, 2015, 3:54 PM Reply Quote 1
                                  • T
                                    Tom Elliott @kek
                                    last edited by Dec 15, 2015, 3:54 PM

                                    @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 Dec 17, 2015, 2:58 PM Reply Quote 0
                                    • K
                                      kek @Tom Elliott
                                      last edited by Dec 17, 2015, 2:58 PM

                                      @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
                                      • T
                                        Tom Elliott @Mats Nilsson
                                        last edited by Tom Elliott Dec 17, 2015, 9:01 AM Dec 17, 2015, 3:01 PM

                                        @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 Dec 17, 2015, 3:19 PM Reply Quote 0
                                        • K
                                          kek @Tom Elliott
                                          last edited by Dec 17, 2015, 3:19 PM

                                          @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

                                          157

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project