New 502 Bad Gateway
-
I successfully applied the 2.1.2 pfBlockerNG update. I did a reboot when the update completed. I am able to access the web GUI and SSH with no issues. I'll report back later today to make sure I can still access the web gui and SSH after it has been running for awhile.
It has been several days since I applied the pfBlockerNG 2.1.2 update. Everything is running normal. The upgrade fixed my 502 Bad Gateway and SSH logon issues.
-
Hi,
getting the same issue after upgrade from 2.3.x to 2.4.0 even with the latest pfB update. Uptime varies between 15-30 hours till its happening again.
-
Well now I'm getting a 504 Gateway timeout and no console. It was up for about 10 hours before the GUI and console went out. See attached text file for the requested info.
pfSense 2.40
pfBlockerNG 2.1.2
Snort - 3.2.9.5_2 -
Getting alot of 502 bad gateway without any package installed at all.
-
@rightnow, and anyone else having 502 issues.
Please do gather the requested information from:
https://forum.pfsense.org/index.php?topic=137103.msg753994#msg753994
(if console doesn't respond Ctrl+Z and start /bin/tcsh then get the information.) -
I also have 502 Bad Gateway on pfSense 2.4 and pfblockerng 2.1.2…... :-\
-
I also have. Work with v.2.4.1 ..
-
hee Jim,
https://pastebin.com/JVMQTWbY
bad gateway 502 issue
-
I have get 502 Bad Gateway and use pfsense 2.4.0 pfblockerng 2.1.2
How to fix it? -
hee Jim,
https://pastebin.com/JVMQTWbY
bad gateway 502 issue
That looks like it was taken just after a reboot, not when the problem was happening. No sign of anything getting backed up in there.
-
I also have 502 Bad Gateway on pfSense 2.4 and pfblockerng 2.1.2…... :-\
And judging by the output, it's still DNSBL getting backed up.
-
I also have 502 Bad Gateway on pfSense 2.4 and pfblockerng 2.1.2…... :-\
And judging by the output, it's still DNSBL getting backed up.
That why the report of @rightnow would be interesting. As he has this error without any packages installed. Makes me wonder if some other component causes (part of) the problem, and maybe pfBlocker is just the most visible to suffer from that 'defect'.
-
That why the report of @rightnow would be interesting. As he has this error without any packages installed. Makes me wonder if some other component causes (part of) the problem, and maybe pfBlocker is just the most visible to suffer from that 'defect'.
If that were the case there should be some other sign of stress on the PHP-FPM socket, and there isn't. Most likely it's a completely unrelated problem that happens to present with one common symptom.
-
That why the report of @rightnow would be interesting. As he has this error without any packages installed. Makes me wonder if some other component causes (part of) the problem, and maybe pfBlocker is just the most visible to suffer from that 'defect'.
If that were the case there should be some other sign of stress on the PHP-FPM socket, and there isn't. Most likely it's a completely unrelated problem that happens to present with one common symptom.
It has started becoming an issue for me again. I have attached my outputs as requested.
Netgate Sg-4860
Ver. 2.4.0
pfBlocker
Ver. 2.1.2[pfSense Freeze.txt](/public/imported_attachments/1/pfSense Freeze.txt)
-
That why the report of @rightnow would be interesting. As he has this error without any packages installed. Makes me wonder if some other component causes (part of) the problem, and maybe pfBlocker is just the most visible to suffer from that 'defect'.
If that were the case there should be some other sign of stress on the PHP-FPM socket, and there isn't. Most likely it's a completely unrelated problem that happens to present with one common symptom.
If thats the case I’m curious as to why a ZFS install mitigates it?
-
I also have 502 Bad Gateway on pfSense 2.4 and pfblockerng 2.1.2…... :-\
And judging by the output, it's still DNSBL getting backed up.
That why the report of @rightnow would be interesting. As he has this error without any packages installed. Makes me wonder if some other component causes (part of) the problem, and maybe pfBlocker is just the most visible to suffer from that 'defect'.
I did a fresh install of 2.4 and had pfblockerng with the issue. I didn't come on the forum so didn't know of the instructions to get log details.
However, I disabled pfblockerng and have not had a lock up for over 24 hours. Let me run without pfblockerng for a bit more then switch it back on and see.
-
mine crashes right away if enabled but with pfblockerng disabled it crashes a lot later like 24-28 hrs after.
Is this fixed if I select the developer update ? or is this still a work in progress>
-
mine crashes right away if enabled but with pfblockerng disabled it crashes a lot later like 24-28 hrs after.
Is this fixed if I select the developer update ? or is this still a work in progress>
If you have this same issue with pfBlocker and DNSbl disabled, then please provide the information requested to see if it is really the same behavior in the background, that might help tell what causes it. And once the root cause is known, a fix can be made, not before..
-
As per jimp's suggestion, please try these two patched files which use a pfSense function called try_lock() as opposed to flock().
Run the following commands to download the patched version of the two files from my Github Gist:
fetch -o /usr/local/www/pfblockerng/www/index.php "https://gist.githubusercontent.com/BBcan177/9f9c8e62b166cee07ad16cd4ff59103c/raw" fetch -o /usr/local/pkg/pfblockerng/pfblockerng.inc "https://gist.githubusercontent.com/BBcan177/7ff15715be0f02afdbe0a00c676aedce/raw"
Recommend a reboot after downloading the patches.
You can review the Gist revisions here:
index.php
https://gist.github.com/BBcan177/9f9c8e62b166cee07ad16cd4ff59103c/revisionspfblockerng.inc
https://gist.github.com/BBcan177/7ff15715be0f02afdbe0a00c676aedce/revisionsNote: The try_lock() function calls might require increasing the timeout setting from the default setting of "5" (seconds)
-
Made a couple changes to the code… So if you have downloaded these files prior to this post, please re-download the same URLs above to get the new changes.... Thanks!