Captive portal voucher db sync issue
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: /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: /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.
You have problems since the main node should not be configured to sync vouchers anywhere.
Only the slave nodes should sync with main node.
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"?
What snapshot are you on?
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.
There is a fix on 2.0 for this now.
Update to latest snapshot.