-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debugging remote connection EOF #600
Comments
You are correct - in the current dial protocol, connectionID is per agent, so you have to look at {agentID+connectionID}.
I checked some recent logs in a cluster, I see non-empty dialAddress. ProxyClientConnection caches dialAddress for logging only purposes, maybe there is a bug in some codepaths. (Maybe HTTP-connect only?) What binary version are you using? Does the log "Received DIAL_REQ" also have empty dialAddress?
What is logged as "dialID" is DialRequest.Random. It originates from the client in case of gRPC, and the proxy-server originates it for HTTP-connect mode. Note the proposal to simplify the dial protocol: #462 |
Please re-open if there are more questions. |
I have a peculiar question that I was seeing. In my test setup I had 2 konnectivity-servers and 2 konnectivity-agents.
The agent logs were showing a lot of EOF related log messages such as
Naturally, I assumed in order to dig a bit deeper, I need to correlate the
connectionID
at the server end to find out more about the dial address and other details.The logs in the konnectivity server end were confusing to me because of empty
dialAddress=""
. I searched forconnectionID-165
based on the aboveremote connection EOF connectionID=165
konnectivity server pod 1
konnectivity server pod 2
Question 1:
connectionID is specific to each agent ? Can there be duplicate connectionID with the same number but has compeltely different context in multiple agents ?
I saw remote endpoint EOF to connectionID=165 is both of my agents.
Question 2:
Why is the
dialAddress=
empty ? If its empty and the agent has logs filled with rmeote connection EOF , then its makes it difficult to know whats happening with the system.I suppose if it wasn't empty question 1 would be resolved based on the different dialAddress.
Question 3:
In konnectivity-server pod 2, I see 2 log entries for
connectionId=165
but with differentdialID
.I understand that the
connectionID
is something that originates from the agent end. How aboutdialID
, is server or the agent originator/creator ?The text was updated successfully, but these errors were encountered: