Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
136 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 ...
0
votes
0answers
49 views

502 Error while accessing Phpmyadmin - nginx

Hi i have installed a nginx websrever+mysql+php-fpm+ispconfig3+Phpmyadmin in Debian 6. When I try to access the phpmyadmin i get 502 bad Gateway Error. Here is my current settings nginx.conf - ...
0
votes
0answers
95 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
0answers
65 views

Nginx 502 followed by 500 error

Whenever my rails application encounters an 500 Internal Server Error (because of any exceptions at the layout), the request that follows get the 502 Bad Gateway error. Here is the trace of my log. ...
0
votes
1answer
59 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 ...
1
vote
2answers
495 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
151 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 ...
3
votes
1answer
4k 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
0answers
260 views

After updating to Rails 3.1.0.rc5 Passenger with nginx has intermittent 502 errors

It appears that only one passenger instance serves requests, the others just serve 502 errors. This causes an intermittent error pattern because only the requests that are directed to the second ...
0
votes
2answers
165 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
195 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 ...
2
votes
1answer
265 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
3k 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
5k 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
1k 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 ...