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
Can't access apache website(s) from within home network but i can access them from outside home network
I wasn't having this problem up until a few days ago so I know that my setup can work. I had my friend try accessing one of my domains (from outside my network) and it worked for him. On one of my more complex websites where I host Pterodactyl…

Luke
- 11
- 4
1
vote
0 answers
PubNub Exception in subscribe loop
I am trying to make a basic connection to PubNub and get some basic output with python. When I run the files in bash on windows I am getting a 504 error. I checked Pubnub and it says I am getting some usage which is strange. I am using pubnub…

KeithNolo
- 145
- 2
- 14
1
vote
1 answer
Angular PWA app getting 504 (Gateway Timeout) calling Node JS/Express API, but only when running from device
Error
POST http://localhost:3000/api/user 504 (Gateway Timeout)
ERROR Server Error Code: 504 Message: Http failure response for http://localhost:3000/api/user: 504 Gateway Timeout
Description
I am getting a 504 (Gateway Timeout) error when running…

DevReboot
- 161
- 1
- 7
1
vote
2 answers
504 Gateway Time-out from google cloud platform, but only sometimes
I'm hosting a CouchBase single node cluster in GCP and a flask backend OpenShift cluster which supports angular frontend. The problem is, when a post is called in my flask by my angular, it is taking too much time to get connected the VM (couchbase)…

Jithin P Gopal
- 138
- 2
- 10
1
vote
1 answer
Ruby on Rails apps return 504 error after some time
On a shared hosting, I have several Ruby on Rails applications(5.0 and 5.2 with ruby 2.2 or 2.4), and some of them, after I start them and I access some pages, stop working and a 504 Gateway Time-out error occurs. I can see nothing in the log file…

True Soft
- 8,675
- 6
- 54
- 83
1
vote
1 answer
fatal: unable to access 'http://repo.***.com/***/***.git/': The requested URL returned error: 504
I can access self-hosted Git repository by browser. However, git push on command line throws this error:
$ git push origin m26.12.2--insert-auto-logic
fatal: unable to access 'http://repo.***.com/***/***.git/': The requested URL returned error:…

Megidd
- 7,089
- 6
- 65
- 142
1
vote
2 answers
How to debug prerender.io docker container 504 issue?
For a project, I created a prerender docker image after modifying the codes from prerender.io. I use systemd to run the docker container. It works fine in local machine and on one of the QA server, but the same image only returns 504 on a new QA…

greenTea2Codes
- 133
- 1
- 1
- 9
1
vote
1 answer
Jasper Reporting Server: Long Running Reports: 504 Gateway Timeout Errors
We have a Jasper Reporting Server community instance (Ver 7.1.1) running on Centos 7, using the Jasper-provided Apache TomCat server.
Jasper connects to our MS SQL and Postgres databases via JDBC connectors
The system works well for all…

user1352528
- 11
- 3
1
vote
1 answer
Python Tika cannot read PDF - fail to download Tika Server
I am using Tika to read PDFs and my code was working until yesterday. Now when I runt the same code I get errors and apparently Tika can't find the Tika server jar file. I am using the following code to read the PDF
import tika
from tika import…

Ali
- 7,810
- 12
- 42
- 65
1
vote
1 answer
Websocket : Error during WebSocket handshake: Unexpected response code: 504
I have been developing a live chat that uses a websocket connection. It works fine on my localhost and on http servers. However, I am trying to get it working on a secure GoDaddy server with Deluxe Linux Hosting.
While the client is trying to open…

jhaubrich.com
- 79
- 2
- 10
1
vote
0 answers
getting 504-Bad Gateway error while saving Instagram images
I am trying to save Instagram images on my local machine through API and using the file_put_contents php method
I have tried sleep() method
ini_set('max_execution_time', 400);
$access_token = "";
$photo_count = 8;
$json_link =…

Ganesh
- 81
- 1
- 12
1
vote
2 answers
Failed to load resource: the server responded with a status of 504 (Timeout while reading response from Server) Node.js,Nginx
While trying to upload large files, I am getting 504 timeout error. Using node.js/multer , cloudflare , nginx , ec2. the network is not that great and it takes time to upload the file, getting timeout after 4-7 minutes into the upload. was not…

dev.rahul
- 141
- 1
- 7
1
vote
1 answer
Google Cloud Platform - receiving a 502 error for a backend not passing health checks
I have been following this guide to deploy Pega 7.4 on Google Cloud compute engine. Everything went smoothly however on the Load Balancer health check the service continues to be unhealthy.
When visiting the external IP a 502 is returned and in…

Akash Sharma
- 93
- 1
- 12
1
vote
1 answer
Java, is there a way to append byte array using servlet outputstream instead of overwrite?
everyone. I am using apache poi to generate excel format file, I didn't store it on my disk, just byte array, then I use outputstream to write the byte array to client, so the client can download the excel file. Something like this:
OutputStream…

uncle liu
- 37
- 7
1
vote
1 answer
The query takes a long time result in a 504 timeout error?
everyone. I am currently maintaining an old system using struts2 and hibernate. There is a function which is formatting data in Excel then download it according to the query parameters. Usually, 3000 records was added per day, and usually we just…

uncle liu
- 37
- 7