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

An error code was received while attempting CaptivePortalVoucherSync

Scheduled Pinned Locked Moved Captive Portal
4 Posts 1 Posters 2.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
    Slam
    last edited by Apr 5, 2013, 7:51 AM Apr 5, 2013, 7:42 AM

    I use the "Voucher database synchronization" feature of the captive portal on a remote alix box, it syncs with the main captive portal via vpn, the error occurs everytime a captive portal users session expires.

    My setup is:

    vm (vpn server)–--vpn tunnel----alix
    192.168.1.x           172.16.1.x      192.168.2.x

    Systems log

    Apr 5 02:41:12 php: : New alert found: An error code was received while attempting CaptivePortalVoucherSync XMLRPC sync with https://192.168.1.1:443 - Code 2: Invalid return payload: enable debugging to examine incoming payload
    Apr 5 02:41:12 php: : An error code was received while attempting CaptivePortalVoucherSync XMLRPC sync with https://192.168.1.1:443 - Code 2: Invalid return payload: enable debugging to examine incoming payload
    Apr 5 02:41:12 php: : Captive Portal Voucher XMLRPC sync data https://192.168.1.1:443.

    Portal auth

    Apr 5 02:41:12 logportalauth[57608]: TIMEOUT: JHjFM3, c0:f8:da:a7:81:45, 10.0.2.146
    Apr 4 21:15:20 logportalauth[27353]: Voucher login good for 23055 min.: JHjFM3, c0:f8:da:a7:81:45, 10.0.2.146

    Is anyone else experiencing the same thing or could it be a simple config error on my part?

    1 Reply Last reply Reply Quote 0
    • S
      Slam
      last edited by Apr 6, 2013, 2:26 PM

      Users with similar problems

      http://forum.pfsense.org/index.php/topic,49884.0.html

      http://forum.pfsense.org/index.php/topic,38921.0.html

      http://forum.pfsense.org/index.php/topic,40860.0.html

      I am running 2.0.3 X64B snapshot from 28/Apr

      1 Reply Last reply Reply Quote 0
      • S
        Slam
        last edited by Apr 13, 2013, 5:22 PM

        I've since migrated my setup to use freeradius authentication, I've switched voucher sync off on both the master and slave, yet I still get the same error when a user logs off on the alix (slave).

        I noticed also that even though I have "Enable Vouchers" unticked on the "Vouchers" tab, "Voucher database has been synchronized from https://192.168.1.1:443" shows up after hitting the same button.

        Any remedy apart from editing config.xml and restoring? any voucher db needs to be deleted too?

        Thanks

        1 Reply Last reply Reply Quote 0
        • S
          Slam
          last edited by Apr 17, 2013, 9:08 PM Apr 17, 2013, 9:06 PM

          Ive since upgraded to 2.1 and it seems the config has migrated the error with it, in the end I had to edit my config and remove any reference to "vouchers", (even tho voucher support was disabled) restored the edited config, reboot and everything fine since then.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received