The 502-error tag has no wiki summary.
0
votes
0answers
69 views
Strange 502 Bad Gateway Error on LEMP Stack after several days of uptime
I am currently running a WordPress install on the following stack:
2GB Ram / 8CPU /96G storage
Ubuntu 12.04 LTS
nginx/1.2.7
Varnish 3.0.2
Php5-FPM
I have tuned Php/Nginx/Varnish to what I feel is ...
1
vote
1answer
87 views
Sporatic 502 errors with Ruby on Rails site running on Nginx
My Ruby on Rails site is throwing sporadic 502 errors. It is running on Nginx, installed with Passenger, and is hosted on a server running Ubuntu 10.04. It seems that the errors are becoming more and ...
0
votes
0answers
257 views
nginx with django 502 bad gateway
I have a django installation on my EC2 server which sometimes is working fine. But some other times i keep getting those 502 Bad Gateway errors which don't seem to be a fault in the code because when ...
1
vote
1answer
487 views
502 Bad Gateway - nginx
I am randomly receiving 502 Bad Gateway error pages - I can reproduce this issue by modifying hosting plans in plesk 11 and in the same time refreshing a page for a minute or two. When I get the 502 ...
0
votes
1answer
127 views
custom 502 error page for nginx with unicorn not working, driving me insane ;)
I tried several times and on multiple occasions to try and fix the below code for nginx with unicorn, but it just isen't working. So now posting here in last report some of you more talented could see ...
0
votes
1answer
323 views
custom 502 bad gataway for nginx, cannot get it to work, whats wrong?
Im trying to catch a 502 bad gataway for nginx with unicorn. This error is thrown when unicorn is not running. Im trying to use a custom error page instead for when unicorn is not running to no avail. ...
0
votes
1answer
503 views
Communication failure between nginx and PHP-FPM
I've received my very first VPS just today, and wanted to install a nginx + PHP + MariaDB setup on it.
And, well, I actually did it, but I've got a problem configuring it.
Getting nginx to serve a ...
0
votes
1answer
207 views
IIS7 - HTTP 502 in IE8 over HTTPS
I am developing web app using .NET 4.0
I'ts hosted on IIS7 and served over HTTPS.
When I try to request a page with IE8, it doesn't load completely. So I looked into fiddler, and it shows me an HTTP ...
0
votes
3answers
902 views
Nginx 502 bad gateway
Could someone help me i get the 502 bad gateway every few seconds
The server is running on vps on debian with quadcore and 3g ram
here is the kind of error i can in the nginx log :
2012/07/23 ...
0
votes
0answers
88 views
New Static Website with Hosted DNS alternating 502, 503 and Page Does Not Exist Errors
This has become an increasingly frustrating ordeal. I'm mostly a web developer, so forgive me if I am using improper terminology here.
I have a client that had purchased a domain at JustHost. We ...
1
vote
2answers
3k views
Nginx: 502 Bad GateWay
I try install nginx. I used to lighttpd but now we must install nginx.
Can you help me with configuration nginx?
I use debian 6.
My nginx.conf:
user www-data;
worker_processes 4;
pid ...
1
vote
1answer
1k views
Resource temporarily unavailable while connecting to upstream (php5-fpm)
I frequently get this error on random pages when the are like ~+10K connections (netstat -an |grep 80 |wc -l). This happens while there is still +10GB of free memory and server load is less than 3.
...
0
votes
1answer
206 views
How to config Apache to get error 502 Bad Gateway for testing?
I'm developing a website with ajax allow many queries insert many many row to database in the same time. It's run ok on localhost, but when I deploy onto server (free Amazon server), it's often get ...
2
votes
2answers
2k views
Finding Nginx/PHP-FPM bottleneck that is causing random 502 gateway errors
I work for a rather busy internet site that is often gets very large spikes of traffic. During these spikes hundreds of pages per second are requested and this produces random 502 gateway errors.
Now ...
0
votes
0answers
263 views
504 and 502 with cherokee reverse proxy to php server
Im running Cherokee as a reverse proxy to a server running a php web application and am getting lots of 502 and 504 errors.
The issues seems to only happen with image uploads but is not tied to a ...
10
votes
1answer
19k views
connect() failed (111: Connection refused) while connecting to upstream
I'm experiencing 502 gateway errors when accessing a PHP file in a directory (http://domain.com/dev/index.php), the logs simply says this:
2011/09/30 23:47:54 [error] 31160#0: *35 connect() failed ...
0
votes
4answers
325 views
502 error after adding module to a Django project running on nginx and gunicorn
I am trying to add a module to an existing Django project, but once I have done it I get a 502 error. The server is running Ubuntu. I don't think it has to do with the applications code because I got ...
1
vote
1answer
280 views
mod_rpaf with nginx + apache causes 502 error (firephp fault)
I have such trouble. There are nginx (as frontent to apache) and apache with mod_rpaf installed. It worked good for a month or so. But today error 502 returned to some requests to php (not all ...
3
votes
1answer
409 views
qmail responds 502 unimplemented on STARTTLS
I am trying to send mail with php using the PEAR Mail_queue package. It should be working, and it appeared to work twice, but for some reason I keep getting the following error response from qmail:
...
4
votes
1answer
4k views
Nginx + PHP-FPM = “Random” 502 Bad Gateway
I am running Nginx and proxying php requests via FastCGI to PHP-FPM for processing. I will randomly receive 502 Bad Gateway error pages - I can reproduce this issue by clicking around my PHP websites ...
3
votes
2answers
8k views
nginx 502 bad gateway - fastcgi not listening? (Debian 5)
I have experience with nginx but it's always been pre-installed for me (via VPS.net pre-configured image). I really like what it does for me, and now I'm trying to install it on my own server with ...
7
votes
4answers
2k views
What's the difference between domainname.com and www.domainname.com?
I'm a developer and I'm having trouble setting up some hosting, and I hope you guys can help me out.
I've got a domain I'm setting up for a friend. URLs work fine when I use the short form, like
...