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

    pfblockerNG 3.2.0_6 unable to open reports

    Scheduled Pinned Locked Moved pfBlockerNG
    9 Posts 3 Posters 1.1k 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.
    • S
      scorpoin
      last edited by

      Greetings,

      I'm having issue with reports tab when I click on reports it took a lot of time and comes up with 500 error :/ . pfsense version 2.7 ce . Any idea what is wrong how to fix this error.

      Regards

      S GertjanG 2 Replies Last reply Reply Quote 0
      • S
        scorpoin @scorpoin
        last edited by

        @scorpoin any one having this issue. I can not acces reports tab of pfblockerng it is taking long and then error :/.

        J 1 Reply Last reply Reply Quote 0
        • J
          jrey @scorpoin
          last edited by

          @scorpoin said in pfblockerNG 3.2.0_6 unable to open reports:

          and then error

          and the error is ?

          S 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @scorpoin
            last edited by

            @scorpoin

            Can you tell us what the size of these logs files are ?
            Select them one by one, the size is shown.

            Like :

            71c9e63b-5323-44ae-966e-92e29e98ed15-image.png

            If you have a 'huge' file, then the issue can be that PHP takes to much time to parse and build the report, the web server becomes impatient, and bails out = the 500 error.

            The log files are normally kept under control with :

            493e4bb2-6c1f-472f-8ae3-df52dcf458c5-image.png

            so it's easy to create "way to big" log files that can't be parsed .... ;)

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • S
              scorpoin @jrey
              last edited by scorpoin

              @jrey Thanks for your prompt response,

              Do I need to adjust that given log setting increasing value and then recheck with reports . I have changed the default setting from 20000 to 1000000, After changes still same error 504 gatway time-out :/ .
              Regards

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @scorpoin
                last edited by

                @scorpoin said in pfblockerNG 3.2.0_6 unable to open reports:

                I have changed the default setting from 20000 to 1000000

                @Gertjan said in pfblockerNG 3.2.0_6 unable to open reports:

                so it's easy to create "way to big" log files that can't be parsed .... ;)

                set them back to the default value.

                Do also a force reload of pfBlockerng.
                Check the file sizes as mentioned above.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                S 1 Reply Last reply Reply Quote 0
                • S
                  scorpoin @Gertjan
                  last edited by

                  @Gertjan
                  file size is large when I check dnsbl.log file its size is : 18623428 :/ .

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @scorpoin
                    last edited by

                    @scorpoin said in pfblockerNG 3.2.0_6 unable to open reports:

                    file size is large when I check dnsbl.log file its size is : 18623428 :/ .

                    Ok, now we're get somewhere.
                    18623428 or a bit more as 18 Mbytes will 'explode' PHP, so nginx shows a gateway lost error.

                    The question is now : why are these files not truncated ?
                    I presume that on every cron (CRON Settings) on the main pfBlocker page, the files are tested and truncated if needed.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jrey @Gertjan
                      last edited by

                      @Gertjan said in pfblockerNG 3.2.0_6 unable to open reports:

                      The question is now : why are these files not truncated ?

                      the tail command that does the truncate, is likely consuming too many resources (or taking too long) and failing.

                      @scorpoin

                      With a file that big it might be faster at this point to just delete it and let it start fresh, then monitor the size for a while.

                      if you need a copy (home use? why?) you could download it first, and then hit the trash can, both options on this screen.

                      Screen Shot 2023-11-14 at 5.32.59 AM.png

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