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
0 answers

Wagtail CMS in a high traffic situation for a University

We have a Wagtail server deployed in one of the 3rd party datacenters. The deployment architecture is very simple and conventional. Proxy (Nginx)--> App Server --> DB. The portal looks good with medium traffic, but when some events happen in the…
kallada
  • 1,829
  • 4
  • 33
  • 64
0
votes
0 answers

How to find out why a sequelize express app times out (POST status 504)

There is one specific route that times out. const express = require("express"); const router = express.Router(); router.post("/route", postRoute); ... other routes module.exports = router; async function postRoute(req, res) { …
0
votes
0 answers

CORS policy issue while connecting from Angular to Spring boot

I am facing below issue while integrating front end code with back end in test server. Access to fetch at 'https://jdapi-dev.xxxx.tech/api/v1/userManagement/jdUser/JD2343/active' from origin 'https://jdfront-test.heptagon.tech' has been blocked by…
Anjana
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

Public Cloud Run Service communication with internal-only ingress Cloud Run Service

I have to following setup: A VPC network V and a VPC Connector for V using CIDR range "10.8.0.0/28" (EDITED) The following services A and B are connected to the VPC via the Connector Cloud Run Service A: This service is set to ingress=internal to…
0
votes
0 answers

gateway timeout from ELB on aws

I have service and a DNS [https://example.com/] which is pointing to Load Balancer in AWS to traffic all the requests. This endpoint needs to be authenticated and returning 504 Gateway Timeout. I can hit the endpoint locally without any problem…
0
votes
1 answer

Handling long Web Requests In angualr 8

I Have an angular 8 application,when i make long request throws Gateway Timeout 504 Is there any way to avoid this exception from angular side not from server configuration side? const sub = this.reportsService.getUsageReport(this.reportRequest) …
0
votes
1 answer

Gunicorn on Google Cloud Run get an 504 error status (Upstream Request Timeout)

so I have code that at startup need to load the Machine Learning Model that got a 1 pickle about 100MB, in my case I need to load 6 pickle file (around 600mb++), and I use FastAPI for my API code with Uvicorn and Gunicorn. So, what I want to ask is…
MADFROST
  • 1,043
  • 2
  • 11
  • 29
0
votes
1 answer

Sinatra - 504 Gateway Time-out The server didn't respond in time

I am running a sinatra application on server. Often it generates a time out error. 504 Gateway Time-out The server didn't respond in time. And some time it works well. I could not find out the cause of this. Any one please help me.
Sayuj
  • 7,464
  • 13
  • 59
  • 76
0
votes
0 answers

How to avoid java.io.IOException: Server returned HTTP response code: 504 for URL programmatically

I try to get the big data from FRED (Federal Reserve Economic Data) using java but there are some problems. Belows are the sample codes. for(US_STATE state : US_STATE.values()) { // for every us-states loop String fredUrl =…
Joseph Hwang
  • 1,337
  • 3
  • 38
  • 67
0
votes
0 answers

Ajax Set timeout every second

i am calling an ajax function every second to make an online class link live, if the class link is finished i need to display the last class until the current time matches with the scheduled class time which needs to be enabled live. so i called…
0
votes
1 answer

Media Tailor ad returning 504 error in AWS

I'm using AWS Media Tailor to test an ad inserting demo. The demo page is this one: https://github.com/aws-samples/aws-media-services-simple-vod-workflow/tree/master/12-AdMarkerInsertion. When I place my manifest into a TheoPlayer I always get an…
0
votes
0 answers

SSRS - Error for Users when loading reports

I am wondering if anyone would be able to assist with an issue some users are having when running reports. When I log onto our report server as the administrator account , the reports are generating fine without any issues. However , when users log…
0
votes
1 answer

Got 504 Deadline Exceeded in Jupiter Notebook (Python) with Big query

I am trying to get a the result of a Google Bigquery query in a pandas dataframe (in Jupiter notebook). But everytime I try to run the query I get a DeadlineExceeded: 504 Deadline Exceeded. This happens not only for queries in my own BQ project but…
rutvanelk
  • 35
  • 6
0
votes
1 answer

Client Returns Network Error, but Successful Server POST Request

RESPONSE HEADER Why am I receiving a network error? Does anyone have a clue what layer this is occurring / how I can resolve this issue? What I've Tried (1) Checked CORS... everything seems to be ok. (2) Tried to add timeouts in YAML file as…
0
votes
1 answer

How to resolve Error 504 Gateway Timeout when uploading file in Nodejs App with Nginx proxy

I have a nodejs app deployed on Digital Ocean and running on Ubuntu. I am using Nginx as my reverse proxy to redirect requests to the application's port. I have been testing this app for quite sometime now and all the past weeks before today, I was…