You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@djcarlin has been tracking down similar issues for us since before Christmas. We have been running with the changes in PR #7580 to help track down the issue.
Do you see log entries in error.log with "(setting last failure time)" ? We were triggering "dead/down" origin behavior inappropriately sometimes, which would prevent subsequent connections from working for a time.
In our case, I noticed squid.log entries with "ERR_CONNECT_FAIL 502" when a POST was happening, and Content-Length sent by client request differed from %<cqql> log field - "Client request header and content length combined, in bytes." In our case, Content-Length was tens of megabytes and cqql was only hundreds of bytes. This was marking origin down and breaking other valid requests.
If you think you're bumping against dead/down origin behavior, see #7290 and #7283 - I think the conditions on when an origin is marked dead/down need to be reviewed.
If you think you're bumping against dead/down origin behavior, see #7290 and #7283 - I think the conditions on when an origin is marked dead/down need to be reviewed.
I thought "down server" was always when ATS got a TCP RST, and "dead server" was always when connection attempts (TCP connection + HTTP headers in <9.x, TCP connection in >=9.x) failed.
Yes, see some of those errors in error.log: 20210328.14h19m39s CONNECT Error: EIO: Input/output error [5] connecting to 192.168.3.1:2000 for 'http://192.168.3.1:2000/' (setting last failure time)
Within the code there is no separate tracking of an origin connection failing due to receiving a TCP RST as opposed to any other failure. More discussion on what currently makes a server dead in issue #7290. I hope to have a PR up to address the options discussed early next week. Testing internally right now. Hopefully those changes will help fix and/or debug the origin connection problems we are seeing with ASF 9.1 in the docs environment.
Activity
shinrich commentedon Mar 29, 2021
@djcarlin has been tracking down similar issues for us since before Christmas. We have been running with the changes in PR #7580 to help track down the issue.
djcarlin commentedon Mar 29, 2021
Do you see log entries in error.log with "(setting last failure time)" ? We were triggering "dead/down" origin behavior inappropriately sometimes, which would prevent subsequent connections from working for a time.
In our case, I noticed squid.log entries with "ERR_CONNECT_FAIL 502" when a POST was happening, and Content-Length sent by client request differed from %<cqql> log field - "Client request header and content length combined, in bytes." In our case, Content-Length was tens of megabytes and cqql was only hundreds of bytes. This was marking origin down and breaking other valid requests.
djcarlin commentedon Mar 29, 2021
If you think you're bumping against dead/down origin behavior, see #7290 and #7283 - I think the conditions on when an origin is marked dead/down need to be reviewed.
mtorluemke commentedon Mar 29, 2021
I thought "down server" was always when ATS got a TCP RST, and "dead server" was always when connection attempts (TCP connection + HTTP headers in <9.x, TCP connection in >=9.x) failed.
mtorluemke commentedon Mar 29, 2021
Yes, see some of those errors in error.log:
20210328.14h19m39s CONNECT Error: EIO: Input/output error [5] connecting to 192.168.3.1:2000 for 'http://192.168.3.1:2000/' (setting last failure time)shinrich commentedon Apr 22, 2021
Within the code there is no separate tracking of an origin connection failing due to receiving a TCP RST as opposed to any other failure. More discussion on what currently makes a server dead in issue #7290. I hope to have a PR up to address the options discussed early next week. Testing internally right now. Hopefully those changes will help fix and/or debug the origin connection problems we are seeing with ASF 9.1 in the docs environment.
bryancall commentedon Feb 1, 2022
@mtorluemke is this still an issue?
bryancall commentedon Mar 8, 2022
If this is still an issue please reopen.