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
1
vote
0 answers
Uncaught (in promise) Error: Request failed with status code 504
I send a post request like this:
My code
async sendData(data) {
const response = await this.$api.request({
url: `/v2/application/${localStorage.getItem('guildID')}`,
method: 'post',
headers: {
Authorization: `Bearer…

Beginner
- 11
- 2
1
vote
1 answer
I get HTTP 504 Error in Picasso how to solve it?
I used picasso and get HTTP 504 error
this is how I used picasso
Photo photo = photos.get(position);
holder.userName.setText(photo.getId());
String imageUri = photo.getPhotoURL().getThumb();
Picasso.get().setLoggingEnabled(true);
…

Mhb flh
- 31
- 8
1
vote
2 answers
Cannot post multiple and long requst Axios
I need to send post request to Another API, which will return result about 7 seconds.
If I try to send post one by one, it's working great. But as soon as I loop it or send multiple request, it returns errors.
The errors are sometimes Error: socket…

sandy_yeseul
- 61
- 4
1
vote
1 answer
How do I change the NGINX settings for a AWS Beanstalk Flask app to prevent a 504 TImeout error?
I'm having trouble adjusting the Proxy Connect, Read, and Send settings for NGINX in my Elastic Beanstalk Flask Application. My application does some long calculations so I'm trying to increase the timeout times. Here's what I have:
In the root of…

zoidberg
- 41
- 1
- 7
1
vote
0 answers
How do I fix a 504 gateway timeout error?
My web application (Django + Nginx) calls another url in the backend. As it takes time like 15-20 minutes to get whatever from the other site, I am running into the 504 Bad Gateway error. Before I encrypted my website, I added the following commands…

Okrasee
- 21
- 2
1
vote
0 answers
Getting nginx error 504 Gateway Time-out while uploading a csvfile through backend dashboard
I have been trying to upload a csv file through backend dashboard of my laravel site, but it's throwing an error , 504 gateway Timeout nginx . (This works perfectly in staging)
While looking for the solution, I have updated the following…

Thejus A P
- 71
- 1
- 11
1
vote
1 answer
Increase request timeout for GCP marketplace
There is this persistent 504 runtime error whenever I deploy a solution from Marketplace.
"ResourceType":"runtimeconfig.v1beta1.waiter","ResourceErrorCode":"504","ResourceErrorMessage":"Timeout
expired."}
The VMs started and work fine despite the…

PlainH2O
- 146
- 2
- 14
1
vote
2 answers
AWS ec2 instance not accessible trhough browser and ssh due to timeout error
It's working fine. All of a sudden it started throwing 504 Timeout error. In SSH it was showing ubuntu upgrade warning, I've installed the necessary and upgraded correctly hoping that it would not throw errors anymore. But still the issue…

112233
- 2,406
- 3
- 38
- 88
1
vote
0 answers
504 (ECONNREFUSED) from proxied Angular HTTP request to IIS Express
Server:
.Net Core 3.1
IIS Express 10
Client:
Angular CLI 9.1.7
I have an Angular app whose HTTP calls to my locally running (IIS Express) .Net Core APIs are being proxied using the built in WebPack proxy. All proxied calls are returning with 504…

Difinity
- 235
- 2
- 12
1
vote
1 answer
NestJS prod on firebase: Has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header - only when server starts
Here's my problem:
I have an API in NestJS, it is hosted on Firebase (Cloud functions).
My client is an Ionic - Angular web interface.
"@nestjs/cli": "^7.5.1",
"@types/node": "^14.14.6",
"typescript": "^4.0.5"
When I test the application locally…
user14267037
1
vote
1 answer
cURL makes page load forever, then gateway timed out
I'm working with a third party API, and it returns 400 HTTP STATUS when you make a mistake.
When using POSTMAN, the 400 HTTP error page shows as expected, but when using PHP's cURL, the page just loads for about a minute, then it gives me a "504 -…

Thiago Souza
- 171
- 3
- 12
1
vote
2 answers
How to stop requesting an external API with 504 time-out response in PHP codebase
I'm using curl to request a free external 3rd party API in my PHP application. When there are too many requests at a time, it goes down and shows 504 Gateway time-out. Is there any option, when a request has no response in more than 5s then it would…

R G
- 11
- 1
1
vote
1 answer
Error 504 on loading a picture using Picasso
I'm trying to load a picture into CircleImageView from a URL which I get from an API call. The URL of the image is working when I paste it into the browser but Picasso is unable to load it into the view.
The image URL is an https URL. For some…

Sajal Jain
- 76
- 4
1
vote
0 answers
AWS ALB a lot of 504 response codes
I am struggling with 504 responses from my ELB sometimes.
Not something frequent but still occurring.
The architecture is as follows:
ELB with 180 seconds idle time.
Target group of 2 instances, the balancing here is RR.
I tried to follow this:…

Dev93
- 93
- 2
- 13
1
vote
1 answer
Can high HTTP timeout values cause any issues
I have a SpringBoot app hosted on OpenShift-Enterprise. I have one request that takes significantly more time to process due to integration with other systems. That request started getting 504 Gateway timeout error on browser exactly after the…

Sandeep Kumar
- 2,397
- 5
- 30
- 37