Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [504]

The tag has no usage guidance.

0
votes
1answer
29 views

Nginx not scaling more than 750 connection when used as reverse proxy

I have a mobile application in which we are using Nginx as a Reverse proxy which routes request to Nginx. The Nginx request in app server is passed to Node.js for processing. We are getting 504 ...
0
votes
0answers
11 views

On a 504 - does the process continue?

I've got a PHP script that does a particular job (sends a bunch of emails) when a browser visits it. Every now and again that job takes quite a while and it times out. Last time this happened, it ...
0
votes
0answers
107 views

PHP-FPM pools of a domain are working non stop

My server OS is centOS. I use Apache for httpd. Every site runs PHP by own user. One of my sites (let's say that 504domain.com) gives 504 gateway error constantly. Restarting Apache makes the site ...
0
votes
1answer
95 views

Mail sends fine but returning 504 error

I noticed all of a sudden that any operation that has to do with sending email on my site returns with 504 server timeout page. Fortunately, the email gets sent but returns a 504 error. I went further ...
0
votes
1answer
30 views

504 timeout after migrating from Ubuntu to Debian server

So this is a rather strange error. After migrating my websites via Plesk Migrator to my new server (from Ubuntu to Debian), I get a 504 error when trying to access one of my websites. However, once I ...
1
vote
2answers
11k views

Intermittent 504 errors with HAProxy

I've been struggling with this issue for weeks and I'm running out of ideas. I run HAProxy to proxy requests among 3 backends based on the requests' path/headers. My backends are: An Amazon S3 ...
0
votes
1answer
107 views

Thunderbird can send emails over own mailserver, K-9 not

I switched to K-9 and APG recently to send and recieve emails and be able to en- and decrypt emails on the go. I've setup my own email server quite a while ago and everything works fine in Thunderbird,...
0
votes
1answer
1k views

Recurrent 502, 504 errors despite low cpu and memory usage

I'm struggling with this problem since quite a while. I have t2.site instance on AWS hosting a very low traffic personal website built with wordpress, nothing extraordinary. I first used Apache2, and ...
0
votes
0answers
322 views

HTTP webserver gateway timeout 504 only from one ISP

I have configured a nginx http webserver to serve a site on CentOS 6 Virtual machine. every things are works fine but when I connect to site from a special ISP, the site wait and after a while respond ...
1
vote
1answer
813 views

I can't avoid 504 gateway time-out

In order to avoid the nginx 504 gateway time-out, I've tried to do this in the beginning of my PHP code: set_time_limit(0); Also, I've tried to raise the time settings at /etc/php/7.0/fpm/php.ini: ...
2
votes
0answers
828 views

Amazon ELB https termination results in 504 for large file uploads

I've stumbled upon the following issue and can't seem to find a solution. Setup: IIS server behind Amazon ELB setup to terminate SSL connections on the ELB with a setup of https 443 -> https 443 (...
1
vote
1answer
2k views

Amazon EC2 504 Gateway Time-out

I have only a single amazon EC2 free-tier instance. It's hosting two Django sites that currently get almost no traffic, barely a handful of requests per day. The server is apache with mod_wsgi, and ...
2
votes
0answers
207 views

Got 504 Timeout in 200ms. What does that mean?

I have a website. Using Nginx and Spring. Today, some of APIs got 504 gateway timeout, but these time-out return instantly. I suppose a time-out error should be returned after a period of time. So, ...
1
vote
1answer
1k views

Apache and mod_wsgi returning 504 error when posting specific SVG string

I have a wierd 504 error occuring in Apache + mod_wsgi when I post a specific SVG string. The backend application is Python Flask, but it does not seem to get to the application at all. Here is one ...
-1
votes
1answer
2k views

Tomcat is unresponsive intermittently

Tomcat is unresponsive and throwing 504 intermittently. But there is not much CPU usage. We suspected it could happen we receive many number of requests and made tomcat unresponsive. We gave 400 as ...
1
vote
1answer
21k views

504 Gateway timeout / 502 Bad gateway after installing php curl - server nginx

I have (well had) a working server with nginx on board. A server (dedicated) was only used to host a drupal site. Recently we decided to host also a magento store on it and started preparation. Since ...
2
votes
1answer
8k views

cURL throws 504 gateway timeout error with external website on my vps

The following returns a gateway timeout on my vps (debian, squeeze) curl --head http://www.flipkart.com/ HTTP/1.1 504 Gateway Timeout But works fine i.e gives a 302 HTTP on my home computer. ...
0
votes
1answer
1k views

Curl get of .cgi file, Always 504 gateway time out

I have a ip cam and I use Get method to switch on the alarm. When I use browser everything is ok http://da***.com:808/set_alarm.cgi?user=***&pwd=***&motion_armed=1" If a try to use this php ...
1
vote
2answers
937 views

PHP Gateway Timeout

I need to make PHP execution longer, and whatever else might be a problem. I thought I'd already done so but I'm still getting gateway timeouts from my recent wordpress install. The php-fpm pool has ...
0
votes
0answers
341 views

One of our customers is experiencing a 504 error, where is that to occur?

One of our customers is having some problems accessing our web site. They've got 2 machines, and each of them is experiencing different symptoms, but I suspect that even though they're experiencing ...
0
votes
1answer
1k views

504 bad gateway with Nginx

I have a J2EE application hosted on a linux VPS server. I use nginx as the web server and tomcat6 as the application server. At times, the website keeps waiting to load or sometimes even throws a 504 ...
0
votes
1answer
1k views

Nginx 504 Time out when zipping/unzipping and moving files

We're getting a 504 time out in Wordpress with a feature we have attached to "publish post" which takes an attacked zip file, unzips it, moves the unzipped files to s3, makes a new Zip and moves that ...
0
votes
1answer
3k views

nginx, gunicorn and django weird 504 gateway timeout

I have an nginx / gunicorn / django setup as follows: Nginx server { listen 80; server_name myserver.com; root /www/python/apps/pyapp/; access_log /var/log/nginx/myserver.com....
0
votes
1answer
909 views

nginx crashes on ssl after about a minute

Here are my configuration files ssl.conf # HTTPS server # server { listen 443 ssl; server_name api.domain.com; error_log /var/log/nginx/api.error.log; location / { ...
6
votes
1answer
28k views

How do I increase FastCGI read timeout to prevent 504 error on nginx?

I am running a file with considerable amount of coding. It takes approximately 55 seconds to process 500 users, but now I have to process 1000 users. The default timeout is 60 seconds, so I have to ...
3
votes
1answer
3k views

HAProxy Specific URI

So my HAProxy configuration is similar to this. listen webaustin 0.0.0.0:80 mode http timeout connect 12000 timeout server 60000 timeout queue 120000 balance roundrobin ...
1
vote
3answers
18k views

Error 504 Gateway timeout

I would like to know if an error 504 Gateway timeout always come from the load balancer or it can also be originated from Apache and the PHP code it's running ? Thanks
2
votes
3answers
5k views

504 Gateway Time-Out after publishing on a Nginx-Apache-WordPress platform

I've set up a blog with WordPress and with Nginx acting as a proxy reverse for Apache. Everything goes really well, but there's a little problem. When I write a new post, I can save the draft and ...
4
votes
1answer
8k views

Simulate 502 & 504 on nginx

Is there any way to simulate these errors? I created some custom files for it, but I want to be sure that are displayed correctly. I made different message for every vhost. Thank you in advance.