Add Note - Ajax 504 Error with FPM in Kubernetes

Created on 12 September 2024, 2 months ago
Updated 29 September 2024, about 2 months ago

Environment:

  • Azure Kubernetes Services
  • Two containers in the pod:
    • Apache
    • PHP-FPM

When adding a note, on save, Ajax errors out with a 504 Gateway Timeout.

When running in AKS without FPM, the error does not occur. Note that in a previous non-containerized environment, we used Apache and PHP-FPM on the same server and no error occurred. However, AKS/Docker-based deployment requires that Apache and PHP-FPM run in separate containers in the pod.

We are running two sites with this configuration and both are raising the same error. One of the sites is a large, complex site with a number of contrib and custom modules, but this is the only function where this Ajax 504 is occurring.

The Ingress is running on nginx. We have attempted increasing the proxy-read-timeout on the ingress but it did not resolve the issue; it merely increased the time until the 504 was returned.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024