OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Error HA XMLRPC sync not well formed
« previous next »
  • Print
Pages: [1]

Author Topic: Error HA XMLRPC sync not well formed  (Read 4116 times)

romain

  • Full Member
  • ***
  • Posts: 101
  • Karma: 9
    • View Profile
Error HA XMLRPC sync not well formed
« on: August 06, 2015, 11:11:09 am »
Hello,

I have this error in my console : An error occurred while attempting XMLRPC sync with username root and https://192.168.250.2:8888/xmlrpc.php parse error. not well formed

When I run the command :  /usr/local/etc/rc.filter_synchronize

I see that there is some PHP Warning and so the xml is not well formed :

Code: [Select]
Warning: Illegal string offset 'vip' in /usr/local/etc/inc/xmlrpc/legacy.inc on line 304

Warning: Invalid argument supplied for foreach() in /usr/local/etc/inc/xmlrpc/legacy.inc on line 304

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/etc/inc/xmlrpc/legacy.inc:304) in /usr/local/opnsense/contrib/IXR_Library.php on line 464

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/etc/inc/xmlrpc/legacy.inc:304) in /usr/local/opnsense/contrib/IXR_Library.php on line 465

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/etc/inc/xmlrpc/legacy.inc:304) in /usr/local/opnsense/contrib/IXR_Library.php on line 466

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/etc/inc/xmlrpc/legacy.inc:304) in /usr/local/opnsense/contrib/IXR_Library.php on line 467
<?xml version="1.0"?>
<methodResponse>
  <params>
    <param>
      <value>
      <boolean>1</boolean>
      </value>
    </param>
  </params>
</methodResponse>
error >>>
parse error. not well

I don't know where to looking for, any idea ?
Thank you
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 850
  • Karma: 163
    • View Profile
Re: Error HA XMLRPC sync not well formed
« Reply #1 on: August 10, 2015, 09:45:00 am »
I seems to be missing a check if the element exists, it should be there, but for some reason it's not.

This commit https://github.com/opnsense/core/commit/f9dff13dd5a7456b3ab1c0ead25248d3ecc74d15 will check before doing anything with the entry. It will be in our next release.

When both machines have vips configured manually, this shouldn't happen. That could be a way to work around this issue.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Error HA XMLRPC sync not well formed
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2