Comments (1)
Update to @longfin
This was an issue in the Dockerfile at: https://github.com/planetarium/NineChronicles.Standalone/blob/99a61c61f1a3a9aaf312ee6b87da648d081e6b56/Dockerfile#L34 in which the Docker image is built with a default host of "0.0.0.0". So if a port parameter is not given in the docker run command, the image takes its default host.
Removing ["host", "0.0.0.0" ] will take care of this issue; however, the greater issue is that the docker container is not working consistently when connecting to the TURN relay server and stops working after 15-min max. Specifically, receiving most recent blocks through TURN works initially, but after 5-10 minutes, connections to the TURN servers are disconnected. Here are some symptoms I recorded when comparing the two options (Docker vs. non-Docker).
A. As you can see below, this is the lsof list of 9c-headless when running without Docker (plain dotnet run execution). The port connection to the peers and ice-servers(nat-stun-port) are all "ESTABLISHED" and stable.
B. When running on the Docker container on the other hand, its connection to peers are stable, but the ice-server connections are often disconnected.
C. Interestingly, the lsof list inside the container shows connection to the peers but no connection to the ice-server.
This leads me to believe that:
- The loss of connection to the ice-server piling up eventually causes the container to stop working.
- For some reason, Docker container can't maintain connection to the TURN server (connect works in the beginning).
I feel that this is a porting issue when running the docker but the issue still occurs even when using the "--net=host" option. I'm tempted to think this might be a UDP issue but it's only a suspicion and need more evidence to support this thought.
from ninechronicles.headless.
Related Issues (20)
- add headless tx-comm-disable mode HOT 3
- Apply `MagicOnion.Server.OpenTelemetry` HOT 2
- Make subgraph instead of using partial class for ActionQuery
- Parallelize copying key-value pairs HOT 1
- Defile self-explanatory terminal GQL types
- Adding the link for source codes to builds
- Failed to run when there is no RPC server
- upgrade NineChronicles.Headless to .NET 7
- feat(graphql): provide states with merkle proof
- `InitialCurrencyDeposit` in genesis command seems not working
- `ManipulateState` action not working
- Watcher for staged transactions to clean up them periodically
- Mark as deprecated for activation system related queries
- feat(cli): implement `replay remote-tx`
- Provide `query.stateQuery.agent.avatarStates.combinationSlots` field
- Add new field for avatar's inventory address HOT 2
- balanceQuery doesn't return GARAGE balance properly HOT 2
- Implement `Headless.StateServices` feature
- Add new API to lookup many avatars
- Add new field that holding only equipped items, to avatar state
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 ninechronicles.headless.