504 Gateway Timeout. The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
Questions tagged [http-status-code-504]
279 questions
2
votes
1 answer
Sonatype Nexus 3 504 Gateway Timeout when pushing to hosted Docker repository
I am getting 504 GATEWAY_TIMEOUT when pushing to a hosted Docker repo on Sonatype Nexus 3. I'm trying to push a multi-GB layer:
451c9f0946ad: Image already exists
97444a62d0da: Image already exists
3acdb070c7f5: Image already exists
…

viyh
- 124
- 1
- 6
2
votes
1 answer
Long time running WCF 504 GATEWAY_TIMEOUT error
I am developing a WCF web service on webHttpBinding, client application calls this WCF webservice on demand (HTTP POST) or via scheduler windows service ( currently using Quartz.net).
Each call will run a list of tasks that can take 10-30 minutes. …

Bo Hu
- 327
- 1
- 3
- 13
2
votes
2 answers
CORS in my node app not working
A website is doing a XMLHttpRequest to my node app, but they are getting the following error:
XMLHttpRequest cannot load http://[MY IP]/start. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.[THEIR…

Tom Brock
- 920
- 7
- 29
2
votes
1 answer
How can I force a 504 error in chrome
How can I force a 504 error in Chrome?
We have a node app that we occasionally get a 504 error from and I wanted do some error handling for 504 errors.

christoffee
- 633
- 1
- 6
- 15
2
votes
0 answers
Camel HTTPS4 call fails but CamelHttpResponseCode header says 200
I'm using a route that is requesting a resource over HTTP using the https4 component (camel version 2.14.0). A dead letter channel handles errors by routing failed exchanges to the log endpoint like…

Claudius B
- 86
- 7
2
votes
0 answers
Openshift: 504 Gateway Time-out The server didn't respond in time
I'm reading the solutions. Most of them has a wrong database configuration.
My database is from AWS (RDS).
My application works at localhost jboss as 7 on my pc very well. But if i'm trying to login on openshift server, i'm getting the following…

user3594873
- 41
- 1
- 3
2
votes
0 answers
how do I fix a 504 gateway timeout
I have a very simple hello world script in my /var/www. I tested it out by entering my internal ip address into the web browser and it worked.
I then forwarded port 80 and tested it with my external ip address (but still from my home network) and…

OldMcFartigan
- 129
- 1
- 11
2
votes
0 answers
IIS returns 504 Sometimes, to the exact same request (MVC4 ASP.Net)
5 on Windows Server 2008R2 with ASP.Net MVC4
occasionally i'm receiving 504 status from the IIS to an exact request (sometimes everything is ok and i'm receiving 200)
When debugging the server, the request itself comes with an empty body but with…

Yaron Avital
- 588
- 1
- 4
- 11
1
vote
1 answer
504 Gateway timeout returned by web service unless "Accept-Language" header present. Why?
I've been trying to access a web service using System.Net.WebRequest to make a GET request. This would return a "504 Gateway timeout" error.
However the same web service would return data successfully when accessed through a browser.
After comparing…

Castrohenge
- 8,525
- 5
- 39
- 66
1
vote
1 answer
504 Gateway Timeout: STRANGE!!! while server accepting the file into DB the response is not making it to the Client
I have service that uploads and parses line by line into DataTable and records it via SQL bulk copy into the DB. Locally this service works fine with overall implementation in 20 secs and in LAN dev server takes a little longer in 46 secs. But when…

Nara Omur
- 21
- 7
1
vote
1 answer
How to increase timeout of Amplify in Nextjs? (504 code)
I'm new to AWS and hosted a NextJS using Amplify where my application does have an API that takes 20-30 seconds to complete (App script connected). Right now, every request of this function return 504.
My fetch duration:
Tried reading the…

Joshua Ochia
- 21
- 4
1
vote
0 answers
Why don't my Wix forms work, and return a 504 error on form submission?
I've got a series of Wix forms on our site, and somehow in the last few weeks, since our last round of testing, all our forms have stopped working. When a user clicks "submit", the button goes grey (correct behaviour), then stays like that and…

Daniel White
- 11
- 2
1
vote
1 answer
why getting 504 response code after method terminates successfully?
I'm working on a Java app using spring(v4.3.13.RELEASE), spring-boot(v1.5.9.RELEASE) and Hibernate(5.4.12.Final).
also using postgres(not sure its version) as db.
I have a problem, when this backend app gets a REST call, it executing a big method,…

Jessi
- 69
- 7
1
vote
1 answer
IPFS 504 Gateway Time-out with public gateways from local node
I installed Kubo on my local PC, I just entered the ipfs daemon command to run it. After that, I pushed some text content, it works fine and I can access it from the IPFS public gateway. But, when I put any image or file type of content and go to…

Muhammad Minhaj
- 109
- 1
- 7
1
vote
1 answer
AWS setup resulting in CORS error with Elastic Beanstalk
I am working on my thesis about news recommendations and have been working on getting my web application running on AWS. My angular front-end runs on S3 with static hosting, my NodeJS back-end runs on Elastic Beanstalk along with my Flask API. The…

René Steeman
- 347
- 4
- 16