Netgate SG-1000 microFirewall

Author Topic: After upgrade 502 Bad Gateway  (Read 499 times)

0 Members and 1 Guest are viewing this topic.

Offline shortspecialbus

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: After upgrade 502 Bad Gateway
« Reply #15 on: December 20, 2017, 05:48:35 pm »
I don't have pfblocker myself.  My 502 errors seem to start after trying to restart a service, such as bandwidthd (I was trying to get Postgres working before I realized that postgres support isn't available in pfsense's bandwidthd presently.)

I'll look into applying that patch if I continue having issues, so far it's been stable for a few days, but possibly because I've only been looking at things rather than restarting services

Offline lasocean

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: After upgrade 502 Bad Gateway
« Reply #16 on: December 20, 2017, 06:06:31 pm »
I don't know if it's related, but...
I decided not to login to the WebConfigurator until after most users had left for the day.
Immediately after logging in, I removed OpenVPN Widget from the Dashboard, just in case it's something on the dashboard that causing an issue.
I believe that's the only widget I had added to the Dashboard.  But, it's not a recent addition.
I have been able to view different pages without the running into Bad Gateway issue, so far.

All this may be irrelevant.
I will post an update tomorrow re recurrence of the issue.

We have had a couple glitches with provider for WAN link in the last couple days.  Dunno if WAN going down or coming back online triggered issue.

Offline lasocean

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: After upgrade 502 Bad Gateway
« Reply #17 on: December 22, 2017, 02:23:33 pm »
Update
Sometimes receive Bad Gateway Error, but simply refreshing the page will have it load correctly.
If Bad Gateway persists after multiple Refresh attempts, restarting PHP-PFM seems to help.

Browsing and OpenVPN Connections seem to be having difficulty at times.
Sometimes restarting the system helps for a while.

Only started seeing these issues since Patch 1 Update for 2.4.2

Offline chrcoluk

  • Sr. Member
  • ****
  • Posts: 407
  • Karma: +22/-50
    • View Profile
Re: After upgrade 502 Bad Gateway
« Reply #18 on: December 23, 2017, 01:21:20 am »
https://forum.pfsense.org/index.php?topic=110515.msg766964#msg766964

More information on what me and Martin worked on, I am hoping my patch which Martin submitted on github got accepted, but maybe it didnt, as the patch should resolve this issue for anyone using pfsense on hardware with at least 1 gig of ram.

--edit--

It has been approved 2 days ago.

https://github.com/pfsense/pfsense/pull/3881
https://redmine.pfsense.org/issues/8125
« Last Edit: December 23, 2017, 01:25:30 am by chrcoluk »
pfSense 2.4
Qotom Q355G4 or Braswell N3150 with Jetway mini pcie 2x intel i350 lan - 4 gig Kingston 1333 C11 DDR3L
 - 60 gig kingston ssdnow ssd - ISP Sky UK