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

IPSEC widget error

Scheduled Pinned Locked Moved IPsec
14 Posts 9 Posters 3.5k 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
    SoloIT
    last edited by Nov 23, 2015, 11:53 PM

    I'm getting the following error when the IPSec dashboard widget is on:
    php-fpm[40500]: /index.php: XML error: no leases object found!

    I see there was a bug filed (https://redmine.pfsense.org/issues/4130) and fixed for the same issue. Any guidance would be appreciated.

    Thanks,
    George

    1 Reply Last reply Reply Quote 0
    • N
      Netizen1
      last edited by Dec 5, 2015, 12:43 PM

      I also came upon this issue and noticed the bug fix SoloIT highlighted. Was this not merged into the main branch?

      1 Reply Last reply Reply Quote 0
      • M
        morrisasapmsp
        last edited by Dec 9, 2015, 6:23 PM

        Saw the original bug request while searching, and then fell upon this thread. I've just received this as well while running trace routes to various locations. GUI would not load for about three minutes.

        Dec 9 12:08:43	php-fpm[44529]: /index.php: XML error: no leases object found!
        Dec 9 12:17:10	php-fpm[66198]: /index.php: XML error: no leases object found!
        Dec 9 12:17:10	php-fpm[66198]: /index.php: XML error: no leases object found!
        
        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Dec 9, 2015, 6:41 PM

          There are multiple reasons you can get that message. The one in the linked bug ticked was fixed before 2.2.0 release and hasn't been a problem in any release version. The other reasons it can be encountered no longer exist at all in 2.2.5 as the IPsec status no longer uses the strongswan SMP plugin. So, upgrade.

          1 Reply Last reply Reply Quote 0
          • N
            Netizen1
            last edited by Dec 9, 2015, 7:28 PM

            @cmb, I'm already running latest stable release 2.2.5

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by Dec 9, 2015, 8:25 PM

              "no leases object found" does not exist anywhere in the code of 2.2.5.

              1 Reply Last reply Reply Quote 0
              • N
                Netizen1
                last edited by Dec 9, 2015, 8:38 PM

                Interesting… seems like we've entered the Twilight Zone on this one....

                
                2.2.5-RELEASE (i386) 
                built on Wed Nov 04 15:50:18 CST 2015 
                FreeBSD 10.1-RELEASE-p24
                
                

                And here it is again, a couple minutes ago after I refreshed the Dashboard with the IPsec widget shown (as noted in the reported bug)

                
                Dec 9 16:37:26	php-fpm[29816]: /index.php: XML error: no leases object found!
                Dec 9 16:35:51	php-fpm[16176]: /index.php: XML error: no leases object found!
                Dec 9 15:10:08	php-fpm[78110]: /index.php: XML error: no leases object found!
                
                
                1 Reply Last reply Reply Quote 0
                • D
                  dotdash
                  last edited by Dec 9, 2015, 9:13 PM

                  I'm getting this on a 2.2.5 full (amd64) install that had the config from a 2.1.5 nano (i386) box loaded on it. Remove the ipsec widget from the dashboard and it goes away, add it back and the error returns.

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by Dec 10, 2015, 2:05 AM

                    I see where it's happening, it's not the same as previous (that code doesn't exist anymore), just something the XML parser spits out when trying to read empty XML and it fills in the tag it's looking for.

                    I'll either fix it when I have a moment later, or open a new bug ticket. It's just harmless log spam where you have no connected mobile users in this case.

                    1 Reply Last reply Reply Quote 0
                    • V
                      vergilis
                      last edited by Dec 14, 2015, 11:29 PM

                      Chris,

                      Do you need more samples to narrow down this error? I can duplicate it on every 2.1.5 system.

                      Thank you.

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned
                        last edited by Dec 14, 2015, 11:42 PM

                        @vergilis:

                        I can duplicate it on every 2.1.5 system.

                        Sure like hell noone's going to be fixing anything in 2.1.5.

                        1 Reply Last reply Reply Quote 0
                        • V
                          vergilis
                          last edited by Dec 14, 2015, 11:45 PM

                          My apologies. I meant to say every 2.2.5 system. Sorry for the confusion.

                          Thank you.

                          1 Reply Last reply Reply Quote 0
                          • L
                            luckman212 LAYER 8
                            last edited by Feb 9, 2016, 7:17 AM

                            This is on 2.2.6 as well… I just noticed it

                            1 Reply Last reply Reply Quote 0
                            • M
                              maverick_slo
                              last edited by Feb 9, 2016, 10:10 AM

                              2.3 is not affected :)

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                [[user:consent.lead]]
                                [[user:consent.not_received]]