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

    New 502 Bad Gateway

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    281 Posts 67 Posters 205.2k 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.
    • J
      JeffV
      last edited by

      I haven't had any issues on any of my boxes for quite a while now on pfsense 2.4.2 and the latest pfblockerng.  I was waiting long enough to say with some level of confidence that this issue appears to be resolved but I think it may finally be safe enough to actually say it.  Hopefully, that doesn't jinx me!

      Much thanks to BBCan117 and everyone else that had a hand in troubleshooting and resolving this.  pfblockng is a wonderful tool and I'm happy to be able to use it again without concern.

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

        @PiBa:

        Thanks for the feedback, fyi: pfBlocker 2.1.2_2 includes my patch.

        PackageManager shows 2.1.2_1 as the latest available. When will  2.1.2_2 be available ?

        I've been running with the quick and dirty fix mentioned earlier in this thread for several weeks now without any 502 happenings . I don't want to go through all the trouble we had at three sites one more time because of the 502 problem .. I must know for sure.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          For those running 2.4.3, seems it's already running 2.1.2_2

          Nice one!

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

            Its available on 2.3.5:
            https://files00.netgate.com/pfSense_v2_3_5_i386-pfSense_v2_3_5/All/pfSense-pkg-pfBlockerNG-2.1.2_2.txz
            https://files00.netgate.com/pfSense_v2_3_5_amd64-pfSense_v2_3_5/All/pfSense-pkg-pfBlockerNG-2.1.2_2.txz
            And on 2.4.2:
            https://files00.netgate.com/pfSense_v2_4_2_amd64-pfSense_v2_4_2/All/pfSense-pkg-pfBlockerNG-2.1.2_2.txz

            1 Reply Last reply Reply Quote 0
            • mtarboxM
              mtarbox
              last edited by

              I was running 2.4.2 on UFS, and decided to upgrade to ZFS with the config.xml pull.
              Prior to the upgrade, I was using maybe 40% memory, and now I am up to 70%.
              Still does what pfsense is designed to do.
              How can I help out?

              ![Screenshot from 2017-12-22 17-08-58.png](/public/imported_attachments/1/Screenshot from 2017-12-22 17-08-58.png)
              ![Screenshot from 2017-12-22 17-08-58.png_thumb](/public/imported_attachments/1/Screenshot from 2017-12-22 17-08-58.png_thumb)
              ![Screenshot from 2017-12-22 17-05-14.png](/public/imported_attachments/1/Screenshot from 2017-12-22 17-05-14.png)
              ![Screenshot from 2017-12-22 17-05-14.png_thumb](/public/imported_attachments/1/Screenshot from 2017-12-22 17-05-14.png_thumb)

              Si vis pacem, para pactum.

              1 Reply Last reply Reply Quote 0
              • B
                bishoptf
                last edited by

                Not sure if I should open a new thread but my firewall went sideways about an hour ago, running latest released along with PFblocker, ntopng, autoconfigbackup and openvpn.  Kids texted me that the internet was down and got home and when I tried to connect received the 502 bad gateway. I am running latest packages for those that are listed.

                I haven't pulled the logs completely yet but see this over and over  - Could not connect to /var/run/php-fpm.socket.

                1 Reply Last reply Reply Quote 0
                • B
                  bishoptf
                  last edited by

                  I'm still getting 502 bad gateway error's, they are not often but had my second instance in a month.  Attached file contains the debugging steps that has been requested. Restarting PHP-FPM did not resolve the issue, I had to reboot in order to correct my issues.  Would like to get this corrected since I've never had the issue in the past.

                  Let me know if you have any questions.

                  trouble.txt

                  1 Reply Last reply Reply Quote 0
                  • B
                    beatstick
                    last edited by

                    I also still get the Bad Gateway error once a day or so. I will attach the log the next time it occurs.

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

                      next time it occurs, login to the shell and get a list of the processes running, ideally in verbose format.

                      pfSense CE 2.7.2

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

                        I am, for the first time, seeing 502 Bad Gateway. Upgraded today to the latest snapshot on my SG-3100.
                        I do still have internet service so I will wait a bit until someone says they have an idea.

                        Restarted via console, loaded very latest snapshot and now waiting to see if the issue pops up again.

                        As of 8PM, its an issue again. I guess I need to revert to a previous release and wait a bit for the snapshots.

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