Questions tagged [http-status-code-504]

504 Gateway Timeout. The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.

279 questions
0
votes
1 answer

Long running backend process giving 504 gateway timeout error. SpringBoot backend, AWS EKS Ingress

I am facing a problem where my backend application is doing some complex calculation and due to which its taking more more than 2 minutes to complete and I am constantly getting 504 gateway timeout. When I check the logs using pod logs watch…
0
votes
0 answers

Getting a 504 error when accessing Next.js frontend with GraphQL API hosted on AWS Lightsail and WordPress backend on SiteGround

I have set up a Next.js frontend as a headless WordPress application, with the WordPress backend hosted on SiteGround and the Next.js frontend hosted on AWS Lightsail. I'm using GraphQL for API calls between the frontend and backend. Locally, the…
0
votes
0 answers

Increase timeout for fetch to avoid 504 gateway timeout

I got a typescript code which uses fetch to make a long running http request. The request can sometime take a while and I don't want a 504 gateway timeout to be thrown after the default timeout. Is there a way to increase the time until a 504 error…
CodeMonkey
  • 11,196
  • 30
  • 112
  • 203
0
votes
0 answers

nginx config for eventsources in Kubernetes

i have relatively specific problem that doesn't seem to have a specific solution! The situation looks like this: A Spring-Boot Backend is running in a container, in a pod, in a daemonset, in Kubernetes. In the same pod there is a second container…
0
votes
0 answers

How to allow cross-domain requests with local-web-server?

I use local-web-server 5.3.0 to run my single page application locally: ws --spa index.html When the app tries to get data from a publically available URL https://www.my-domain.com/my-file.json, the request fails with: Status 504 Gateway…
Marco Eckstein
  • 4,448
  • 4
  • 37
  • 48
0
votes
2 answers

Python Flask apps encountering '504 deadline error' when fetching secret versions from Google Secret Manager

I have multiple Flask apps that rely on the Python Secret Manager client to fetch secret versions from Google Secret Manager. However, starting today, all of these apps are encountering a "504 deadline error" when they attempt to fetch the secret…
0
votes
0 answers

504 Gateway Time-out on HostGator

Is anyone else hosting with HostGator Reseller? They seem to just be getting worse and worse over time. I am having multiple short 504 Gateway Time-out errors on a couple of websites and am waiting wondering what other websites of mine it's…
0
votes
0 answers

How to increase Client Side Fetch Method Waiting time

I have created a flask app using which takes audio files and audio recording as input and gives output as a transcription of that file using the open ai whisper model. So for small files it works well but for large file then it takes time to…
0
votes
0 answers

How to troubleshoot AWS Elastic Beanstalk Django Deployment getting 504 Gateway Timeout

I have created a Django site on AWS and the main page will work and the Admin page will work. Any attempt to link to anything else results in a Gateway Timeout 504 error. I think it is similar to this unanswered post: Elastic Beanstalk 504 Gateway…
0
votes
0 answers

How to recover (sub)domains locked in HTTP error 504 gateway time-out by Nextcloud on Docker behind Nginx reverse proxy?

Issue description I have set up several Nextcloud instances behind an Nginx reverse proxy on Docker containers using Docker compose. Any Nextcloud instance on which the recommended apps were installed after initializing the admin account, ran into…
fuggi
  • 321
  • 5
  • 14
0
votes
0 answers

Gateway 504 Timeouts Serving an API in Golang

I have a function running on a Go Web server that performs some analysis and then returns a response. It returns a JSON result set when calling its API interface with an HTTPS GET. The function is served with a handler using…
0
votes
1 answer

Next JS - MongoDB / 504 GATEWAY_TIMEOUT Vercel at Dynamic Route

I am using Mongo DB shared clustered and Vercel free. First of all, locally there is no timeout issues, my MongoDB connection uses mongoose so i am calling always the same connection. Moreover, at vercel the problem is the first time i connect,…
0
votes
0 answers

Vercel Env Variables Not Working For Next JS API

I am working on a simple chat gpt app that takes messy meeting notes and organizes them via chat gpt api. I am new to Next.js and Vercel and am doing this mostly to learn. Project: project github This code works just fine on my localhost including…
0
votes
1 answer

How do I capture a 504 error in PHP cURL?

I have the CURL request below, and it is returning a 504 error. I want to echo out the fact that it is timing out to the UI, right now the UI isn't notified, but the Chrome console is. Is there a way I can grab the 504 and drop it in an if…
Ping
  • 191
  • 1
  • 12
0
votes
0 answers

Problem importing dependencies in ReactJS throws error 504, 404

GET http://*********/node_modules/aos/dist/aos.css net::ERR_ABORTED 404 (Not Found) GET http://********/node_modules/.vite/deps/react-multi-carousel.js?t=1676134920948&v=81c420b2 net::ERR_ABORTED 504 (Gateway Timeout) I have installed some…