Comments (28)
from pound.
In the lack of further info, I'm closing that as completed.
from pound.
from pound.
For that host, I can see them only twice, at 30 seconds from each other, but after those there are no more of them.
Regards,
Alessandro
from pound.
from pound.
Hello Sergey,
Sep 3 07:07:42 pound-101 pound[969]: (7fe30fca7640) connect_nb: error after getsockopt: Connection refused
Sep 3 07:08:12 pound-101 pound[969]: (7fe312ce5640) connect_nb: error after getsockopt: Connection refused
and after that timestamp no more.
from pound.
from pound.
Yes, it is (apparently) the only one.
We have other services that get restarted daily but the work fine.
The main difference is that this is a Tomcat on a Windows system and not on Linux.
The configuration is utterly simple:
Service
HeadRequire "Host: .*REDACTED*"
URL ".*/XXX/YY/ZZZ.*"
BackEnd
Address REDACTED
Port 8280
End
End
from pound.
from pound.
I indeed have Control configured but never used poundctl.
If you agree, you can close this issue as "not planned" while I'll be monitoring the problem and eventually get back to you.
from pound.
I ran into the same issue recently. It was a linux backend. Had to restart pound for the fix.
from pound.
from pound.
In my case this is pound (pound) 4.6.90.
Have 9 backend services in total, each with one backend configured.
The affected part of the config:
ListenHTTP
Service
Host "my.domain.tld"
Redirect 301 "https://my.domain.tld"
End
End
Service
Host "my.domain.tld"
BackEnd
Address 192.b.x.y
Port zzzzz
WSTimeOut 60
End
End
It happened that the host at 192.b.x.y (a qemu VM) was unproperly killed. After a reboot, pound didn't see it anymore.
Could be something tricky probably from the network side, as there was surely no proper announcement to the network that the host is going down. I only noticed after several days, that although the host is up and reacheable by is internal IP, it's not accessible through pound.
from pound.
Was there anything in the pound log? Things of interest are messages beginning with "connect_nb", or any error messages?
from pound.
After many attempts I had finally been able to reproduce this behavior. To make sure I'm on the right track, I need the following info:
- Is pound running as daemon or foreground program (the Daemon configuration setting)?
- The value of LogLevel setting
- Command line options with which pound is started.
from pound.
- No Daemon configuration specified in the config file (according to the doc, it runs as daemon as default)
LogLevel 0
- no command line options, it's invoked by the
rc.d
script as/usr/local/sbin/pound
from pound.
Thanks. Then, I suppose, you should have seen several connect_nb:
messages in your pound log, and then nothing up to the moment of pound restart. Is that so?
from pound.
Yep indeed, hundreds of them:
Time | Process | PID | Message |
---|---|---|---|
Sep 12 15:45:28 | pound | 9032 | (800a79d00) connect_nb: error after getsockopt: Connection refused |
Sep 12 15:45:13 | pound | 9032 | (800a79d00) connect_nb: error after getsockopt: Connection refused |
Sep 12 15:44:58 | pound | 9032 | (800a79d00) connect_nb: error after getsockopt: Connection refused |
Sep 12 15:44:43 | pound | 9032 | (800a79d00) connect_nb: error after getsockopt: Connection refused |
Sep 12 15:44:28 | pound | 9032 | (800a79d00) connect_nb: error after getsockopt: Connection refused |
... |
from pound.
Ok. Last (hopefully) question: what was the time difference between last of them and the time when you restarted pound?
from pound.
I have a (maybe) new insight: the backend that does not get resurrected is used multiple times in different listeners.
Today, I got the following status (grepped from poundctl):
0. backend http 192.168.0.61:8280 5 alive active
0. backend http 192.168.0.61:8280 5 alive active
0. backend http 192.168.0.61:8280 5 dead active
0. backend http 192.168.0.61:8280 5 alive active
As always I had to restart pound to get it 'alive' again. Using 'poundctl disable/enable' did not work.
from pound.
Ok. Last (hopefully) question: what was the time difference between last of them and the time when you restarted pound?
Didn't catch that info. Logs rotated since then...
But I guess it was continuous flood until restart.
from pound.
from pound.
Hello, I think I'm also noticing this issue.
pound 4.9
Launched from systemd
One interesting thing is that the websocketd backend was redetected as alive once its server was brought back up, but the http and https services were not.
Set 3 backends for 3 services, https, http and websockets on port 7682.
Only had one live backend server but entries for the future ones were added. Only the active ones showed as alive. Brought up the new backend server and pound only detected that the websockd service was back up. http and https just showed "dead active".
Tried using poundctl to disable and enable them, but that didn't seem to help.
from pound.
Yes, at least one of them responded to requests while the other was dead.
The web server hosting the backends is restarted every morning at about 7AM so the connect_nb message is always at that time, regardless of when I restart pound.
from pound.
Thanks for the feedback. Please try commit bfd8c1d.
from pound.
@abaldoni , @nagyrobi , Any news?
from pound.
Not yet, as I need to set up environment to compile under bsd.
from pound.
I deployed the commit last saturday and, as of today, we experienced no problems at all. 👍
from pound.
Related Issues (20)
- Multiple "Can't read BIO_f_base64" in log HOT 2
- Create release of prerelease versions? HOT 3
- Add to homebrew? HOT 10
- Pound forwards requests with multiple `Transfer-Encoding: chunked` headers HOT 2
- Pound forwards chunk sizes prefixed with `0x`, `-`, and `+` HOT 1
- Pound forwards requests with invalid whitespace around chunk sizes HOT 1
- openssl 0A000438 error and Caddy servers HOT 8
- [FR] response headers modification HOT 3
- Segmentation fault with pound 4.11 on OpenSUSE HOT 4
- Pound forwards messages containing unrecognized transfer codings
- Pound forwards requests containing both `Transfer-Encoding` and `Content-Length` headers
- "error copy client cont" error HOT 8
- Bug in chunked message body decoding causes malformed requests to be forwarded HOT 5
- Unable to use the same backend for different virtual hosts HOT 3
- Debian package Reintroducing ? HOT 4
- pound on FreeBSD exits on signal 11 and reports out of memory HOT 5
- Heap buffer overflow in HTTP response parser
- Pound 4.12 segfaults with libpcre2 HOT 10
- Different behaviour (or bug) in URL parsing between Pound 2.8 and 4.12 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pound.