Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pfsense-api environment crash can still submit a post but the gui can't see the result #447

Open
ouyoung33 opened this issue Mar 12, 2024 · 2 comments
Labels
troubleshooting Issues that are troubleshooting requests or need troubleshooting before proceeding

Comments

@ouyoung33
Copy link

My colleague through the pfsense API to submit article about 1.1 million aliases to until after the firewall, the firewall ERROR: "/ API/v1 / firewall/alias/index. The PHP: New alert found: PHP ERROR: Type: Then add any aliase to the firewall again, and the request will appear successful, but from the perspective of the gui, it is not generated at all. Then I uninstall the api and reinstall the api and the problem is not solved

The attached.txt is the instruction they submit
image
Uploading 企业微信截图_17102125988486.png…
response_1710212289247.txt

@ouyoung33
Copy link
Author

Screenshot of an error message
image

@jaredhendrickson13 jaredhendrickson13 added the troubleshooting Issues that are troubleshooting requests or need troubleshooting before proceeding label Apr 11, 2024
@jaredhendrickson13
Copy link
Owner

This error is coming from pfSense itself. After your API call, pfSense detects a problem with your config, but an error is thrown while pfSense is attempting to restore the previous config. Your configuration is in a bad state. You can try to look at the bad config in /conf/config.xml.bad after you get the error and see if there is anything obviously wrong. It's also possible your configuration has just become too large for pfSense/PHP to read on your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting Issues that are troubleshooting requests or need troubleshooting before proceeding
Projects
None yet
Development

No branches or pull requests

2 participants