Questions tagged [504]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Possible Causes of 504 Error When Server Resource Are Running Low?

A website hosted by itself was getting 504 errors earlier in the week, despite resources being at about 10%. Multiple users/locations experiencing the issue. I'm struggling with the log files to say ...
0
votes
1answer
97 views

HAProxy caches connection error?

We have a backend service currently served in front of a HAProxy proxy server for load balancing. When we shut down the backend service for maintenance, client connecting to the HAProxy is receiving ...
0
votes
0answers
258 views

Nginx server give me 504 error

I am using nginx webserver on a WSL, Ubuntu. I have Magento need to run on this server. Where or what I can do to adjust, so I can have 504 error fix? does my default doing the right job? Please help ...
0
votes
0answers
24 views

Why does the Tomcat 7 virtual host become unresponsive (504) when a WebRTC webcam share session is on, with the nginx as reverse proxy

I am using nginx as the reverse proxy (correct me if I am wrong) server that runs the Tomcat 7 Java webapp. The complexity here is that there's two apps nginx is serving off Tomcat. The main one ...
0
votes
1answer
2k views

504 Gateway Time-out on NGINX Reverse Proxy even though the container is up

I have the following Docker setup: jwilder/nginx-proxy for the reverse proxy jrcs/letsencrypt-nginx-proxy-companion for SSL (Let's Encrypt) custom WildFly container as the endpoint My problem is ...
0
votes
0answers
586 views

Moodle throwing 504 Gateway Time-out After Migration to Nginx

Yesterday, I migrated my moodle from my previous server to a new dedicated(i7-6700, 64GB RAM, 512GB NVMe) one. Everything seemed to be working fine but the first problem I noticed was when a student ...
1
vote
1answer
83 views

Difficulty removing website from AWS services

Designing a website for a client and taking over from previous guy who set it all up in AWS. I’m not familiar and the learning curve is steep. The last few days I’m getting a 504 gateway problem and ...
0
votes
1answer
158 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
240 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
506 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
32 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 ...
4
votes
2answers
20k 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
136 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,...
1
vote
1answer
2k 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
393 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
1k 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
1k 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
3k 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
218 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, ...
3
votes
1answer
2k 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
3k 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
22k 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 ...
3
votes
1answer
13k 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
1k 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
342 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
4k 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
1k 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 / { ...
7
votes
1answer
40k 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 ...
4
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
19k 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
6k 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 ...
7
votes
1answer
11k 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.