Replies: 1 comment 5 replies
-
Hi. Need the full traceback not a snippet. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi its me again :)
I have stumbled across another problem. I recently found some error messages in my logs. They look like this:
I did a little research and found out that the log variable
$upstream_connect_time
can have multiple values.The following is from the official nginx docs:
"
$upstream_connect_time
keeps time spent on establishing a connection with the upstream server (1.9.1); the time is kept in seconds with millisecond resolution. In case of SSL, includes time spent on handshake. Times of several connections are separated by commas and colons like addresses in the $upstream_addr variable.
"
(see: https://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_connect_time)
And exactly thats what happend in my case. I found some log lines that contain two upstream connect times:
THE-IP - - [THE-TIME]"GET /THE-URL HTTP/1.1" 502 36"-" THE-HOST "THE-USER-AGENT""0.020" "0.000, 0.000""THE-CITY" "THE-COUNTRY"
(I masked some parts to keep it short) And thats the part where things go wrong ------------->|_____________|
I did not build anything to patch it as I do not know what would be the best way to solve it.
Beta Was this translation helpful? Give feedback.
All reactions