Welcome! Log In Create A New Profile

Advanced

Re: Reverse Proxy with 500k connections

March 09, 2017 12:20PM
Hi everybody,

ok, I recognized another linux network problem that I solved now. Situation now is like following:

When I call my upstream address via curl (on the nginx host) by selecting the corresponding local interface (eth0-9 = 192.168.1.130-139) everything is fine.
curl https://192.168.1.21:443/remote/events --insecure --interface eth0

But when I specify the same IP address that refers to eth0 (eth1-9 etc.) I get an "110: Connection timed out".
Does anybody know this situation? Checked by sysctl config but it looks fine...

split_clients "${remote_addr}${remote_port}AAAA" $proxy_ip {
100% 192.168.1.130;
}

server {
listen 44301 ssl backlog=163840;
proxy_bind $proxy_ip;
#proxy_bind 192.168.1.130;
..

2017/03/09 16:54:33 [error] 30081#0: *11 upstream timed out (110: Connection timed out) while connecting to upstream, client: x.x.x.x, server: , request: "GET /remote/events HTTP/1.1", upstream: "https://192.168.1.21:443/remote/events", host: "xxxxx:44301"
Subject Author Posted

Reverse Proxy with 500k connections

larsg March 07, 2017 02:50PM

Re: Reverse Proxy with 500k connections

Nelson Marcos March 07, 2017 04:14PM

Re: Reverse Proxy with 500k connections

Rainer Duffner March 07, 2017 04:24PM

Re: Reverse Proxy with 500k connections

Tolga Ceylan March 07, 2017 05:12PM

Re: Reverse Proxy with 500k connections

Andrei Belov March 07, 2017 06:40PM

Re: Reverse Proxy with 500k connections

Tolga Ceylan March 07, 2017 07:58PM

Re: Reverse Proxy with 500k connections

Maxim Konovalov March 08, 2017 06:18AM

Re: Reverse Proxy with 500k connections

larsg March 09, 2017 09:52AM

Re: Reverse Proxy with 500k connections

larsg March 09, 2017 12:20PM

RE: Reverse Proxy with 500k connections

Reinis Rozitis March 09, 2017 12:10PM

Re: RE: Reverse Proxy with 500k connections

larsg March 09, 2017 01:10PM

Re: Reverse Proxy with 500k connections

Konstantin Pavlov March 09, 2017 02:26PM

Re: Reverse Proxy with 500k connections

larsg March 13, 2017 10:22AM

Re: Reverse Proxy with 500k connections

foxgab July 14, 2017 02:15AM

Re: Reverse Proxy with 500k connections

Maxim Konovalov March 08, 2017 06:20AM

Re: Reverse Proxy with 500k connections

Maxim Konovalov March 09, 2017 04:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready