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

    WebUI takes forever to load if UPS unreachable...

    Scheduled Pinned Locked Moved pfSense Packages
    8 Posts 3 Posters 1.4k 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
      jagdtigger
      last edited by

      Greetings!

      The title pretty much describes the issue, can this considered as a bug or works as intended? Because i find it odd for the webui to wait for the UPS check to be completed or time out.... (pfsense ce 2.6)

      Thanks in advance!

      dennypageD 1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That's almost certainly a problem in the widget for whichever package you are using (NUT or apcupsd) and not a general GUI or Dashboard problem. It probably needs a much lower timeout than it has.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 1
        • jimpJ jimp moved this topic from webGUI on
        • J
          jagdtigger
          last edited by

          Its NUT, i thought it was related to the dashboard.... Also no option in the settings (both widget and under services) to change timeout.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I don't mean a timeout option for you to set, but whatever backend process is polling the UPS data needs a better timeout.

            Open an issue on https://redmine.pfsense.org/projects/pfsense-packages for the NUT package

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • dennypageD
              dennypage @jagdtigger
              last edited by

              @jagdtigger I haven't received any other reports of this, nor do I see this myself.

              Questions:

              • Can you clarify what you mean when you say the UPS is "unreachable"?
              • What type of UPS is it? SNMP?
              • Was the UPS available when the NUT processes started?
              • What if anything do you have in the Extra Arguments to driver section (Services -> UPS -> UPS Settings)?
              • What if anything do you have in the Advanced settings section?
              J 1 Reply Last reply Reply Quote 0
              • J
                jagdtigger @dennypage
                last edited by jagdtigger

                @dennypage said in WebUI takes forever to load if UPS unreachable...:

                Can you clarify what you mean when you say the UPS is "unreachable"?

                Sometimes the machine that runs NUT (its a separate box, pfsense connect to it as client) and connected to the UPS via USB cable locks up and becomes totally unresponsive.

                @dennypage said in WebUI takes forever to load if UPS unreachable...:

                What type of UPS is it? SNMP?

                APC Back-UPS 1400, USB only.

                @dennypage said in WebUI takes forever to load if UPS unreachable...:

                Was the UPS available when the NUT processes started?

                Technically yes(its always directly plugged into the machine via usb), but usually i have to restart nut-server manually to make NUT expose it top the network.

                dennypageD 1 Reply Last reply Reply Quote 0
                • dennypageD
                  dennypage @jagdtigger
                  last edited by

                  @jagdtigger said in WebUI takes forever to load if UPS unreachable...:

                  Sometimes the machine that runs NUT (its a separate box, pfsense connect to it as client) and connected to the UPS via USB cable locks up and becomes totally unresponsive.

                  Okay, that's not a scenario I tested. I'll have a look.

                  I am assuming that the host running the NUT sever is using a fixed IP address, yes? And in the NUT config on pfSense, are you using the IP address (rather than hostname) to identify the NUT sever?

                  I'm sure you've already thought about this, but I'll just bring it up to make myself feel better... If the host that is running the NUT sever can become unresponsive, you are at significant risk of a failure if power should go out while the server is being unresponsive. You might want to consider moving to using pfSense as the NUT sever and having the other host as a client. NUT on pfSense is very stable.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jagdtigger @dennypage
                    last edited by

                    @dennypage said in WebUI takes forever to load if UPS unreachable...:

                    I am assuming that the host running the NUT sever is using a fixed IP address, yes? And in the NUT config on pfSense, are you using the IP address (rather than hostname) to identify the NUT sever?

                    Yep, my whole network is based around fixed IP's, either both on the machine and dhcp server or only in dhcp server. And yes pfsense connects via IP.

                    @dennypage said in WebUI takes forever to load if UPS unreachable...:

                    You might want to consider moving to using pfSense as the NUT sever and having the other host as a client. NUT on pfSense is very stable.

                    Well my room is kinda limited because of the network cabling, the pfsense box and the UPS is on the opposite end of my room. Would require a 5 meter+ cable to connect the 2. Thats why i opted for a dedicated box and ATM this problematic box is the only one i can use. Done a few things to it including installing intel-microcode package and seems to be stable now ( knocks on wood ).

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