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
1
vote
2 answers

org.springframework.web.client.RestTemplate 504 Gateway Timeout

I am making a http request using org.springframework.web.client.RestTemplate with no updates to the connection timeouts of it, which I believe would make it an infinite request. However every once in a while this 504 gateway timeout occurs. Could…
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
1
vote
1 answer

504 Gateway Time out in ASP.NET MVC while file downloading

A couple of users are getting 504 Gateway Time out error when they are trying to download a file from our website. This time out error comes after exactly 2 minutes of time. If the user can download the file before 2 minutes then it is working fine.…
Bhavik Shah
  • 11
  • 1
  • 3
1
vote
0 answers

no response from server after http GET message

I'm writing a simple HTTP client program, it should work, but when I send a GET message there is no response from the server, after a while I get 504 Gateway timeout so the connection is established.. This is the code: int main(int argc, char…
eli
  • 490
  • 1
  • 3
  • 22
1
vote
1 answer

Timeout issue in amazon with PHP

I have a PHP site in which I make an ajax call , in that ajax call I make call to an API that returns XML and I parse it, The problem it sometimes the xML is so huge that it takes many time, The load balancer in EC2 have timeout value of 20 minutes,…
user1765876
1
vote
1 answer

504 : Gateway Timeout with urllib2

When I try to read the source of the page , I get the following output …
GingerNinja23
  • 162
  • 2
  • 11
1
vote
2 answers

Script continues execution after "504 Gateway Time-out"

I'm running this script under nginx+apache. It sends large data packages (split into portions) to a remote server, calling cURL execution in cycle. Strange thing to me is, that after timeout I receive 504 error into browser (captain), but script…
Damaged Organic
  • 8,175
  • 6
  • 58
  • 84
1
vote
1 answer

504 error accessing Kinvey handshake(Rest api)

I have been trying to get the Kinvey handshake for the REST api to work for a while now but have not had any luck. I am using libgdx's net class to send the http request. Wverytime I send the request I get a 504(Gateway Timeout) error. I am…
eBehbahani
  • 1,579
  • 5
  • 19
  • 41
1
vote
1 answer

Drupal : Gateway timeout error from proxy server

I was recently developed a drupal site for a client who lives in HongKong. The site worked perfectly (is still functional when I access it) But after deploying it for demo, the client compalained that the site wasnt working and constantly getting a…
aayush shrestha
  • 1,858
  • 2
  • 17
  • 33
1
vote
1 answer

Query on sindice SPARQL endpoint

I tried to make this query on http://sparql.sindice.com/ PREFIX rev: PREFIX rdfs: SELECT * WHERE { ?thing rdfs:label ?name . ?thing rev:hasReview ?review . filter…
Zucca
  • 561
  • 1
  • 7
  • 21
1
vote
3 answers

Avoiding 504 on remote server .NET

I am using HttpWebRequest to download a remote file, however i get a 504 error. I pasted the url in firefox and the first and 3rd try it took 16seconds, the 2nd nothing happened (it looked like it timed out). How do i decrease the 504 error? Would…
user34537
1
vote
1 answer

Web Application works locally - 504 error remotely

I have a site (ASP.NET WebForms) hosted on IIS7. I have a static IP. My router is pointed at the right computer IP on my network. And the site works fine both on the server and on computers on the same network when I go to the interal IP of the…
carlbenson
  • 3,177
  • 5
  • 35
  • 54
0
votes
2 answers

After start php script and successful implementation, server send all request 504 error

After 504 error, the problem is corrected only reboot. Server = vps. Here is the script followed by error:
0
votes
0 answers

Jenkins 504 Gateway Time-out for only one single project

We have a Jenkins installed on a Linux VM in GCP. The master and the slaves have more than enough CPU and memory left. This consists of multiple projects and multiple pipelines are running parallel. Recently we noticed one of projects giving 504…
0
votes
1 answer

Simulate random 504 errors in Nginx

Is there a way that I can add to an Nginx config something that would at random cause 504 Gateway Timeout errors? My current Nginx development config is: http { client_max_body_size 100M; client_body_timeout 60s; client_header_timeout…
Jesser
  • 76
  • 7
0
votes
0 answers

Condtional Timeout Configuration on Centos7 to avoid Gateway Timeout Error

I am encountering a gateway timeout issue on my CentOS 7 server while trying to make a specific API call on one of my websites. The API call takes more than 2 minutes to respond, and the default timeout value in the httpd.conf file is set to 60…