OPNsense Forum

English Forums => Development and Code Review => Topic started by: oscars on April 30, 2023, 03:15:13 AM

Title: generateVouchers API -error-?
Post by: oscars on April 30, 2023, 03:15:13 AM
Hi there guys,

I'm trying to generate the voucher itself within the captive portal after a few tries I was able to connect to all the endpoints at voucher however I got a 200 ok with the status of error.

First problem was actually hitting the endpoint within the captive portal so I managed to pass that editing the proxy config and I'm able to access the voucher endpoint however no matter what I tried I can't get to generate the voucher with javascript.

UPDATE:
Forget it. After a few days I got it.

It seems that I just screw the service and it wasn't working even with the GUI. a Fresh install did the trick