Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can't login to WebGUI after a couple of days

    Scheduled Pinned Locked Moved webGUI
    35 Posts 17 Posters 8.8k Views
    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.
    • M
      megapearl
      last edited by

      Hello,

      When accessing WebGUI following error occured:

      504 Gateway Time-out

      nginx

      Restarting Webconfigurator via SSH didn't help, only a reboot seems to solve the problem.
      Problem returns every couple of days.

      Running latest stable pfSense via vmware.

      Anyone a idea what's wrong here?
      There's nothing in the logs.

      1 Reply Last reply Reply Quote 0
      • D
        dneuhaeuser
        last edited by

        I also had this problem 1 or 2 times while experimenting…

        next time it happens go to console or SSH and try "16 - Restart PHP-FPM" to narrow it done...

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          I think that's been fixed in 2.3.1 here:

          https://redmine.pfsense.org/issues/6177

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • M
            megapearl
            last edited by

            Switched to 2.3.1 Development now, and testing…

            Thanks!

            1 Reply Last reply Reply Quote 0
            • M
              megapearl
              last edited by

              Problem returned after 1 day, restarting php-fpm from ssh does work.

              I'm on:

              2.3.1-DEVELOPMENT (amd64)
              built on Mon May 16 06:51:39 CDT 2016
              FreeBSD 10.3-RELEASE-p2

              The system is on the latest version.

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                You have the IPsec widget on your dashboard? If so, if you remove that, does it stop happening? Seems a couple have seen that, haven't run into it myself, but would be good to narrow it down.

                1 Reply Last reply Reply Quote 0
                • M
                  megapearl
                  last edited by

                  Yes, having that one als widget, turning it off now.

                  1 Reply Last reply Reply Quote 0
                  • G
                    glreed735
                    last edited by

                    I started having the exact same problem with the update to 2.3. I updated to 2.3.1 hopeful that this problem was resolved, but it still happens with the IPSEC widget active

                    1 Reply Last reply Reply Quote 0
                    • V
                      vronp
                      last edited by

                      Same problem here on 2.3.1.  I do not have the IPSec widget.

                      Menu item 16 fixes issue for a time.  Also, it seem the GUI slows down significantly over a short time after doing the reset.

                      1 Reply Last reply Reply Quote 0
                      • V
                        vronp
                        last edited by

                        @cmb:

                        You have the IPsec widget on your dashboard? If so, if you remove that, does it stop happening? Seems a couple have seen that, haven't run into it myself, but would be good to narrow it down.

                        No IPSec on my dashboard.  While the OP mentioned the 504 returning after "days", I see it return within an hour or two.

                        thanks,
                        Dave

                        1 Reply Last reply Reply Quote 0
                        • C
                          cmb
                          last edited by

                          Most if not all remaining instances of 504 gateway timeouts were fixed in 2.3.1_1.

                          1 Reply Last reply Reply Quote 0
                          • V
                            vronp
                            last edited by

                            @cmb:

                            Most if not all remaining instances of 504 gateway timeouts were fixed in 2.3.1_1.

                            I'm still experiencing the problem with 2.3.1_1

                            Dave

                            1 Reply Last reply Reply Quote 0
                            • 2
                              2chemlud Banned
                              last edited by

                              +1

                              2.3.1_1 64bit full, especially when re-starting a snort interface.

                              Intel(R) Atom(TM) CPU D525 @ 1.80GHz 4 CPUs, with 4 GB RAM and 120 GB SSD.

                              1 Reply Last reply Reply Quote 0
                              • A
                                afreaken
                                last edited by

                                I just had this happen at our remote site, not using the ipsec widget.

                                Netgate SG-2440

                                2.3.1-RELEASE-p1 (amd64)
                                built on Wed May 25 14:56:42 CDT 2016

                                1 Reply Last reply Reply Quote 0
                                • A
                                  afreaken
                                  last edited by

                                  @afreaken:

                                  I just had this happen at our remote site, not using the ipsec widget.

                                  Netgate SG-2440

                                  2.3.1-RELEASE-p1 (amd64)
                                  built on Wed May 25 14:56:42 CDT 2016

                                  Just happened to our local pfsense box, same as above (2.3.1_1). Will try to restart the web interface from console.

                                  1 Reply Last reply Reply Quote 0
                                  • luckman212L
                                    luckman212 LAYER 8
                                    last edited by

                                    https://redmine.pfsense.org/issues/6396 is marked closed.  Is that a different bug, or should it be re-opened? I know there are 502's and 504's going on.

                                    In any case, what is the correct redmine ticket for the remaining issue being discussed here?

                                    edit: I found https://redmine.pfsense.org/issues/6406  which seems to be "this"

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      afreaken
                                      last edited by

                                      @luckman212:

                                      https://redmine.pfsense.org/issues/6396 is marked closed.  Is that a different bug, or should it be re-opened? I know there are 502's and 504's going on.

                                      In any case, what is the correct redmine ticket for the remaining issue being discussed here?

                                      edit: I found https://redmine.pfsense.org/issues/6406  which seems to be "this"

                                      I'm getting
                                      "504 Gateway Time-out

                                      nginx"

                                      It just seems to happen randomly. Doing the reset from the console fixes it for some time.

                                      My one box was up for ~12 days before it happened, the other was ~9 days. So…

                                      EDIT: The widgets I'm using on both are: System Information, Interfaces, Gateways, Traffic Graphs

                                      Not sure if that helps. Also running ipsec tunnel between locations.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        The Brave Sir Robin
                                        last edited by

                                        Just happened to me. 2.3.1_1. No IPSec or OpenVPN widgets. 20 days uptime. 504 error. I have an IPSec site-to-site running.

                                        :(

                                        OpenVPN server also stops working

                                        Doing an option 16) Restart PHP-FPM  did allow me to access the web gui but did not fix OpenVPN. Had to restart OpenVPN server to fix OpenVPN access.

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          afreaken
                                          last edited by

                                          Happened again a couple days ago… I want to say this problem has persisted through the "fixes" in 2.3.1_1

                                          1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate
                                            last edited by

                                            Do people seeing this with any regularity have anything interesting in the system log? Try filtering on frag.

                                            Chattanooga, Tennessee, USA
                                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.