The pfSense Store

Author Topic: 504 Gateway Timeout on pfSense 2.4  (Read 817 times)

0 Members and 1 Guest are viewing this topic.

Offline fraglord

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +1/-0
    • View Profile
504 Gateway Timeout on pfSense 2.4
« on: October 23, 2017, 04:49:47 pm »
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

Offline Jailer

  • Sr. Member
  • ****
  • Posts: 399
  • Karma: +54/-2
    • View Profile
    • Bored Guy Blog
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #1 on: October 23, 2017, 04:56:37 pm »
Reinstall and choose ZFS instead of UFS for the file system.

Offline fraglord

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +1/-0
    • View Profile
pfSense 2.4.0 (amd64) running on IGEL H710C | 1G RAM | 8G SSD | INTEL PRO/1000 PT Dual NIC

Offline JohnPFsense

  • Newbie
  • *
  • Posts: 12
  • Karma: +1/-0
    • View Profile
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #3 on: October 24, 2017, 08:31:03 am »
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.

Offline sidewinder

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #4 on: November 01, 2017, 01:37:14 pm »
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? 

Offline Gektor

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #5 on: November 02, 2017, 12:36:55 am »
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.

Offline PfKomrad

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #6 on: November 24, 2017, 03:27:33 pm »
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!

Offline thadude

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #7 on: November 29, 2017, 10:09:39 pm »
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

Offline BBcan177

  • Moderator
  • Hero Member
  • *****
  • Posts: 2553
  • Karma: +796/-5
    • View Profile
    • Click for Support
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #8 on: December 01, 2017, 10:26:30 am »
"Experience is something you don't get until just after you need it."

 | http://pfblockerng.com | Twitter @BBcan177  | #pfBlockerNG |

Offline Gektor

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #9 on: December 05, 2017, 02:43:24 pm »
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?

Offline thadude

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: 504 Gateway Timeout on pfSense 2.4
« Reply #10 on: December 06, 2017, 12:46:57 am »
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.