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

    Captive portal voucher db sync issue

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 2 Posters 4.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.
    • S
      stmarat
      last edited by

      Hi all,

      I have faced with an issue with captive portal voucher database synchronization: when I add new voucher roll on the main node, I get an error on the second node:
      Jul 6 15:21:04 php[887]: /index.php: New alert found: An error code was received while attempting CaptivePortalVoucherSync XMLRPC sync with http://10.10.68.2:80 - Code 2: Invalid return payload: enable debugging to examine incoming payload
      Jul 6 15:21:04 php[887]: /index.php: An error code was received while attempting CaptivePortalVoucherSync XMLRPC sync with http://10.10.68.2:80 - Code 2: Invalid return payload: enable debugging to examine incoming payload

      After that captive portal doesn't want to authenticate any user or voucher, and WebConfigurator becomes unavailable. When I reboot pfsense host, voucher database syncs successfully and it works fine until I add new voucher roll on main node.

      Thanks for any help.

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        You have problems since the main node should not be configured to sync vouchers anywhere.
        Only the slave nodes should sync with main node.

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

          Main node is not configured to sync vouchers - otherwise I wouldn't be able to create new rolls :)
          Does anyone know how to "enable debugging to examine incoming payload"?

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            What snapshot are you on?

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

              It was 2.0-RC3 (i386) built on Sun Jun 26 20:44:17 EDT 2011.
              Today I've upgraded it to Jul 14 01:23:35 EDT 2011, but get the same error.

              And there is odd behavior of one voucher on the second node (which has synced db): it is active and on "test vouchers" tab it shows: 6VWJjz8pyAj (11993/2) active and good for 5560 Minutes
              But captive portal doesn't accept it with error: Voucher invalid
              On the node with main db everything's fine.

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                There is a fix on 2.0 for this now.
                Update to latest snapshot.

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