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

    504 Gateway Timeout on pfSense 2.4

    Scheduled Pinned Locked Moved pfBlockerNG
    11 Posts 8 Posters 9.0k 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.
    • F
      fraglord
      last edited by

      Since upgrading to pfSense 2.4.0 I cannot reach the webinterface after a few hours (504 Gateway Timeout"). SSH also not responding after login, Ctrl+Z not does anything.
      Seems to be a different issue than the widely discussed 502 errors. Any (temporary) fix available except disabling pfblockerNG/DNSBL?

      pfSense 2.4.0 (amd64) running on IGEL H710C | 1G RAM | 8G SSD | INTEL PRO/1000 PT Dual NIC

      1 Reply Last reply Reply Quote 0
      • JailerJ
        Jailer
        last edited by

        Reinstall and choose ZFS instead of UFS for the file system.

        1 Reply Last reply Reply Quote 0
        • F
          fraglord
          last edited by

          That does not seem to fix it: https://www.reddit.com/r/PFSENSE/comments/76ev52/gui_giving_504_gateway_timeout_after_24_upgrade/doebt3u/

          pfSense 2.4.0 (amd64) running on IGEL H710C | 1G RAM | 8G SSD | INTEL PRO/1000 PT Dual NIC

          1 Reply Last reply Reply Quote 0
          • J
            JohnPFsense
            last edited by

            I recognize this error in the particular situation where I force an update and then view the update progress. However if I open another tab in my browser with the dashboard open and then close the pfBlockerNG tab immediately after hitting update, the dashboard tab keeps running fine and the timeout error does not occur. Also if I do get stuck on the 504, using a serial cable and reset the pfm / fpm (sorry i dont remember exactly which) and/or reset the webconfigurator things get back to normal and I can get the dashboard back.
            Somehow this feels like overstressing some resource on a very specific conditions that does not hinder pfsense but only the interface.

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

              With not dashboard and no ssh, how is a re-install possible? Mine won't respond to ssh and all I get is 504 Gateway Timeout.

              Is it possible multiple refreshes of web-gui will let me see the dashboard?

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

                Same issue here, with pfSense 2.4.1 and pfBlockerNG 2.1.2_1, after about 12 hours web gui and ssh not answer, console works as "text editor" - just type in and no answer. When Power-off button pressed there is some messages about disk buffer, and system power off after 5 mins, but on next boot disk checking start.

                Now i have disabled pfBlockerNG (not uninstall) and all works good a couple of days.

                1 Reply Last reply Reply Quote 0
                • P
                  PfKomrad
                  last edited by

                  @Gektor:

                  Same issue here, with pfSense 2.4.1 and pfBlockerNG 2.1.2_1, after about 12 hours web gui and ssh not answer, console works as "text editor" - just type in and no answer. When Power-off button pressed there is some messages about disk buffer, and system power off after 5 mins, but on next boot disk checking start.

                  Now i have disabled pfBlockerNG (not uninstall) and all works good a couple of days.

                  I'm having the same 504 gateway issue and I am thinking about disabling pfBlockerNG. You said it works "a couple of days" . Do you mean it works for 2 day and then you had to reboot it? Rebooting every 2 days would be a pain.

                  I'd disable pfBlockerNG and start running pi-hole again if that were the case.

                  Let me know!

                  1 Reply Last reply Reply Quote 0
                  • T
                    thadude
                    last edited by

                    I am also seeing this issue. Routing and internet work fine, but I can't get into the ui without rebooting.
                    Let me know if there is any logs or information I can gather to help with this problem.

                    I run on ESXi

                    When I ssh in I see the following

                    login as: root
                    Using keyboard-interactive authentication.

                    VMware Virtual Machine -

                    thanks

                    1 Reply Last reply Reply Quote 0
                    • BBcan177B
                      BBcan177 Moderator
                      last edited by

                      Can you try the following patch?
                      https://forum.pfsense.org/index.php?topic=110515.60

                      "Experience is something you don't get until just after you need it."

                      Website: http://pfBlockerNG.com
                      Twitter: @BBcan177  #pfBlockerNG
                      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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

                        @BBcan177:

                        Can you try the following patch?
                        https://forum.pfsense.org/index.php?topic=110515.60

                        Does it patch include in 2.1.2_2 version?

                        1 Reply Last reply Reply Quote 0
                        • T
                          thadude
                          last edited by

                          @BBcan177:

                          Can you try the following patch?
                          https://forum.pfsense.org/index.php?topic=110515.60

                          I tried the patch, it worked for a few days.  But now the ui hangs when connecting. Seems like there is a memory leak somewhere or something.

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