Comments (8)
What is the value of net.ipv4.tcp_retries2 in sysconf?
from jitsi-videobridge.
$ sysctl net.ipv4.tcp_retries2
net.ipv4.tcp_retries2 = 15
from jitsi-videobridge.
This means that the kernel will detect broken TCP connections after the 13-15 min mark.
You can try setting it to 7, this will give you roughly 25 to 50 seconds.
from jitsi-videobridge.
@freym Can you clarify steps to reproduce? I get a "closed on error" log immediately after restarting prosody (and then a successful reconnect).
from jitsi-videobridge.
It happened when we restarted Prosody once, but we now think the problem is related to our network setup and Kubernetes. However, reducing net.ipv4.tcp_retries2 to 7 has alleviated the problem somewhat.
from jitsi-videobridge.
In k8s it could also happen if the prosody deployment is restarted and the new pod(s) take a long time to go Ready (eg due to readiness or startup probes); if you're using a service DNS name to reach them from JVB then it won't resolve to the new pod IP(s) until they're Ready.
Can also be related to a too-long TTL being served on those service A records (configured in CoreDNS config on most k8s deployments) so JVB still has the old IP for a while.
from jitsi-videobridge.
The "Ping failed, the XMPP connection needs to reconnect." message you see early on should trigger a reconnect. I'm surprised that in your case it doesn't log anything about trying to reconnect.
from jitsi-videobridge.
I just tested the case where the server stops responding. As expected the XMPP pings timeout in 30-60 seconds and they trigger a re-connect. I suspect it has something to do with your setup (feel free to reopen if you have more info or more questions).
from jitsi-videobridge.
Related Issues (20)
- Cannot compile jitsi-videobridge on Mageia Linux HOT 4
- Videobridge considers endpoints with muted video when building lastN list HOT 10
- Question on "Improving WebRTC Call Quality with Machine Learning"
- jvb: false Warning: [...] thread limit null (hard null). These values are too low [...]
- Jigasi is not working after Updating from jitsi-videobridge2=2.2-45* to jitsi-videobridge2_2.2-61* HOT 1
- Bug with Jitsi Videobridge and Jigasi still exists and is not fixed HOT 1
- AV1 support? HOT 17
- Potential bug causing ReceiverConstraintsMap's maxHeight not being updated HOT 1
- Connection Idle Timeout
- Late joiners not receiving remote tracks HOT 7
- Deploying multiple video bridges does not work properly HOT 3
- What happened to COLIBRI documentation? HOT 1
- Collibri relay ws connection problem HOT 3
- jvb HeapDumpOnOutOfMemoryError HOT 1
- JVB drops service after one minute with Failed to run health check: singlePortHarvesters must not be null HOT 1
- How to monitor Video Bridge using Prometheus/ Blackbox exporter? HOT 3
- Does initial-last-n actually works? HOT 10
- Crashes on Browser (Tabs) when screensharing / "Colibri websocket error: null" shown on JVB when tcp websocket connection is unexpectedly aborted (client) HOT 5
- jitsi-video bridge starting error. HOT 6
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 jitsi-videobridge.