Skip to content
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

fix: unable to establish connection to seed node #489

Closed
2 tasks done
tegefaulkes opened this issue Oct 25, 2022 · 50 comments
Closed
2 tasks done

fix: unable to establish connection to seed node #489

tegefaulkes opened this issue Oct 25, 2022 · 50 comments
Assignees
Labels
design Requires design development Standard development enhancement New feature or request r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices

Comments

@tegefaulkes
Copy link
Contributor

tegefaulkes commented Oct 25, 2022

Specification

During the network entry procedure where we attempt to connect to a seed node is failing to connect. The expectation here is that we specify the seed node using the --seed-node CLI parameter and our node connects to said seed node. What is happening is we start the connection but the seed node times out when establishing the reverse connection.

Specifically the connection is being started so the seed node sees this connection. When handling the connection it should create a reverse connection and compose it. We are failing to start the reverse connection during ReverseConnection.start() due to timing out.

Additional context

Related MatrixAI/Polykey-CLI#71
Related #487

Tasks

  1. Investigate the cause of the failure.
  2. Fix the bug.
@tegefaulkes tegefaulkes added enhancement New feature or request development Standard development design Requires design labels Oct 25, 2022
@tegefaulkes tegefaulkes self-assigned this Oct 25, 2022
@CMCDragonkai
Copy link
Member

The punch protocol is executed regardless whether there is NAT or not. So you would want to establish whether your home node is receiving punch packets from the testnet node. You can do this by using wireshark or by logging out in the code on the punch message/receive message handler in Proxy.ts.

If that is true, then the error is somewhere else, maybe some logic problem or timeout issue. If that is not true, then the punch protocol is failing.

This may be related to the #474 nat testing failures since that was failing locally too.

@tegefaulkes
Copy link
Contributor Author

Original context found here. #487 (comment)

@tegefaulkes
Copy link
Contributor Author

tegefaulkes commented Oct 25, 2022

Testing locally gives us the following error.

ErrorPolykeyRemote: Remote error from RPC call
  command       nodesHolePunchMessageSend
  nodeId        vi7dsecl9945pl22uff97tfee776auf3d3cjcfeimarihv1p4plqg
  host  127.0.0.1
  port  54143
  timestamp     Tue Oct 25 2022 13:46:11 GMT+1100 (Australian Eastern Daylight Time)
  cause: ErrorProxyConnectInvalidUrl: Invalid target host used for HTTP connect proxy
    exitCode    76
    timestamp   Tue Oct 25 2022 13:46:11 GMT+1100 (Australian Eastern Daylight Time)

The bug here is really weird.. just before the error in Proxy.establishConnectionReverse the value of proxyHost is 0.0.0.0. But just before calling Proxy.establishConnectionReverse in Proxy.connectReverse the value of proxyHost is 127.0.0.1 as expected... This is very odd.

Oh, it's called twice, the first time is correct, the 2nd one isnt.

@CMCDragonkai
Copy link
Member

I think we've seen this before. There's always confusion between 0.0.0.0 and 127.0.0.1. The 0.0.0.0 should only be allowed when listening. It should never be allowed when connecting-to. Our validation routines should be checking to ensure this.

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Oct 25, 2022

Here's an example of a confusion I've seen before in the codebase:

One source of confusion is that we are using host in places that are both listening-to and connecting-to. When running a server that is listening to 0.0.0.0 and we ask the server what is it listening to, it will say 0.0.0.0. But you can't use this to connect. You have to swap it out for 127.0.0.1 instead (and you can only do this if you expect that 0.0.0.0 means you are on the same machine, if it is on a remote server, then that address is meaningless).

@tegefaulkes
Copy link
Contributor Author

I've found the problem. When creating a NodeConnection we send hole punch request to the seed node with sendHolePunchMessage. with this we specify our own IP and port to for where to send the hole punch messages to. The problem here is. We don't know our host and port. we can't know this from the local perspective unless we ask someone else. So what we're doing is sending what we think our host and port is. In this case it's defaulted to 0.0.0.0 and whatever the proxy port was.

We need to fix this logic. What needs to happen is that the seed node fills in the details of the node making the hole punch request. This can be done in two ways. Our node an request our connection information from the seed node and fill in the details. Or the seed node when it receives the hole punch relay request can fill in the connection details of the node making the request.

I've been vaguely aware of this problem for a while now. I think I've mentioned it in the #365 issue.

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Oct 25, 2022

That hole punch messages is only relevant if we are connecting to another (third) node though.

I remember that in ICE, we do 3 things in parallel, direct connection, hole punch signalling, relay message.

Now since we are hitting the seed nodes, this is different from hitting random nodes.

I imagine that upon the initial network entry, it should not bother with trying to "hole punch signal", the seed nodes. It should only attempt direct connection.

We haven't really worked out how #365 nor #182 would work.

So at the network entry stage, there shouldn't be an ICE logic. Only direct connections should be necessary.

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Oct 25, 2022

with this we specify our own IP and port to for where to send the hole punch messages to. The problem here is. We don't know our host and port.

I don't understand this. The "hole punch message" is for signalling. The connecting node should not be putting in its own IP and port information because like you said, it wouldn't even know the right IP and port info.

@CMCDragonkai
Copy link
Member

What needs to happen is that the seed node fills in the details of the node making the hole punch request. This can be done in two ways. Our node an request our connection information from the seed node and fill in the details. Or the seed node when it receives the hole punch relay request can fill in the connection details of the node making the request.

The seed node "fills in the details" when it receives a signalling message. It does this dynamically at the point of handling the service call.

@tegefaulkes
Copy link
Contributor Author

Overall I think the process needs to be refactored. currently we ask the seed node to relay a hole punch message to our target. In this case we are providing all of the information here. What we need to do is ask the seed node to co-ordinate a connection between our self and our target node.

It would look something like this.

  1. Node NA asks SA to co-ordinate connection to NB
  2. SA responds OK, connect to NB at this address.
  3. SA tells NB to connect to NA at this address.
  4. Both NA and NB are attempting connections to each other on their respective public IP and port.

The key difference here is that SA is providing the connection information to both NA and NB. The limitation of this is that both NA and NB need to be connected to SA at the same time.

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Oct 25, 2022

As you're fixing this, can you change the name of this mechanism to be "signalling"? That is sendHolePunchMessage should be sendSignalingMessage.

@tegefaulkes
Copy link
Contributor Author

with this we specify our own IP and port to for where to send the hole punch messages to. The problem here is. We don't know our host and port.

I don't understand this. The "hole punch message" is for signalling. The connecting node should not be putting in its own IP and port information because like you said, it wouldn't even know the right IP and port info.

It's an old implementation that hasn't been reviewed.

@CMCDragonkai
Copy link
Member

Let's do this then.

bounce signal

@CMCDragonkai
Copy link
Member

Atm, the NodeConnectionManager should know what are seed nodes and what aren't. So when it is doing a connection to the seed nodes, it should not attempt to do an ICE. Only direct connection should be done.

@CMCDragonkai
Copy link
Member

Apply the first fix #489 (comment), and then test to see if it's working. Then apply second fix. Because the second fix #489 (comment) would not execute that the first fix.

@CMCDragonkai
Copy link
Member

Fixes should go straight to staging.

@tegefaulkes
Copy link
Contributor Author

Just realised that I still need to check the fix against the testnet. Reopening this.

@tegefaulkes tegefaulkes reopened this Oct 25, 2022
@tegefaulkes
Copy link
Contributor Author

Connecting to the testnet is still failing so that's a different problem. Debugging and fixing will be a little tricky since the problem is with the seed node.

@CMCDragonkai
Copy link
Member

Did you test this locally?

@tegefaulkes
Copy link
Contributor Author

yes, it's working locally. the local bug is different to the seed nodes bug. Locally it was an explicit error due to a bad ip address for hole punching. For the seed node it's timing out forming the reverse connection.

@CMCDragonkai
Copy link
Member

Use the scripts to push up build and push new image, the CI/CD does this automatically but the scripts can also run locally. I think you need to first build the image though.

Afterwards, have to establish if your home node is actually receiving punch packets from the seed node.

@tegefaulkes
Copy link
Contributor Author

Using wireshark, I can see that we're getting response packets.

257	25.895044425	172.20.118.142	3.106.178.29	UDP	48	55850 → 1314 Len=4
262	26.866055654	172.20.118.142	3.106.178.29	UDP	48	55850 → 1314 Len=4
263	26.897782907	3.106.178.29	172.20.118.142	UDP	48	1314 → 55850 Len=4
264	26.898099804	172.20.118.142	3.106.178.29	UDP	48	55850 → 1314 Len=4
272	27.865998757	172.20.118.142	3.106.178.29	UDP	48	55850 → 1314 Len=4
273	27.896952015	3.106.178.29	172.20.118.142	UDP	48	1314 → 55850 Len=4

So it's not a problem with the networking.

Now that I think about it, it's not failing to establish a connection back to our node. it's the Proxy failing to establish a connection to the agent GRPC service.

There's a diagram here for reference. #361 (comment)

So now the question is, why is it failing to connect to itself locally? Is this a container thing? A EC2 networking thing?

@CMCDragonkai
Copy link
Member

How do you know it's the Proxy failing to establish connection to GRPC service? If it is, check that these are set correctly.

image

@tegefaulkes
Copy link
Contributor Author

Here is the seed nodes start information

{
    "pid": 1,
    "nodeId": "v1mnaq2ppfrbfk5le1i7j68p5sodh3904v12lp4u04pflq1gumks0",
    "clientHost": "0.0.0.0",
    "clientPort": 1315,
    "agentHost": "127.0.0.1",
    "agentPort": 42793,
    "proxyHost": "0.0.0.0",
    "proxyPort": 1314,
    "forwardHost": "127.0.0.1",
    "forwardPort": 39185,
    "recoveryCode": "..."
}

And when running locally.

pid     4133904
nodeId  vpkulk5dd8j4f6gh1tlvpq3ttvrnluhvg0fkkr9km86kek9lpocg0
clientHost      127.0.0.1
clientPort      40943
agentHost       127.0.0.1
agentPort       35649
proxyHost       0.0.0.0
proxyPort       55850
forwardHost     127.0.0.1
forwardPort     38351

@CMCDragonkai
Copy link
Member

Check the actual task definition in Polykey-Infrastructure.

@CMCDragonkai
Copy link
Member

That doesn't show the serverHost and serverPort because that's private information... It's meant to be auto generated.

Remember the agent service is not meant to be publically exposed. It's meant to just be generated for 127.0.0.1 and then used automatically.

@CMCDragonkai
Copy link
Member

If the agent status is fully authenticated endpoint we could show that private data, which would only be useful for debugging purposes.

@tegefaulkes
Copy link
Contributor Author

tegefaulkes commented Oct 25, 2022

Might be related to host networking mode?

"The task uses the host's network which bypasses Docker's built-in virtual network by mapping container ports directly to the ENI of the Amazon EC2 instance that hosts the task. Dynamic port mappings can’t be used in this network mode. A container in a task definition that uses this mode must specify a specific hostPort number. A port number on a host can’t be used by multiple tasks. As a result, you can’t run multiple tasks of the same task definition on a single Amazon EC2 instance."

Specifically Dynamic port mappings can’t be used in this network mode. If that means we can't connect to any dynamic ports even on the loop back then that would be the cause of the problem.

A quick test for this would be to hard code the agent port and see if that fixes it.

@tegefaulkes
Copy link
Contributor Author

We don't have a way to set the agent host/port when starting the agent. So to test this I will have to push new container images up.

@CMCDragonkai
Copy link
Member

I'd be surprised if that was the reason. The host network just means it's using the host's interface. At the end of the day the agent service is supposed to be bound to 127.0.0.1 and with a random port, and that should still work regardless of what networking mode it's doing.

If you are able to ssh into the EC2 instance, you can also then bring in some networking tools to observe the port registrations there used by the container. Use things like ss or lsof. See: https://www.cyberciti.biz/faq/unix-linux-check-if-port-is-in-use-command/

@tegefaulkes
Copy link
Contributor Author

it seems to be bound.

[ec2-user@ip-10-1-6-232 ~]$ sudo netstat -lanp | grep polykey-agent
tcp        0      0 0.0.0.0:1315            0.0.0.0:*               LISTEN      28535/polykey-agent 
tcp        0      0 127.0.0.1:46567         0.0.0.0:*               LISTEN      28535/polykey-agent 
tcp        0      0 127.0.0.1:34475         0.0.0.0:*               LISTEN      28535/polykey-agent 
udp        0      0 0.0.0.0:1314            0.0.0.0:*                           28535/polykey-agent 

@tegefaulkes
Copy link
Contributor Author

I'm installing tcpdump on the EC2 instance so I can see what is going on with the connection.

@tegefaulkes
Copy link
Contributor Author

Here is a snippet from the TCP dump. 34475 is the agent port.

// connection handshake
07:24:59.460586 IP localhost.58698 > localhost.34475: Flags [S], seq 630705361, win 43690, options [mss 65495,sackOK,TS val 2539966487 ecr 0,nop,wscale 6], length 0
07:24:59.460606 IP localhost.34475 > localhost.58698: Flags [S.], seq 3927309860, ack 630705362, win 43690, options [mss 65495,sackOK,TS val 2539966487 ecr 2539966487,nop,wscale 6], length 0
07:24:59.460619 IP localhost.58698 > localhost.34475: Flags [.], ack 1, win 683, options [nop,nop,TS val 2539966487 ecr 2539966487], length 0

07:24:59.476760 IP localhost.34475 > localhost.58698: Flags [P.], seq 1:10, ack 1, win 683, options [nop,nop,TS val 2539966504 ecr 2539966487], length 9
07:24:59.476773 IP localhost.58698 > localhost.34475: Flags [.], ack 10, win 683, options [nop,nop,TS val 2539966504 ecr 2539966504], length 0

// connection closing
07:25:19.451231 IP localhost.58698 > localhost.34475: Flags [F.], seq 1, ack 10, win 683, options [nop,nop,TS val 2539986478 ecr 2539966504], length 0
07:25:19.453594 IP localhost.34475 > localhost.58698: Flags [.], ack 2, win 683, options [nop,nop,TS val 2539986480 ecr 2539986478], length 0
07:25:19.471649 IP localhost.34475 > localhost.58698: Flags [F.], seq 10, ack 2, win 683, options [nop,nop,TS val 2539986498 ecr 2539986478], length 0
07:25:19.471665 IP localhost.58698 > localhost.34475: Flags [.], ack 11, win 683, options [nop,nop,TS val 2539986498 ecr 2539986498], length 0

This is odd.. First, the GRPC agent seems to be responding here. second, there should be more traffic than a single packet of 9 bytes right?

@tegefaulkes
Copy link
Contributor Author

That may just be the initial connection to the listening server. there is a 2nd stage to the communication on new ports using http

tcp        0      0 127.0.0.1:34713         0.0.0.0:*               LISTEN      1876/polykey-agent  
tcp        0      0 0.0.0.0:1315            0.0.0.0:*               LISTEN      1876/polykey-agent  
tcp        0      0 127.0.0.1:PORTA         0.0.0.0:*               LISTEN      1876/polykey-agent  
udp        0      0 0.0.0.0:1314            0.0.0.0:*                           1876/polykey-agent  

[ec2-user@ip-10-1-6-232 ~]$ sudo tcpdump --interface 6 -A
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 262144 bytes
07:36:05.107661 IP localhost.PORTB > localhost.PORTA: Flags [S], seq 4189978025, win 43690, options [mss 65495,sackOK,TS val 2540632132 ecr 0,nop,wscale 6], length 0
E..<..@................/.............0.........
.n.D........
07:36:05.107691 IP localhost.PORTA > localhost.PORTB: Flags [S.], seq 2851646477, ack 4189978026, win 43690, options [mss 65495,sackOK,TS val 2540632132 ecr 2540632132,nop,wscale 6], length 0
E..<..@...}........../...............0.........
.n.D.n.D....
07:36:05.107706 IP localhost.PORTB > localhost.PORTA: Flags [.], ack 1, win 683, options [nop,nop,TS val 2540632132 ecr 2540632132], length 0
E..4..@................/.............(.....
.n.D.n.D
07:36:05.140402 IP localhost.PORTA > localhost.PORTB: Flags [P.], seq 1:10, ack 1, win 683, options [nop,nop,TS val 2540632165 ecr 2540632132], length 9
E..=.)@...g........../...............1.....
.n.e.n.D.........
07:36:05.140533 IP localhost.PORTB > localhost.PORTA: Flags [.], ack 10, win 683, options [nop,nop,TS val 2540632165 ecr 2540632165], length 0
E..4..@................/.............(.....
.n.e.n.e
07:36:08.954773 IP localhost.PORTC > localhost.PORTD: Flags [S], seq 2855176836, win 43690, options [mss 65495,sackOK,TS val 2540635979 ecr 0,nop,wscale 6], length 0
E..<..@..............H...............0.........
.o.K........
07:36:08.954791 IP localhost.PORTD > localhost.PORTC: Flags [S.], seq 2725604783, ack 2855176837, win 43690, options [mss 65495,sackOK,TS val 2540635979 ecr 2540635979,nop,wscale 6], length 0
E..<..@...}............H.um..........0.........
.o.K.o.K....
07:36:08.954805 IP localhost.PORTC > localhost.PORTD: Flags [.], ack 1, win 683, options [nop,nop,TS val 2540635979 ecr 2540635979], length 0
E..4..@..............H.......um......(.....
.o.K.o.K
07:36:08.955628 IP localhost.PORTC > localhost.PORTD: Flags [P.], seq 1:86, ack 1, win 683, options [nop,nop,TS val 2540635980 ecr 2540635979], length 85
E.....@..............H.......um......}.....
.o.L.o.KHEAD /v1/metadata HTTP/1.1
Host: localhost:PORTD
User-Agent: Go-http-client/1.1


07:36:08.955641 IP localhost.PORTD > localhost.PORTC: Flags [.], ack 86, win 683, options [nop,nop,TS val 2540635980 ecr 2540635980], length 0
E..4..@................H.um..........(.....
.o.L.o.L
07:36:08.956558 IP localhost.PORTD > localhost.PORTC: Flags [P.], seq 1:110, ack 86, win 683, options [nop,nop,TS val 2540635981 ecr 2540635980], length 109
E..../@....$...........H.um................
.o.M.o.LHTTP/1.1 200 OK
Content-Type: application/json
Date: Tue, 25 Oct 2022 07:36:08 GMT
Content-Length: 213


07:36:08.956567 IP localhost.PORTC > localhost.PORTD: Flags [.], ack 110, win 683, options [nop,nop,TS val 2540635981 ecr 2540635981], length 0
E..4..@..............H.......un......(.....
.o.M.o.M
07:36:08.966661 IP localhost.PORTC > localhost.PORTD: Flags [F.], seq 86, ack 110, win 683, options [nop,nop,TS val 2540635991 ecr 2540635981], length 0
E..4..@..............H.......un......(.....
.o.W.o.M
07:36:08.966919 IP localhost.PORTD > localhost.PORTC: Flags [F.], seq 110, ack 87, win 683, options [nop,nop,TS val 2540635991 ecr 2540635991], length 0
E..4.0@................H.un..........(.....
.o.W.o.W
07:36:08.966931 IP localhost.PORTC > localhost.PORTD: Flags [.], ack 111, win 683, options [nop,nop,TS val 2540635991 ecr 2540635991], length 0
E..4..@..............H.......un......(.....
.o.W.o.W
^C
15 packets captured
30 packets received by filter
0 packets dropped by kernel

We can see the HTTP handshake working. But then the connecting side initiates the end of the connection.

@tegefaulkes
Copy link
Contributor Author

tegefaulkes commented Oct 25, 2022

3 things to look into.

  1. The agent is randomly failing and restarting with a new nodeId.
  2. The problem with the connection seems to be the UTP connection failing to establish a handshake. Resulting in a UTP_ETIMEDOUT error from the C code, this is hardcoded to occur after 20 seconds. The 20 seconds is not configurable. This is why any application-abortions need to occur earlier than 20 seconds, having a timer deadline later than 20 seconds is useless.
  3. the timeout logic isn't working here. it isn't resolving after the timeout period. I think I fixed something like this in the crypto upgrade branch. If I recall the timer was ending early so the abort signal from it never happens.

@CMCDragonkai
Copy link
Member

We will need a source of truth to compare against. So record all the logs locally, all the UTP message handling. Then we compare with the remote node, after creating an image and pushing/deploying to the testnet. Make sure you have your ./scripts working and authenticated.

We should also use tshark to compare against the wireshark logs since these are likely to be more consistent with each other.

@tegefaulkes
Copy link
Contributor Author

I should get Tshark to work on the EC2 instance so we can compare with the local packet dump.

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Oct 25, 2022

The agent is failing randomly and it crashed by itself without any iteraction the last midnight. So we need to investigate why it would do this without any logs. This would indicate something breaking in the background.

It has to log out ALL uncaught exceptions and uncaught rejections.

@CMCDragonkai
Copy link
Member

CMCDragonkai commented Oct 26, 2022

Debugging Procedure

Fixing the Timed Cancellable Abort

We know that starting a connection for ConnectionForward is dependent on a promise race of 3 things:

  1. readyP and secureConnectP
  2. errorP
  3. abortP

The UTP_ETIMEDOUT occurs from the underlying utp native library, and this is hardcoded to occur after 20 seconds if it cannot complete the UTP handshake.

This means this is the maximum deadline for our abortion timeout.

We should add a ErrorConnectionStartTimeoutMaximum to indicate when the deadline is set to >= 20000.

Then set the default deadline to 1000 since our connection handshakes should complete within 1 second.

For this to work, the punch interval should be set to 50ms or 100ms.

At this point it should be possible to abort the connection within 1 second and NOT see the UTP_ETIMEDOUT if the connection fails.

To ensure that we do not see a UTP_ETIMEDOUT after an abortion, it's critical to destroy the connection and all related state, so that this error message would not be emitted. We don't want invisible side effect to keep occurring while we have already aborted the connection.

Connection Protocol Logging

We need to log out all the relevant parts of the connection protocol from both ConnectionForward and ConnectionReverse. And these logs should use these labels for communication.

  • A - after the GRPC client has connected to the Proxy TCP server via the HTTP CONNECT protocol
  • B - after the ConnectionReverse has connected to the GRPC server running the agent service.
  • C - for each ping message sent from ConnectionForward to ConnectionReverse
  • D - for each ping message sent from ConnectionReverse to ConnectionForward
  • E - in the ConnectionReverse, upon receiving a ping message from ConnectionForward, and sending a pong message back.
  • F - in the ConnectionForward, upon receiving a ping message from ConnectionReverse, and sending a pong message back
  • G - upon the ConnectionForward receiving a ping and resolving the readyP
  • H - upon the ConnectionReverse receiving a pong and resolving the readyP

These log messages MUST have a timing information as part of the logs. This is so we can compare the order.

Local Simulation Testing

Open up wireshark. And run a seed node and a client node.

Both nodes should run and output the log messages above.

Observe that a full connection WORKS until being terminated by the node connection TTL which defaults to 60 seconds.

Look at the logs to see that the entire protocol is being followed.

Pushing up same image to ECR

Authenticate to skopeo using the command in the README.md. Use nix-build ./release.nix -A docker to build the docker container. Push the container up to ECR. And redeploy the service.

Now we will compare the logs between our office node and the testnet node with the logs we captured locally.

This is to identify where it is failing, where there is a discrepancy.

The only thing that could be problematic is the fact that we have a double NAT here in the office (specifically carrier grade NAT).

If this is a problem, we can see if it works from another AWS EC2 system to see if it is a NAT issue.

Fixing the Random Process Termination

Cover all our bases by having unique exit codes for:

  1. Unhandled Rejection
  2. Uncaught Exception
  3. Promise Deadlock
  4. Explicit shutdown

Log out the exit codes, and replicate the random failure by fuzz testing a local seed node while simulating conditions on the EC2, by running a local docker container image.

Identifying the correct exit code should be able to tell us what is happening.

ALSO check that we are not being killed by something else like the OOM on the operating system.

Otherwise if we cannot get anything useful, we will use strace on the entire nodejs process and run it there, and try and trigger a crash.

Alternatively we use https://rr-project.org/ and see https://fitzgeraldnick.com/2015/11/02/back-to-the-futurre.html

@tegefaulkes
Copy link
Contributor Author

tegefaulkes commented Oct 26, 2022

I've checked the timeout for forward and reverse connection. The time out was working BUT it was using the wrong defaults. I've fixed this up now.

When setting the timeouts to 0 I'm seeing UTP_ECONNRESET coming out of the forward connection race. This was one of the connection errors I couldn't re-create before. The odd thing here is, we're catching it and re-throwing it as a ErrorConnectionStart but it's somehow making it to top level as Error: UTP_ECONNRESET and crashing the agent.

I can confirm it is coming from the unhandledRejectionHandler so it is an unhanded rejection. But in the race the errorP is rejecting and we're catching and handling that. So where is this one coming from?

@tegefaulkes
Copy link
Contributor Author

tegefaulkes commented Oct 26, 2022

I'm getting a bit sidetracked here, I've make a comment on #473 about the new details I've discovered about this problem.

I'll leave this for later, it's only triggered on an extremely short timeout on the reverse connection establishment.

@tegefaulkes
Copy link
Contributor Author

tegefaulkes commented Oct 26, 2022

The timeout stuff has been fixed. I've opted for 2000ms timeout to match what the ping was set to.

General fixes for the abort proble.

  1. Set the connection timeout to 2000ms for the forward and reverse connections.
  2. Added checks for the timeout if it exceeds 20000ms and throws an ErrorConnectionStartTimeoutMax error if that's the case.
  3. Updated the abortion/timeout logic slightly. the forward and reverse connection can abort early now before doing any connection handling.

@tegefaulkes
Copy link
Contributor Author

Here are the logs for normal operation.

Seed node

pid     568681  
nodeId  v5il5gs4mmbdrl74o8chkei7phoogocjml8422sgn86769ao5rp30  
clientHost      127.0.0.1  
clientPort      39527  
agentHost       127.0.0.1  
agentPort       45943  
proxyHost       0.0.0.0  
proxyPort       46081  
forwardHost     127.0.0.1  
forwardPort     40547  
2022-10-26T04:13:10.569Z:INFO:Proxy:Handling connection from 127.0.0.1:56463  
2022-10-26T04:13:10.571Z:INFO:ConnectionReverse 127.0.0.1:56463:Starting Connection Reverse  
2022-10-26T04:13:10.571Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse creating socket to 127.0.0.1:45943  
2022-10-26T04:13:10.572Z:INFO:ConnectionReverse 127.0.0.1:56463:Reverse racing socket, error and abort stage 1  
2022-10-26T04:13:10.572Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:10.572Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:socketP resolved  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:B -- Connection Reverse has connected to the GRPC Agent server  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:Reverse starting pinging to 127.0.0.1:56463  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:D -- Reverse sending ping  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:Reverse racing ready, error and abort stage 2  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:H -- Reverse received pong, resolving ready  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:readyP resolved  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:Racing completed  
2022-10-26T04:13:10.575Z:INFO:ConnectionReverse 127.0.0.1:56463:Started Connection Reverse  
2022-10-26T04:13:10.576Z:INFO:ConnectionReverse 127.0.0.1:56463:Composing Connection Reverse  
2022-10-26T04:13:10.599Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:10.599Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:10.614Z:INFO:ConnectionReverse 127.0.0.1:56463:Composed Connection Reverse  
2022-10-26T04:13:10.615Z:INFO:PolykeyAgent:Reverse connection adding v8crlv1nvc9sieu30ne1istmqoenkp5hsurte5lfg6i6jo1da309g:127.0.0.  
1:56463 to NodeGraph  
2022-10-26T04:13:10.682Z:INFO:Proxy:Handled connection from 127.0.0.1:56463  
2022-10-26T04:13:11.599Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:11.599Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:12.600Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:12.600Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:13.599Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:13.599Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:14.600Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:14.600Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:15.600Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:15.600Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:16.601Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:16.601Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:17.601Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:17.601Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:18.602Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:18.602Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:19.602Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:19.602Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:20.602Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:20.602Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:21.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:21.603Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:22.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:22.603Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:23.602Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:23.602Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:24.602Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:24.602Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:25.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:25.603Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:26.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:26.603Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:27.602Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:27.602Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:28.602Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:28.602Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:29.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:29.603Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:30.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:30.603Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:31.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:31.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:32.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:32.603Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:33.603Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:33.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:34.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:34.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:35.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:35.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:36.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:36.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:37.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:37.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:38.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:38.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:39.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:39.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:40.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:40.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:41.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:41.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:42.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:42.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:43.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:43.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:44.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:44.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:45.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:45.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:46.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:46.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:47.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:47.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:48.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:48.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:49.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:49.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:50.604Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:50.604Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:51.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:51.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:52.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:52.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:53.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:53.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:54.605Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:54.605Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:55.606Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:55.606Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:56.606Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:56.607Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:57.607Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:57.607Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:58.606Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:58.606Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:13:59.606Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:13:59.606Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:00.606Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:00.606Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:01.607Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:01.607Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:02.607Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:02.607Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:03.608Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:03.608Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:04.608Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:04.608Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:05.608Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:05.608Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:06.608Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:06.608Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:07.609Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:07.609Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:08.608Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:08.608Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:09.609Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:09.609Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:10.609Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse Connection received message:    
2022-10-26T04:14:10.609Z:INFO:ConnectionReverse 127.0.0.1:56463:E -- Reverse received ping, responding with pong  
2022-10-26T04:14:10.646Z:INFO:ConnectionReverse 127.0.0.1:56463:Receives serverSocket ending  
2022-10-26T04:14:10.646Z:INFO:ConnectionReverse 127.0.0.1:56463:Stopping Connection Reverse  
2022-10-26T04:14:10.647Z:INFO:ConnectionReverse 127.0.0.1:56463:reverse socket closing  
2022-10-26T04:14:10.647Z:INFO:ConnectionReverse 127.0.0.1:56463:Stopped Connection Reverse

agent

2022-10-26T04:13:10.562Z:INFO:NodeManager:Syncing nodeGraph  
2022-10-26T04:13:10.566Z:INFO:ConnectionForward 127.0.0.1:46081:Starting Connection Forward  
2022-10-26T04:13:10.566Z:INFO:ConnectionForward 127.0.0.1:46081:Starting UTP connection to 127.0.0.1:46081  
2022-10-26T04:13:10.567Z:INFO:ConnectionForward 127.0.0.1:46081:Starting TLS connection  
2022-10-26T04:13:10.570Z:INFO:ConnectionForward 127.0.0.1:46081:Forward starting pings to 127.0.0.1:46081  
2022-10-26T04:13:10.570Z:INFO:ConnectionForward 127.0.0.1:46081:C -- Forward sending ping  
2022-10-26T04:13:10.570Z:INFO:ConnectionForward 127.0.0.1:46081:forward racing ready and secure with error and abort  
2022-10-26T04:13:10.573Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:10.575Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:10.575Z:INFO:ConnectionForward 127.0.0.1:46081:FG -- Forward received ping, responding with pong and resolving rea  
dyP  
2022-10-26T04:13:10.575Z:INFO:ConnectionForward 127.0.0.1:46081:readyP resolved  
2022-10-26T04:13:10.589Z:INFO:ConnectionForward 127.0.0.1:46081:secureConnectP resolved  
2022-10-26T04:13:10.589Z:INFO:ConnectionForward 127.0.0.1:46081:forward race succeeded  
2022-10-26T04:13:10.600Z:INFO:ConnectionForward 127.0.0.1:46081:Started Connection Forward  
2022-10-26T04:13:10.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:10.603Z:INFO:NodeConnection 127.0.0.1:46081:Creating NodeConnection  
2022-10-26T04:13:10.604Z:INFO:clientFactory:Creating GRPCClientAgent connecting to 127.0.0.1:46081  
2022-10-26T04:13:10.630Z:INFO:Proxy:Handling CONNECT to 127.0.0.1:46081  
2022-10-26T04:13:10.631Z:INFO:ConnectionForward 127.0.0.1:46081:Composing Connection Forward  
2022-10-26T04:13:10.632Z:INFO:ConnectionForward 127.0.0.1:46081:Composed Connection Forward  
2022-10-26T04:13:10.632Z:INFO:Proxy:A -- GRPC client connected to Proxy TCP server  
2022-10-26T04:13:10.632Z:INFO:Proxy:Handled CONNECT to 127.0.0.1:46081  
2022-10-26T04:13:10.635Z:INFO:clientFactory:Created GRPCClientAgent connecting to 127.0.0.1:46081  
2022-10-26T04:13:10.635Z:INFO:NodeConnection 127.0.0.1:46081:Created NodeConnection  
2022-10-26T04:13:10.677Z:INFO:scheduler:Starting Scheduling Loop  
2022-10-26T04:13:10.677Z:INFO:scheduler:Started Scheduling Loop  
2022-10-26T04:13:10.677Z:INFO:queue:Starting Queueing Loop  
2022-10-26T04:13:10.677Z:INFO:queue:Started Queueing Loop  
2022-10-26T04:13:10.678Z:INFO:Status:Finish Status STARTING  
2022-10-26T04:13:10.678Z:INFO:Status:Writing Status to tmp/nodeA/status.json  
2022-10-26T04:13:10.679Z:INFO:Status:Status is LIVE  
2022-10-26T04:13:10.679Z:INFO:PolykeyAgent:Started PolykeyAgent  
2022-10-26T04:13:10.679Z:INFO:PolykeyAgent:Created PolykeyAgent  
2022-10-26T04:13:10.679Z:INFO:WorkerManager:Creating WorkerManager  
2022-10-26T04:13:10.689Z:INFO:WorkerManager:Created WorkerManager  
pid     569821  
nodeId  v8crlv1nvc9sieu30ne1istmqoenkp5hsurte5lfg6i6jo1da309g  
clientHost      127.0.0.1  
clientPort      43281  
agentHost       127.0.0.1  
agentPort       34993  
proxyHost       0.0.0.0  
proxyPort       56463  
forwardHost     127.0.0.1  
forwardPort     36493  
2022-10-26T04:13:11.599Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:12.600Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:13.600Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:14.600Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:15.600Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:16.601Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:17.601Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:18.602Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:19.602Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:20.602Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:21.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:22.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:23.602Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:24.602Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:25.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:26.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:27.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:28.602Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:29.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:30.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:31.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:32.603Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:33.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:34.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:35.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:36.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:37.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:38.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:39.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:40.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:41.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:42.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:43.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:44.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:45.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:46.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:47.604Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:48.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:49.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:50.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:51.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:52.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:53.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:54.605Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:55.606Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:56.607Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:57.607Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:58.606Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:13:59.606Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:00.606Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:01.607Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:02.607Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:03.608Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:04.608Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:05.608Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:06.608Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:07.609Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:08.608Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:09.609Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:10.610Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:    
2022-10-26T04:14:10.644Z:INFO:NodeConnection 127.0.0.1:46081:Destroying NodeConnection  
2022-10-26T04:14:10.644Z:INFO:clientFactory:Destroying GRPCClientAgent connected to 127.0.0.1:46081  
2022-10-26T04:14:10.644Z:INFO:clientFactory:Destroyed GRPCClientAgent connected to 127.0.0.1:46081  
2022-10-26T04:14:10.645Z:INFO:NodeConnection 127.0.0.1:46081:Destroyed NodeConnection  
2022-10-26T04:14:10.645Z:INFO:ConnectionForward 127.0.0.1:46081:Stopping Connection Forward  
2022-10-26T04:14:11.647Z:WARN:ConnectionForward 127.0.0.1:46081:Forward Error: ErrorConnectionEndTimeout  
2022-10-26T04:14:11.647Z:INFO:ConnectionForward 127.0.0.1:46081:Stopped Connection Forward  
2022-10-26T04:14:11.647Z:INFO:ConnectionForward 127.0.0.1:46081:TLS Close

wireshark

1	15:13:10.567763853	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
2	15:13:10.567836739	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
3	15:13:10.570514398	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
4	15:13:10.571105981	127.0.0.1	127.0.0.1	UDP	407	56463 → 46081 Len=365
5	15:13:10.572726015	127.0.0.1	127.0.0.1	TCP	74	49650 → 45943 [SYN] Seq=0 Win=65495 Len=0 MSS=65495 SACK_PERM=1 TSval=184646445 TSecr=0 WS=128
6	15:13:10.572738541	127.0.0.1	127.0.0.1	TCP	74	45943 → 49650 [SYN, ACK] Seq=0 Ack=1 Win=65483 Len=0 MSS=65495 SACK_PERM=1 TSval=184646445 TSecr=184646445 WS=128
7	15:13:10.572747446	127.0.0.1	127.0.0.1	TCP	66	49650 → 45943 [ACK] Seq=1 Ack=1 Win=65536 Len=0 TSval=184646445 TSecr=184646445
8	15:13:10.573201926	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
9	15:13:10.573651820	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
10	15:13:10.575351137	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
11	15:13:10.575385887	127.0.0.1	127.0.0.1	TCP	75	45943 → 49650 [PSH, ACK] Seq=1 Ack=1 Win=65536 Len=9 TSval=184646448 TSecr=184646445
12	15:13:10.575391521	127.0.0.1	127.0.0.1	TCP	66	49650 → 45943 [ACK] Seq=1 Ack=10 Win=65536 Len=0 TSval=184646448 TSecr=184646448
13	15:13:10.575483594	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
14	15:13:10.583049790	127.0.0.1	127.0.0.1	UDP	1444	46081 → 56463 Len=1402
15	15:13:10.583466327	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
16	15:13:10.583518391	127.0.0.1	127.0.0.1	UDP	1444	46081 → 56463 Len=1402
17	15:13:10.583634856	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
18	15:13:10.583689218	127.0.0.1	127.0.0.1	UDP	273	46081 → 56463 Len=231
19	15:13:10.589353062	127.0.0.1	127.0.0.1	UDP	1444	56463 → 46081 Len=1402
20	15:13:10.589565230	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
21	15:13:10.599692481	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
22	15:13:10.599924064	127.0.0.1	127.0.0.1	UDP	1429	56463 → 46081 Len=1387
23	15:13:10.599984568	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
24	15:13:10.619967855	127.0.0.1	127.0.0.1	UDP	1444	46081 → 56463 Len=1402
25	15:13:10.619990251	127.0.0.1	127.0.0.1	UDP	1444	46081 → 56463 Len=1402
26	15:13:10.619996255	127.0.0.1	127.0.0.1	UDP	1444	46081 → 56463 Len=1402
27	15:13:10.620005719	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
28	15:13:10.620901095	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
29	15:13:10.621179980	127.0.0.1	127.0.0.1	UDP	618	46081 → 56463 Len=576
30	15:13:10.625041253	127.0.0.1	127.0.0.1	TCP	74	60284 → 36493 [SYN] Seq=0 Win=65495 Len=0 MSS=65495 SACK_PERM=1 TSval=184646498 TSecr=0 WS=128
31	15:13:10.625058549	127.0.0.1	127.0.0.1	TCP	74	36493 → 60284 [SYN, ACK] Seq=0 Ack=1 Win=65483 Len=0 MSS=65495 SACK_PERM=1 TSval=184646498 TSecr=184646498 WS=128
32	15:13:10.625068013	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [ACK] Seq=1 Ack=1 Win=65536 Len=0 TSval=184646498 TSecr=184646498
33	15:13:10.626548688	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
34	15:13:10.628070139	127.0.0.1	127.0.0.1	HTTP	313	CONNECT 127.0.0.1:46081/?nodeId=v5il5gs4mmbdrl74o8chkei7phoogocjml8422sgn86769ao5rp30 HTTP/1.1 
35	15:13:10.628088174	127.0.0.1	127.0.0.1	TCP	66	36493 → 60284 [ACK] Seq=1 Ack=248 Win=65280 Len=0 TSval=184646501 TSecr=184646501
36	15:13:10.632804575	127.0.0.1	127.0.0.1	HTTP	105	HTTP/1.1 200 Connection Established 
37	15:13:10.632824624	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [ACK] Seq=248 Ack=40 Win=65536 Len=0 TSval=184646505 TSecr=184646505
38	15:13:10.636911892	127.0.0.1	127.0.0.1	TCP	99	60284 → 36493 [PSH, ACK] Seq=248 Ack=40 Win=65536 Len=33 TSval=184646509 TSecr=184646505
39	15:13:10.636927737	127.0.0.1	127.0.0.1	TCP	66	36493 → 60284 [ACK] Seq=40 Ack=281 Win=65536 Len=0 TSval=184646509 TSecr=184646509
40	15:13:10.637331614	127.0.0.1	127.0.0.1	UDP	117	56463 → 46081 Len=75
41	15:13:10.637535668	127.0.0.1	127.0.0.1	TCP	99	49650 → 45943 [PSH, ACK] Seq=1 Ack=10 Win=65536 Len=33 TSval=184646510 TSecr=184646448
42	15:13:10.637545978	127.0.0.1	127.0.0.1	TCP	66	45943 → 49650 [ACK] Seq=10 Ack=34 Win=65536 Len=0 TSval=184646510 TSecr=184646510
43	15:13:10.637897427	127.0.0.1	127.0.0.1	UDP	93	46081 → 56463 Len=51
44	15:13:10.637972282	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
45	15:13:10.638118618	127.0.0.1	127.0.0.1	TCP	75	36493 → 60284 [PSH, ACK] Seq=40 Ack=281 Win=65536 Len=9 TSval=184646511 TSecr=184646509
46	15:13:10.638125899	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [ACK] Seq=281 Ack=49 Win=65536 Len=0 TSval=184646511 TSecr=184646511
47	15:13:10.638191881	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
48	15:13:10.638293091	127.0.0.1	127.0.0.1	TCP	75	45943 → 49650 [PSH, ACK] Seq=10 Ack=34 Win=65536 Len=9 TSval=184646511 TSecr=184646510
49	15:13:10.638300929	127.0.0.1	127.0.0.1	TCP	66	49650 → 45943 [ACK] Seq=34 Ack=19 Win=65536 Len=0 TSval=184646511 TSecr=184646511
50	15:13:10.638388453	127.0.0.1	127.0.0.1	UDP	93	46081 → 56463 Len=51
51	15:13:10.638627945	127.0.0.1	127.0.0.1	TCP	75	60284 → 36493 [PSH, ACK] Seq=281 Ack=49 Win=65536 Len=9 TSval=184646511 TSecr=184646511
52	15:13:10.638635059	127.0.0.1	127.0.0.1	TCP	66	36493 → 60284 [ACK] Seq=49 Ack=290 Win=65536 Len=0 TSval=184646511 TSecr=184646511
53	15:13:10.638989551	127.0.0.1	127.0.0.1	TCP	75	36493 → 60284 [PSH, ACK] Seq=49 Ack=290 Win=65536 Len=9 TSval=184646512 TSecr=184646511
54	15:13:10.638994902	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [ACK] Seq=290 Ack=58 Win=65536 Len=0 TSval=184646512 TSecr=184646512
55	15:13:10.639126904	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
56	15:13:10.639186312	127.0.0.1	127.0.0.1	UDP	93	56463 → 46081 Len=51
57	15:13:10.639265122	127.0.0.1	127.0.0.1	TCP	75	49650 → 45943 [PSH, ACK] Seq=34 Ack=19 Win=65536 Len=9 TSval=184646512 TSecr=184646511
58	15:13:10.639274223	127.0.0.1	127.0.0.1	TCP	66	45943 → 49650 [ACK] Seq=19 Ack=43 Win=65536 Len=0 TSval=184646512 TSecr=184646512
59	15:13:10.639352790	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
60	15:13:10.652375393	127.0.0.1	127.0.0.1	TCP	277	60284 → 36493 [PSH, ACK] Seq=290 Ack=58 Win=65536 Len=211 TSval=184646525 TSecr=184646512
61	15:13:10.652397548	127.0.0.1	127.0.0.1	TCP	66	36493 → 60284 [ACK] Seq=58 Ack=501 Win=65408 Len=0 TSval=184646525 TSecr=184646525
62	15:13:10.652958506	127.0.0.1	127.0.0.1	UDP	295	56463 → 46081 Len=253
63	15:13:10.653080352	127.0.0.1	127.0.0.1	TCP	277	49650 → 45943 [PSH, ACK] Seq=43 Ack=19 Win=65536 Len=211 TSval=184646526 TSecr=184646512
64	15:13:10.653090282	127.0.0.1	127.0.0.1	TCP	66	45943 → 49650 [ACK] Seq=19 Ack=254 Win=65408 Len=0 TSval=184646526 TSecr=184646526
65	15:13:10.653176489	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
66	15:13:10.671801760	127.0.0.1	127.0.0.1	TCP	258	45943 → 49650 [PSH, ACK] Seq=19 Ack=254 Win=65536 Len=192 TSval=184646544 TSecr=184646526
67	15:13:10.671821794	127.0.0.1	127.0.0.1	TCP	66	49650 → 45943 [ACK] Seq=254 Ack=211 Win=65408 Len=0 TSval=184646544 TSecr=184646544
68	15:13:10.672564369	127.0.0.1	127.0.0.1	UDP	276	46081 → 56463 Len=234
69	15:13:10.672750327	127.0.0.1	127.0.0.1	TCP	258	36493 → 60284 [PSH, ACK] Seq=58 Ack=501 Win=65536 Len=192 TSval=184646545 TSecr=184646525
70	15:13:10.672761513	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [ACK] Seq=501 Ack=250 Win=65408 Len=0 TSval=184646545 TSecr=184646545
71	15:13:10.672918367	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
72	15:13:10.673074319	127.0.0.1	127.0.0.1	TCP	101	45943 → 49650 [PSH, ACK] Seq=211 Ack=254 Win=65536 Len=35 TSval=184646546 TSecr=184646544
73	15:13:10.673080204	127.0.0.1	127.0.0.1	TCP	66	49650 → 45943 [ACK] Seq=254 Ack=246 Win=65408 Len=0 TSval=184646546 TSecr=184646546
74	15:13:10.673323689	127.0.0.1	127.0.0.1	UDP	119	46081 → 56463 Len=77
75	15:13:10.675197585	127.0.0.1	127.0.0.1	TCP	101	36493 → 60284 [PSH, ACK] Seq=250 Ack=501 Win=65536 Len=35 TSval=184646548 TSecr=184646545
76	15:13:10.675205327	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [ACK] Seq=501 Ack=285 Win=65408 Len=0 TSval=184646548 TSecr=184646548
77	15:13:10.675260756	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
78	15:13:10.678733022	127.0.0.1	127.0.0.1	TCP	79	60284 → 36493 [PSH, ACK] Seq=501 Ack=285 Win=65536 Len=13 TSval=184646551 TSecr=184646548
79	15:13:10.678908871	127.0.0.1	127.0.0.1	UDP	97	56463 → 46081 Len=55
80	15:13:10.679040781	127.0.0.1	127.0.0.1	TCP	79	49650 → 45943 [PSH, ACK] Seq=254 Ack=246 Win=65536 Len=13 TSval=184646552 TSecr=184646546
81	15:13:10.679049982	127.0.0.1	127.0.0.1	TCP	66	45943 → 49650 [ACK] Seq=246 Ack=267 Win=65536 Len=0 TSval=184646552 TSecr=184646552
82	15:13:10.679131196	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
83	15:13:10.719029071	127.0.0.1	127.0.0.1	TCP	66	36493 → 60284 [ACK] Seq=285 Ack=514 Win=65536 Len=0 TSval=184646592 TSecr=184646551
84	15:13:11.599563078	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
85	15:13:11.599868369	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
86	15:13:12.599967548	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
87	15:13:12.600271262	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
88	15:13:13.599729660	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
89	15:13:13.600036444	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
90	15:13:14.600147514	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
91	15:13:14.600419044	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
92	15:13:15.600180438	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
93	15:13:15.600470209	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
94	15:13:16.601255712	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
95	15:13:16.601551915	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
96	15:13:17.601240939	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
97	15:13:17.601548918	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
98	15:13:18.602044851	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
99	15:13:18.602351010	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
100	15:13:19.602118932	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
101	15:13:19.602827851	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
102	15:13:20.602376303	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
103	15:13:20.602709234	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
112	15:13:21.602804287	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
113	15:13:21.603197718	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
114	15:13:22.603065845	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
115	15:13:22.603315362	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
116	15:13:23.602481396	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
117	15:13:23.602690270	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
118	15:13:24.602261202	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
119	15:13:24.602509153	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
120	15:13:25.602996199	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
121	15:13:25.603216819	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
122	15:13:26.602825790	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
123	15:13:26.603186485	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
124	15:13:27.602516602	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
125	15:13:27.602882064	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
126	15:13:28.602393847	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
127	15:13:28.602766447	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
128	15:13:29.602820426	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
129	15:13:29.603178634	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
130	15:13:30.603131685	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
131	15:13:30.603480185	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
132	15:13:31.603921160	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
133	15:13:31.604292439	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
134	15:13:32.603482134	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
135	15:13:32.603822029	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
136	15:13:33.603864511	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
137	15:13:33.604127921	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
138	15:13:34.604191084	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
139	15:13:34.604446570	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
140	15:13:35.604850058	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
141	15:13:35.605188461	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
142	15:13:36.604597855	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
143	15:13:36.604872355	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
146	15:13:37.604912102	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
147	15:13:37.605228534	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
148	15:13:38.604844853	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
149	15:13:38.605208752	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
150	15:13:39.604653353	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
151	15:13:39.605011030	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
152	15:13:39.748227315	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
153	15:13:39.876205292	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
154	15:13:40.604237704	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
155	15:13:40.604491119	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
156	15:13:41.604274370	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
157	15:13:41.604502355	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
158	15:13:42.604301322	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
159	15:13:42.604564598	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
160	15:13:43.604934279	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
161	15:13:43.605271286	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
162	15:13:44.604811781	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
163	15:13:44.605152204	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
164	15:13:45.605072251	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
165	15:13:45.605352956	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
166	15:13:46.605079018	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
167	15:13:46.605414277	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
168	15:13:47.604273825	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
169	15:13:47.604600402	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
170	15:13:48.604698761	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
171	15:13:48.605069578	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
172	15:13:49.604824795	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
173	15:13:49.605146140	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
174	15:13:50.604766401	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
175	15:13:50.605040614	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
184	15:13:51.604919947	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
185	15:13:51.605263097	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
186	15:13:52.605091934	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
187	15:13:52.605507724	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
188	15:13:53.605199518	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
189	15:13:53.605492537	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
190	15:13:54.605594225	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
191	15:13:54.605875949	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
192	15:13:55.606142466	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
193	15:13:55.606425895	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
194	15:13:56.606691682	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
195	15:13:56.607057451	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
196	15:13:57.606787187	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
197	15:13:57.607399770	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
198	15:13:58.606333831	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
199	15:13:58.606612330	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
200	15:13:59.606708244	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
201	15:13:59.606931871	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
202	15:14:00.606383879	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
203	15:14:00.606631578	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
204	15:14:01.606809865	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
205	15:14:01.607352284	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
206	15:14:02.607206724	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
207	15:14:02.607566716	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
210	15:14:03.608124145	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
211	15:14:03.608428042	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
212	15:14:04.608281524	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
213	15:14:04.608632870	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
214	15:14:05.608657886	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
215	15:14:05.608902056	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
227	15:14:06.608422430	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
228	15:14:06.608654199	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
230	15:14:07.608930078	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
231	15:14:07.609269452	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
232	15:14:08.608249069	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
233	15:14:08.608504400	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
234	15:14:08.933648537	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
235	15:14:09.052535548	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
236	15:14:09.609092567	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
237	15:14:09.609383199	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
238	15:14:10.609640241	127.0.0.1	127.0.0.1	UDP	46	56463 → 46081 Len=4
239	15:14:10.610039458	127.0.0.1	127.0.0.1	UDP	46	46081 → 56463 Len=4
240	15:14:10.644681479	127.0.0.1	127.0.0.1	TCP	100	60284 → 36493 [PSH, ACK] Seq=514 Ack=285 Win=65536 Len=34 TSval=184706517 TSecr=184646592
241	15:14:10.644696658	127.0.0.1	127.0.0.1	TCP	66	36493 → 60284 [ACK] Seq=285 Ack=548 Win=65536 Len=0 TSval=184706517 TSecr=184706517
242	15:14:10.645229506	127.0.0.1	127.0.0.1	UDP	118	56463 → 46081 Len=76
243	15:14:10.645352828	127.0.0.1	127.0.0.1	TCP	100	49650 → 45943 [PSH, ACK] Seq=267 Ack=246 Win=65536 Len=34 TSval=184706518 TSecr=184646552
244	15:14:10.645361371	127.0.0.1	127.0.0.1	TCP	66	45943 → 49650 [ACK] Seq=246 Ack=301 Win=65536 Len=0 TSval=184706518 TSecr=184706518
245	15:14:10.645361634	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [FIN, ACK] Seq=548 Ack=285 Win=65536 Len=0 TSval=184706518 TSecr=184706517
246	15:14:10.645441363	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
247	15:14:10.645668286	127.0.0.1	127.0.0.1	TCP	100	45943 → 49650 [PSH, ACK] Seq=246 Ack=301 Win=65536 Len=34 TSval=184706518 TSecr=184706518
248	15:14:10.645672415	127.0.0.1	127.0.0.1	TCP	66	49650 → 45943 [ACK] Seq=301 Ack=280 Win=65536 Len=0 TSval=184706518 TSecr=184706518
249	15:14:10.645690700	127.0.0.1	127.0.0.1	TCP	66	36493 → 60284 [FIN, ACK] Seq=285 Ack=549 Win=65536 Len=0 TSval=184706518 TSecr=184706518
250	15:14:10.645696513	127.0.0.1	127.0.0.1	TCP	66	60284 → 36493 [ACK] Seq=549 Ack=286 Win=65536 Len=0 TSval=184706518 TSecr=184706518
251	15:14:10.645829628	127.0.0.1	127.0.0.1	TCP	66	45943 → 49650 [FIN, ACK] Seq=280 Ack=301 Win=65536 Len=0 TSval=184706518 TSecr=184706518
252	15:14:10.646149204	127.0.0.1	127.0.0.1	UDP	118	46081 → 56463 Len=76
253	15:14:10.646366707	127.0.0.1	127.0.0.1	TCP	66	49650 → 45943 [FIN, ACK] Seq=301 Ack=281 Win=65536 Len=0 TSval=184706519 TSecr=184706518
254	15:14:10.646372607	127.0.0.1	127.0.0.1	TCP	66	45943 → 49650 [ACK] Seq=281 Ack=302 Win=65536 Len=0 TSval=184706519 TSecr=184706519
255	15:14:10.646484015	127.0.0.1	127.0.0.1	UDP	86	56463 → 46081 Len=44
256	15:14:10.646655749	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
257	15:14:10.647558243	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
258	15:14:10.647574720	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
259	15:14:10.647944340	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
260	15:14:10.647951971	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
261	15:14:11.065271225	127.0.0.1	127.0.0.1	UDP	86	46081 → 56463 Len=44
262	15:14:11.065290350	127.0.0.1	127.0.0.1	UDP	86	46081 → 56463 Len=44
263	15:14:11.065511396	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
264	15:14:11.065526407	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
265	15:14:11.065529655	127.0.0.1	127.0.0.1	UDP	62	46081 → 56463 Len=20
266	15:14:11.065799088	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20
267	15:14:11.065807920	127.0.0.1	127.0.0.1	UDP	62	56463 → 46081 Len=20

@tegefaulkes
Copy link
Contributor Author

Next step is to update the ECR image and test against that.

@tegefaulkes
Copy link
Contributor Author

After updating the ECR, this is the logs connecting to the seed node.

seed

2022-10-26T17:17:46.541+11:00

{"pid":1,"nodeId":"vgbpnfql1thnfm39udt139eaip1cmdhvcfkmhul7evu4459resr2g","clientHost":"0.0.0.0","clientPort":1315,"agentHost":"127.0.0.1","agentPort":35411,"proxyHost":"0.0.0.0","proxyPort":1314,"forwardHost":"127.0.0.1","forwardPort":32963,"recoveryCode":"april expect canvas wall subway shoe hint curve fuel admit world climb sun fossil casino pole mystery ghost north leave dream casual island fiscal"}

2022-10-26T17:27:35.981+11:00

{"level":"INFO","key":"Proxy","msg":"Handling connection from 120.18.122.218:12813"}

2022-10-26T17:27:36.011+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Starting Connection Reverse"}

2022-10-26T17:27:36.012+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse creating socket to 127.0.0.1:35411"}

2022-10-26T17:27:36.032+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Reverse racing socket, error and abort stage 1"}

2022-10-26T17:27:36.044+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:36.044+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:36.071+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"B -- Connection Reverse has connected to the GRPC Agent server"}

2022-10-26T17:27:36.071+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Reverse starting pinging to 120.18.122.218:12813"}

2022-10-26T17:27:36.071+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"D -- Reverse sending ping"}

2022-10-26T17:27:36.072+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Reverse racing ready, error and abort stage 2"}

2022-10-26T17:27:36.099+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0001"}

2022-10-26T17:27:36.099+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"H -- Reverse received pong, resolving ready"}

2022-10-26T17:27:36.099+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Racing completed"}

2022-10-26T17:27:36.099+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Started Connection Reverse"}

2022-10-26T17:27:36.099+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Composing Connection Reverse"}

2022-10-26T17:27:36.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:36.273+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:36.426+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Composed Connection Reverse"}

2022-10-26T17:27:36.428+11:00

{"level":"INFO","key":"PolykeyAgent","msg":"Reverse connection adding v8crlv1nvc9sieu30ne1istmqoenkp5hsurte5lfg6i6jo1da309g:120.18.122.218:12813 to NodeGraph"}

2022-10-26T17:27:36.609+11:00

{"level":"INFO","key":"Proxy","msg":"Handled connection from 120.18.122.218:12813"}

2022-10-26T17:27:37.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:37.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:38.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:38.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:39.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:39.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:40.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:40.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:41.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:41.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:42.269+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:42.269+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:43.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:43.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:44.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:44.273+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:45.271+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:45.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:46.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:46.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:47.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:47.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:48.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:48.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:49.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:49.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:50.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:50.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:51.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:51.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:52.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:52.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:53.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:53.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:54.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:54.314+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:55.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:55.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:56.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:56.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:57.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:57.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:58.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:58.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:27:59.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:27:59.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:00.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:00.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:01.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:01.272+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:02.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:02.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:03.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:03.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:04.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:04.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:05.281+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:05.282+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:06.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:06.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:07.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:07.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:08.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:08.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:09.278+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:09.278+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:10.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:10.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:11.275+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:11.276+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:12.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:12.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:13.275+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:13.275+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:14.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:14.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:15.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:15.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:16.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:16.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:17.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:17.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:18.277+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:18.278+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:19.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:19.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:20.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:20.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:21.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:21.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:22.314+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:22.314+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:23.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:23.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:24.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:24.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:25.275+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:25.275+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:26.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:26.313+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:27.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:27.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:28.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:28.312+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:29.284+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:29.284+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:30.320+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:30.320+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:31.278+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:31.278+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:32.280+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:32.280+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:33.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:33.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:34.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:34.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:35.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:35.292+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:36.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse Connection received message: \u0000\u0000\u0000\u0000"}

2022-10-26T17:28:36.293+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"E -- Reverse received ping, responding with pong"}

2022-10-26T17:28:36.478+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Receives serverSocket ending"}

2022-10-26T17:28:36.486+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Stopping Connection Reverse"}

2022-10-26T17:28:36.495+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"reverse socket closing"}

2022-10-26T17:28:36.599+11:00

{"level":"INFO","key":"ConnectionReverse 120.18.122.218:12813","msg":"Stopped Connection Reverse"}

node

2022-10-26T06:27:35.632Z:INFO:NodeManager:Syncing nodeGraph  
2022-10-26T06:27:35.724Z:INFO:ConnectionForward 3.106.178.29:1314:Starting Connection Forward  
2022-10-26T06:27:35.724Z:INFO:ConnectionForward 3.106.178.29:1314:Starting UTP connection to 3.106.178.29:1314  
2022-10-26T06:27:35.726Z:INFO:ConnectionForward 3.106.178.29:1314:Starting TLS connection  
2022-10-26T06:27:35.729Z:INFO:ConnectionForward 3.106.178.29:1314:Forward starting pings to 3.106.178.29:1314  
2022-10-26T06:27:35.729Z:INFO:ConnectionForward 3.106.178.29:1314:C -- Forward sending ping  
2022-10-26T06:27:35.730Z:INFO:ConnectionForward 3.106.178.29:1314:forward racing ready and secure with error and abort  
2022-10-26T06:27:36.057Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:36.082Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:36.082Z:INFO:ConnectionForward 3.106.178.29:1314:FG -- Forward received ping, responding with pong and resolving r  
eadyP  
2022-10-26T06:27:36.246Z:INFO:ConnectionForward 3.106.178.29:1314:forward race succeeded  
2022-10-26T06:27:36.254Z:INFO:ConnectionForward 3.106.178.29:1314:Started Connection Forward  
2022-10-26T06:27:36.257Z:INFO:NodeConnection 3.106.178.29:1314:Creating NodeConnection  
2022-10-26T06:27:36.258Z:INFO:clientFactory:Creating GRPCClientAgent connecting to 3.106.178.29:1314  
2022-10-26T06:27:36.279Z:INFO:Proxy:Handling CONNECT to 3.106.178.29:1314  
2022-10-26T06:27:36.280Z:INFO:ConnectionForward 3.106.178.29:1314:Composing Connection Forward  
2022-10-26T06:27:36.280Z:INFO:ConnectionForward 3.106.178.29:1314:Composed Connection Forward  
2022-10-26T06:27:36.281Z:INFO:Proxy:A -- GRPC client connected to Proxy TCP server  
2022-10-26T06:27:36.281Z:INFO:Proxy:Handled CONNECT to 3.106.178.29:1314  
2022-10-26T06:27:36.283Z:INFO:clientFactory:Created GRPCClientAgent connecting to 3.106.178.29:1314  
2022-10-26T06:27:36.283Z:INFO:NodeConnection 3.106.178.29:1314:Created NodeConnection  
2022-10-26T06:27:36.285Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:36.597Z:INFO:scheduler:Starting Scheduling Loop  
2022-10-26T06:27:36.597Z:INFO:scheduler:Started Scheduling Loop  
2022-10-26T06:27:36.597Z:INFO:queue:Starting Queueing Loop  
2022-10-26T06:27:36.597Z:INFO:queue:Started Queueing Loop  
2022-10-26T06:27:36.597Z:INFO:Status:Finish Status STARTING  
2022-10-26T06:27:36.597Z:INFO:Status:Writing Status to tmp/nodeA/status.json  
2022-10-26T06:27:36.599Z:INFO:Status:Status is LIVE  
2022-10-26T06:27:36.599Z:INFO:PolykeyAgent:Started PolykeyAgent  
2022-10-26T06:27:36.599Z:INFO:PolykeyAgent:Created PolykeyAgent  
2022-10-26T06:27:36.599Z:INFO:WorkerManager:Creating WorkerManager  
2022-10-26T06:27:36.607Z:INFO:WorkerManager:Created WorkerManager  
pid     776762  
nodeId  v8crlv1nvc9sieu30ne1istmqoenkp5hsurte5lfg6i6jo1da309g  
clientHost      127.0.0.1  
clientPort      39403  
agentHost       127.0.0.1  
agentPort       38001  
proxyHost       0.0.0.0  
proxyPort       55565  
forwardHost     127.0.0.1  
forwardPort     45601  
2022-10-26T06:27:37.283Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:38.310Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:39.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:40.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:41.317Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:42.280Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:43.284Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:44.284Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:45.289Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:46.308Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:47.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:48.303Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:49.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:50.315Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:51.305Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:52.308Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:53.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:54.325Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:55.323Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:56.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:57.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:58.324Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:27:59.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:00.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:01.284Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:02.332Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:03.303Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:04.323Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:05.295Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:06.324Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:07.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:08.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:09.288Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:10.326Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:11.287Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:12.308Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:13.285Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:14.306Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:15.304Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:16.333Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:17.305Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:18.293Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:19.324Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:20.307Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:21.323Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:22.329Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:23.322Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:24.323Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:25.286Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:26.331Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:27.302Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:28.324Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:29.295Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:30.338Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:31.305Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:32.294Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:33.306Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:34.317Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:35.318Z:INFO:ConnectionForward 3.106.178.29:1314:forward Connection received message:    
2022-10-26T06:28:36.292Z:INFO:NodeConnection 3.106.178.29:1314:Destroying NodeConnection  
2022-10-26T06:28:36.292Z:INFO:clientFactory:Destroying GRPCClientAgent connected to 3.106.178.29:1314  
2022-10-26T06:28:36.292Z:INFO:clientFactory:Destroyed GRPCClientAgent connected to 3.106.178.29:1314  
2022-10-26T06:28:36.292Z:INFO:NodeConnection 3.106.178.29:1314:Destroyed NodeConnection  
2022-10-26T06:28:36.293Z:INFO:ConnectionForward 3.106.178.29:1314:Stopping Connection Forward  
2022-10-26T06:28:37.293Z:WARN:ConnectionForward 3.106.178.29:1314:Forward Error: ErrorConnectionEndTimeout  
2022-10-26T06:28:37.294Z:INFO:ConnectionForward 3.106.178.29:1314:Stopped Connection Forward  
2022-10-26T06:28:37.294Z:INFO:ConnectionForward 3.106.178.29:1314:TLS Close

@tegefaulkes
Copy link
Contributor Author

It seems after updating the image in the ECR. The seed node is handling connections properly now. We see the connection fully established and the connecting node gets added to the the seeds node graph.

@tegefaulkes
Copy link
Contributor Author

I'll make a new issue for the 4th part for Fixing the Random Process Termination. It's out of scope for this issue.

tegefaulkes added a commit that referenced this issue Oct 26, 2022
I've added this commit as a reference for logging outputs. This will be reverted because the added messages are too spammy for normal usage.

Related #489
@CMCDragonkai
Copy link
Member

Question about the logs.

Why does:

2022-10-26T04:14:04.608Z:INFO:ConnectionForward 127.0.0.1:46081:forward Connection received message:

Have a : at the end of the message? Was this just a debugging log that is removed or is there a missing parameter/data structure?

@tegefaulkes
Copy link
Contributor Author

It was printing out the data which I assumed was a buffer but ended up just printing a string. 0 and 1 are non-printable characters.
You can see the bytes in the seed node logs.

@CMCDragonkai CMCDragonkai added the r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Requires design development Standard development enhancement New feature or request r&d:polykey:core activity 4 End to End Networking behind Consumer NAT Devices
Development

No branches or pull requests

2 participants