Comments (3)
I've checked and, in fact, even chat does not work:
{"level":"debug","error":"Read: unexpected value type: 0, error found in #10 byte of ...|355365373}\n|..., bigger context ...|},\"timestamp\":1722256636355365373}\n|...","channelID":"weron/chat/id","peerID":"4f859e58-3799-4a21-b3db-8ffbf95093c5","time":"2024-07-29T17:37:41+05:00","message":"Could not read from peer, stopping"}
{"level":"trace","address":"34.32.135.56:443","community":"mycomm","id":"385eb489-f727-4510-8a8e-612b4a3b50fe","time":"2024-07-29T17:37:41+05:00","message":"Sending ping to signaler"}
{"level":"trace","address":"34.32.135.56:443","len":0,"community":"mycomm","id":"385eb489-f727-4510-8a8e-612b4a3b50fe","time":"2024-07-29T17:37:44+05:00","message":"Received message from signaler"}
{"level":"debug","address":"34.32.135.56:443","community":"mycomm","id":"385eb489-f727-4510-8a8e-612b4a3b50fe","time":"2024-07-29T17:37:44+05:00","message":"Could not unmarshal message from signaler, continuing"}
from weron.
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 --password
or --key
doesn't match between your two hosts?
from weron.
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):
weron chat --community pcrafter-test --password estAblisH --key 37749308474362475003991816146167114420866882829397986277319617749931983744639 --channels main --names la -v 7
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"}
from weron.
Related Issues (19)
- Love it! Thank you. HOT 1
- postgres expects ssl HOT 1
- chat works, throughput or latency does not HOT 5
- How would I go about to implement this in my own programs? HOT 3
- Potential issues in Russia HOT 3
- readme note about golang version
- Layer 3 Overlay Networks don't work on Windows HOT 13
- Android / iOS mobile clients HOT 1
- Crypto Go :we are a research group to help developers build secure applications.
- I hope weron can support network tunnels over WebRTC HOT 1
- IMPORTANT: Update to v0.2.4 for new hosted signaling server URL HOT 1
- Can you give an example of communication between the two parties based on the negotiated token? HOT 1
- Vpn HOT 4
- Designate a device in layer 3 mesh as "exit node"
- Nodes do not reconnect automatically after connection to signaling server is lost HOT 2
- Support for connecting to signaling server with HTTP_PROXY HOT 4
- Use unordered datachannel in WebRTC HOT 3
- [Feature]: Running rootless, port sharing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weron.