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

Angular + Express PWA 504 Gateway

I'm having trouble creating a PWA angular app with NodeJS + Express server. I'm serving my angular build --prod on a static path in Express I'm using routes in my Angular App The client manages to load manifest.json, ngsw-worker.js,…
0
votes
0 answers

Play Framework + Java + 504 gateway timeout when calling WS GET api

We are using PlayFramework to develop a Java APIS. The problem we are facing when we call the WS api for getting the data from third party API. private Stream select(EntityManager em) { myClient.doGetCall(); //Rest api call 1 …
android_griezmann
  • 3,757
  • 4
  • 16
  • 43
0
votes
1 answer

Response status code showing 200 for gateway error (504)

I have a REST endpoint which call another API which take a while to process and returning 504 error when I verify through Rest client (Insomnia). But in my service I see this transaction as success 200 not 504. Below is how my code snippet: public…
user3919727
  • 283
  • 2
  • 7
  • 25
0
votes
0 answers

How to diagnose the network connection problem

We have a Apache/Tomcat server. Recently a client from UK report that he can't connect to our server. We captured the fiddler log, and found it received 504 error, and the statistics like below: Request Count: 1 Bytes Sent: 1,508 …
Frank
  • 159
  • 3
  • 14
0
votes
0 answers

Elastic Beanstalk 504 Gateway Errors

I'm running a simple "hello world" application that runs fine in local development (run with "eb local run"). When I tried deploying to elasticbeanstalk, 20% of requests resolve as 504 Gateway Timeout. The load balancer sends a request to an…
0
votes
0 answers

504 Gateway Time-out nginx, nodejs

Nodejs (express) server is hosted on Ubuntu 16.04. Using nginx as reverse proxy many sub-domains are pointing to same sever. I have integrated payment gateway which after successful transaction redirects to a URL. However after sometime nginx…
0
votes
0 answers

Setting APP_DEBUG=false in Laravel causing Gateway timeout (504)

I have an application which process around 500 records, which is working fine when I set APP_DEBUG=true. But if I run the same application by setting APP_DEBUG=false it is causing Gateway timeout issue. I don't understand why the application is…
Naresh
  • 862
  • 3
  • 12
  • 35
0
votes
0 answers

Any solutions about slow website loading? (VueJS and PHP API with MySQL DB)

I know that my question could be unclear, but let me firstly explain the issue to give me your advice. I've built a website using VueJS linked it with PHP API (Redbean ORM) with MySQL DB engine hosted with GoDaddy Economy Shared plan and everything…
nael_d
  • 27
  • 1
  • 11
0
votes
0 answers

504 Gateway Timeout Error in getting favicon.ico

I'm in a webhosting shared-account and the max_execution_time is 120 default. i set it on set_time_limit(0) and nothing happens in the phpinfo(). Is there a way to prevent or stop the gateway timeout error before it appears? Like stop the process…
0
votes
0 answers

Jupyter lab notebook instance in Google Compute Engine stop execution with a 504 error

Hi I have been running code on my Jupyter-lab notebook instances for a while now and all of a sudden I get this problem along with an additional 504 error message. The program might execute for a bit (maybe 20 minutes) and then this occurs. Any…
0
votes
0 answers

Code running perfectly for http url but showing error:504 (gateway timeout) for https url

Code running fine for http URL but showing error when URL changes to HTTPS ERROR: 504(GATEWAY_TIMEOUT) List SitesList = new List(); string url = server + "/api/" + TableauServerVersion.version + "/sites"; …
0
votes
0 answers

How to resolve 'HTTP Error 504: Gateway Time-out'

I am gettiing a HTTP Error 504: Gateway Time-out when I am running urllib2.urlopen and don't know how to resolve this. I tried referencing this link: HTTP Error 504: Gateway Time-out when trying to read a reddit comments post but solution was no…
Sandhya
  • 11
  • 1
  • 2
0
votes
1 answer

504 redirects when I attempt to catch in php

The problem I am having is I am trying to do a curl request to a server, and I am getting redirected to a 504 page I am trying to catch the error as follows: $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); if ($httpCode==504){ …
Lain
  • 2,166
  • 4
  • 23
  • 47
0
votes
1 answer

How to fix HTTP/2.0 504 Gateway Timeout for multi simultaneous XHR connections when using HTTP/2

I activate HTTP/2 support on my server. Now i got the problem with AJAX/jQuery scipts like upload or Api handling. After max_input_time of 60sec for php i got: [HTTP/2.0 504 Gateway Timeout 60034ms] with HTTP/1 only a few connections where…
0
votes
1 answer

Get HttpStatusCode 504 ( DNS Name Not Found ) in .Net Core 2.1 and Upper Version

I was create simple project with .netCore 2.0 and send HttpRequest with HttpClient, that is working well. But, when I'm migrating from .netCore 2.0 to upper version ( e.g: .NetCore 2.1 or .netCore 3.0 ) this Code is not working. My Code is: public…