nginx proxy_pass not working

This forum is for discussion about general software issues.

nginx proxy_pass not working

Postby JB26 » Sun Apr 12, 2015 4:56 pm

Hello,

I have a problem with nginx 1.6.3-1 on arm (older versions are working normal). When I try to use nginx as a reverse proxy the worker process dies.
$this->bbcode_second_pass_code('', '[alert] 17513#0: worker process 17519 exited on signal 11 (core dumped)')
It doesn't happen on x86_64. This seems like a rather strange bug. That's why I wanted to ask if someone could reproduce this behaviour before I fill out a bug report.

One way to reproduce this:
1) Install nginx 1.6.3

2) Edit /etc/nignx.conf
$this->bbcode_second_pass_code('', '
#user html;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}


http {
include mime.types;
default_type application/octet-stream;

#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';

#access_log logs/access.log main;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

server {
listen 7777;

location / {
proxy_pass http://127.0.0.1:9999;
}
}
}
')

3) Start nginx
$this->bbcode_second_pass_code('', 'systemctl start nginx')

4) Start a web-server on port 9999
$this->bbcode_second_pass_code('', 'python3 -m http.server 9999')

5) Go to http://your_server:7777

If you see a directory listing then something is wrong with my RaspberryPie, if you get a connection interrupted error then this is a bug.

Thanks!
JB26
 
Posts: 3
Joined: Sun Apr 12, 2015 4:08 pm

Re: nginx proxy_pass not working

Postby gileri » Thu Apr 16, 2015 8:10 pm

Don't worry you are not alone ! It is also the case on my Raspberry Pi, on arch fully updated. I noticed the crashes around the date as you.

I checked the changelog but nothing caught my eye : http://nginx.org/en/CHANGES-1.6%20
gileri
 
Posts: 2
Joined: Thu Apr 16, 2015 7:50 pm

Re: nginx proxy_pass not working

Postby gileri » Thu Apr 16, 2015 9:32 pm

gileri
 
Posts: 2
Joined: Thu Apr 16, 2015 7:50 pm

Re: nginx proxy_pass not working

Postby JB26 » Thu Apr 16, 2015 9:44 pm

Thank you for confirming.
I opened a bug report

Edit:
Bug report for nginx: http://trac.nginx.org/nginx/ticket/748#ticket
JB26
 
Posts: 3
Joined: Sun Apr 12, 2015 4:08 pm


Return to General

Who is online

Users browsing this forum: No registered users and 6 guests