Questions tagged [504]

33 questions
1
vote
3 answers

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
mnml
  • 337
  • 1
  • 7
  • 21
0
votes
1 answer

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 Gateway timeout error when we are hitting more than 750…
0
votes
0 answers

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 available for a day. Rarely all the other sites…
borayeris
  • 213
  • 1
  • 9
0
votes
1 answer

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 to create a php script in the root of my…
Kunsal Ajay
  • 101
  • 2
0
votes
1 answer

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 turn on the old server everything works just…
Hillcow
  • 121
  • 1
  • 5
0
votes
1 answer

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, but not in K-9. Sending emails from Google Mail…
0
votes
0 answers

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 504 Gateway timeout. This occurs only from this…
Ghasem Pahlavan
  • 196
  • 2
  • 12
0
votes
1 answer

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 file I always obtain "504 gateway time out"
davide
  • 1
  • 2
0
votes
0 answers

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 different symptoms, somehow they might be related…
Rod
  • 555
  • 3
  • 10
  • 20
0
votes
1 answer

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 bad gateway nginx error. During this downtime of…
Maxim Dsouza
  • 103
  • 5
0
votes
1 answer

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 to S3 too. On bigger files its timing out after…
Danny Shepherd
  • 177
  • 1
  • 12
0
votes
1 answer

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.access.log; error_log…
Maverick
  • 119
  • 2
  • 6
0
votes
1 answer

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 / { root /var/www/api.domain.com; index index.html…
Scott
  • 1
  • 1
0
votes
1 answer

nginx proxy to apache in local enviroment avoid error 504

Hi guys I have a setup where I use Nginx as entry point for my HTTP request on port 80 and then I make a proxy to port 8080 where Apache is running a virtual host with PHP7.4 + MySQL running on windows 11 via laragon stack. I am programming and…
0
votes
1 answer

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 504-Gateway Timeout error, which is…
ipohfly
  • 115
  • 6