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

Applying many interfaces at once results in 504 gateway timeout #254

Closed
jaredhendrickson13 opened this issue Jun 28, 2022 · 0 comments · Fixed by #248
Closed

Applying many interfaces at once results in 504 gateway timeout #254

jaredhendrickson13 opened this issue Jun 28, 2022 · 0 comments · Fixed by #248
Labels
bug Something isn't working enhancement Issues or PRs that enhance existing features

Comments

@jaredhendrickson13
Copy link
Owner

Describe the bug
When applying many interfaces at once, the interface reload process takes longer than allowed by nginx/PHP. This forces a 504 gateway timeout to be returned.

Expected behavior
Instead of the API waiting for all interfaces to be applied in sequence, clients should be able to request the interfaces to be applied in the background and poll the apply status.

pfSense Version & Package Version:

  • pfSense Version: v2.6.0 (affects all versions however)
  • Package Version v1.4.2

Affected Endpoints:

  • URL: /api/v1/interface/apply
@jaredhendrickson13 jaredhendrickson13 added bug Something isn't working enhancement Issues or PRs that enhance existing features labels Jun 28, 2022
@jaredhendrickson13 jaredhendrickson13 linked a pull request Jun 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Issues or PRs that enhance existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant