-
Notifications
You must be signed in to change notification settings - Fork 60
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
IP peer connections do not establish #23
Comments
I've checked and, in fact, even chat does not work:
|
Not sure what's happening here - just tried the latest release binaries with the chat, works fine on my machine. Is there a chance your |
I've just checked again and the problem persists. I've copied the command so I'm quite sure that key is same, also it was digit-only so Linux and Windows should have interpreted it in the same way. Here is the command in case you can point out any wrong argument (I'm also leaving one side working for a few more hours in case you can connect to it and check if chat works):
Logs of first side ("co"):{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","client":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:51+05:00","message":"Sent ICE candidate to signaler"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","len":275,"time":"2024-07-31T22:13:51+05:00","message":"Sending message to signaler"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:51+05:00","message":"Sending ping to signaler"}
{"level":"trace","address":"34.32.135.56:443","len":215,"community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:51+05:00","message":"Received message from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:51+05:00","message":"Received candidate from signaler"}
{"level":"trace","address":"34.32.135.56:443","len":728,"community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:51+05:00","message":"Received message from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:51+05:00","message":"Received answer from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","peerID":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:51+05:00","message":"Added answer from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","peerID":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:51+05:00","message":"Added ICE candidate from signaler"}
{"level":"trace","address":"34.32.135.56:443","len":247,"community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:51+05:00","message":"Received message from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:51+05:00","message":"Received candidate from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","peerID":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:51+05:00","message":"Added ICE candidate from signaler"}
{"level":"debug","label":"weron/chat/id","peer":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:52+05:00","message":"Connected to channel"}
{"level":"debug","label":"main","peer":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:52+05:00","message":"Connected to channel"}
{"level":"debug","channelID":"weron/chat/id","peerID":"059433b8-fac6-4a3a-a34d-ca745da9b42f","candidates":0,"timestamp":1722445960987232000,"time":"2024-07-31T22:13:52+05:00","message":"Sending greeting"}
{"level":"debug","channelID":"weron/chat/id","peerID":"059433b8-fac6-4a3a-a34d-ca745da9b42f","id":"co","time":"2024-07-31T22:13:52+05:00","message":"Sending claimed"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:56+05:00","message":"Sending ping to signaler"}
{"level":"debug","peerID":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:58+05:00","message":"Disconnected from peer"}
{"level":"debug","error":"EOF","channelID":"weron/chat/id","peerID":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:58+05:00","message":"Could not read from peer, stopping"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:14:01+05:00","message":"Sending ping to signaler"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:14:06+05:00","message":"Sending ping to signaler"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:14:11+05:00","message":"Sending ping to signaler"}
{"level":"trace","address":"34.32.135.56:443","len":0,"community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:14:12+05:00","message":"Received message from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:14:12+05:00","message":"Could not unmarshal message from signaler, continuing"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:14:16+05:00","message":"Sending ping to signaler"} Logs of later-connecting side ("la"):{"level":"debug","label":"main","peer":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:37+05:00","message":"Connected to channel"}
{"level":"debug","label":"weron/chat/id","peer":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:37+05:00","message":"Connected to channel"}
{"level":"debug","channelID":"weron/chat/id","peerID":"ce0f6927-8f36-4253-8faf-ccb8a8588217","candidates":1,"timestamp":1722446014780837969,"time":"2024-07-31T22:13:37+05:00","message":"Sending greeting"}
{"level":"debug","channelID":"weron/chat/id","peerID":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:37+05:00","message":"Received greeting"}
{"level":"debug","channelID":"weron/chat/id","peerID":"ce0f6927-8f36-4253-8faf-ccb8a8588217","id":"co","time":"2024-07-31T22:13:37+05:00","message":"Received kick"}
{"level":"debug","channelID":"weron/chat/id","peerID":"co","id":"co","time":"2024-07-31T22:13:37+05:00","message":"Connected to peer"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:40+05:00","message":"Sending ping to signaler"}
{"level":"debug","id":"la","time":"2024-07-31T22:13:40+05:00","message":"Sending claimed"}
{"level":"debug","id":"la","time":"2024-07-31T22:13:40+05:00","message":"Connected to signaler"}
la!
{"level":"debug","channelID":"main","peerID":"co","time":"2024-07-31T22:13:40+05:00","message":"Connected to peer"}
+co@main
la> {"level":"debug","peerID":"ce0f6927-8f36-4253-8faf-ccb8a8588217","time":"2024-07-31T22:13:43+05:00","message":"Disconnected from peer"}
{"level":"debug","error":"Read: unexpected value type: 0, error found in #10 byte of ...|\"id\":\"co\"}\n|..., bigger context ...|{\"type\":\"claimed\",\"id\":\"co\"}\n|...","channelID":"weron/chat/id","peerID":"co","time":"2024-07-31T22:13:43+05:00","message":"Could not read from peer, stopping"}
{"level":"debug","channelID":"main","peerID":"co","time":"2024-07-31T22:13:43+05:00","message":"Disconnected from peer"}
-co@main
la> {"level":"debug","channelID":"weron/chat/id","peerID":"co","time":"2024-07-31T22:13:43+05:00","message":"Disconnected from peer"}
{"level":"trace","address":"34.32.135.56:443","community":"pcrafter-test","id":"059433b8-fac6-4a3a-a34d-ca745da9b42f","time":"2024-07-31T22:13:45+05:00","message":"Sending ping to signaler"} |
I tried to connect Windows machine with Linux machine. Verbose log from Windows side:
Linux side had similar logs, "Read: unexpected value type: 0" being present there as well.
The text was updated successfully, but these errors were encountered: