congthang1 / jitsi-kubernetes Goto Github PK
View Code? Open in Web Editor NEWJitsi deployment on Kubernetes with JVB autoscale and OCTO region enabled
License: MIT License
Jitsi deployment on Kubernetes with JVB autoscale and OCTO region enabled
License: MIT License
I set up one shard (shard0) on DigitalOcean.
So far so good but I can't start a conference - everyone see their own video only. Jicofo complains about that:
Jicofo 2021-07-30 08:30:34.848 WARNING: [110] org.jitsi.jicofo.bridge.BridgeSelectionStrategy.log() Failed to select initial bridge for participantRegion=null
Jicofo 2021-07-30 08:30:34.848 SEVERE: [110] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Can not invite participant -- no bridge available.
Whereas Prosody successfully tells me the people who joined already:
muc.live.myproject.de:token_moderation info total joined : {"jid":"[email protected]","room_members":["Tobias Z.","René P."],"type":"joined"}
Additional information from JVB logs:
Jul 30, 2021 7:13:09 AM org.jitsi.utils.logging2.LoggerImpl log
WARNING: Closed on error:
org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not H (position: START_DOCUMENT seen H... @1:1)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1248)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
at java.lang.Thread.run(Thread.java:748)
Jul 30, 2021 7:13:09 AM org.jitsi.utils.logging2.LoggerImpl log
WARNING: Cannot set presence extension: not connected.
I try install, everything running but Load-Balance Down.
How to fix it,
Thanks for support.
I created two k8s clusters, then executed sh deploy-shard0.sh, the installation is successful, but in the jicofo log, there are following exceptions. Could you give me some suggestion?
Jicofo 2021-05-12 22:03:39.918 SEVERE: [30] org.jitsi.meet.ComponentMain.log() java.io.EOFException: input contained no data, host:jitsi.eachchat.net, port:5347
org.xmpp.component.ComponentException: java.io.EOFException: input contained no data
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:296)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:242)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:222)
at org.jitsi.meet.ComponentMain.lambda$getConnectCallable$0(ComponentMain.java:285)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:215)
... 11 more
Jicofo 2021-05-12 22:03:44.164 WARNING: [32] org.jitsi.impl.protocol.xmpp.log.PacketDebugger.log() Smack: Reconnection failed due to an exception (XMPPTCPConnection[not-authenticated] (0))
org.jivesoftware.smack.SmackException$NoResponseException: No response received within reply timeout. Timeout was 15000ms (~15s). While waiting for establishing TLS
at org.jivesoftware.smack.SmackException$NoResponseException.newWith(SmackException.java:93)
at org.jivesoftware.smack.SynchronizationPoint.checkForResponse(SynchronizationPoint.java:272)
at org.jivesoftware.smack.SynchronizationPoint.checkIfSuccessOrWait(SynchronizationPoint.java:157)
at org.jivesoftware.smack.SynchronizationPoint.checkIfSuccessOrWaitOrThrow(SynchronizationPoint.java:128)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:908)
at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:383)
at org.jivesoftware.smack.ReconnectionManager$2.run(ReconnectionManager.java:289)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2021-05-12 22:03:44.165 WARNING: [34] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[not-authenticated] (0) closed with error
java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1248)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2021-05-12 22:03:44.342 WARNING: [37] org.jivesoftware.smack.AbstractXMPPConnection.callConnectionClosedOnErrorListener() Connection XMPPTCPConnection[not-authenticated] (0) closed with error
java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1248)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:1000)
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:1016)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2021-05-12 22:03:44.342 SEVERE: [37] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() XMPP connection closed on error: input contained no data
Jicofo 2021-05-12 22:03:44.342 SEVERE: [31] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.log() Failed to connect/login: Client is not, or no longer, connected. Did you call connect() before login()?
org.jivesoftware.smack.SmackException$NotConnectedException: Client is not, or no longer, connected. Did you call connect() before login()?
at org.jivesoftware.smack.AbstractXMPPConnection.throwNotConnectedExceptionIfAppropriate(AbstractXMPPConnection.java:643)
at org.jivesoftware.smack.AbstractXMPPConnection.login(AbstractXMPPConnection.java:486)
at org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect(XmppProtocolProvider.java:283)
at org.jitsi.retry.RetryStrategy$TaskRunner.run(RetryStrategy.java:193)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Jicofo 2021-05-12 22:03:44.878 SEVERE: [29] org.jitsi.xmpp.component.ComponentBase.log() Failed to send ping
java.lang.NullPointerException
at org.xmpp.component.AbstractComponent.send(AbstractComponent.java:925)
at org.jitsi.xmpp.component.ComponentBase.access$400(ComponentBase.java:36)
at org.jitsi.xmpp.component.ComponentBase$PingTask.run(ComponentBase.java:577)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Hello,
thank you for sharing your Kubnernetes project.
Some question I ask myself:
This configuration is valid for which release of Jitsi Meet?
I am new to kubernetes, I use the scaleway offer.
When you mentioned:
"You need 2 kubernetes for each region, 1 for Main Jitsi Web Prosody and 1 for JVB. If you have 2 regions, 4 kubernertes are needed."
I want to deploy only 1 regions, so I need 2 kubernetes.
We are talking here about:
If different cluster, do I have two different kubeconfig files and therefore two different dashboards to manage my App?
That's right ?
If so, and it is not necessarily up to you to answer me, how do I manage my app with a single deployment dashboard?
what should I provide at DOCKER_HOST_ADDRESS and PUBLIC_URL. How to create a subdomain name for this installation and update the same in config.yaml. should I need to create any ingress controller. any help.
how to secure the subdomain using certificate
jitsi show dialog to login.
sorry guy I don't know the user to login to room conference.
thank you.
Hello
I failed to activate the websocket with kubernetes and this configuration.
In addition I encounter this error on the client side:
BridgeChannel.js:88 WebSocket connection to 'wss://localhost:8443/colibri-ws/10.64.42.83/d95a96ba3855a4ea/108b8e07?pwd=58t8j4rvraal2tibjhd9s64m8o' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Logger.js:154 2020-11-10T23:44:36.067Z [modules/RTC/BridgeChannel.js] <WebSocket.e.onclose>: Channel closed by server
react_devtools_backend.js:2450 2020-11-10T23:44:36.067Z [modules/RTC/BridgeChannel.js] <WebSocket.e.onclose>: Channel closed: 1006
react_devtools_backend.js:2450 2020-11-10T23:44:40.733Z [modules/RTC/BridgeChannel.js] <l._send>: Bridge Channel send: no opened channel.
react_devtools_backend.js:2450 2020-11-10T23:44:40.734Z [JitsiConference.js] <u.sendMessage>: Failed to send E2E ping request or response. undefined
react_devtools_backend.js:2450 2020-11-10T23:44:43.734Z [modules/RTC/BridgeChannel.js] <l._send>: Bridge Channel send: no opened channel.
react_devtools_backend.js:2450 2020-11-10T23:44:43.735Z [JitsiConference.js] <u.sendMessage>: Failed to send E2E ping request or response. undefined
react_devtools_backend.js:2450 2020-11-10T23:44:45.735Z [modules/RTC/BridgeChannel.js] <l._send>: Bridge Channel send: no opened channel.
test:1 Unchecked runtime.lastError: The message port closed before a response was received.
react_devtools_backend.js:2450 2020-11-10T23:44:50.732Z [modules/RTC/BridgeChannel.js] <l._send>: Bridge Channel send: no opened channel.
This has the effect of blocking the quality to a minimum (320x240)
Do you have an idea ?
Thanks
Hello @congthang1,
I would like to invite you to contribute your solution to the new repository i.e jitsi-kubernetes. Jitsi team is trying to create an umbrella project under which community members can contribute to the Jitsi-Kubernetes
project. Every community member is using a different approach to deploy Jitsi on the Kubernetes cluster hence it would be great to have a single place where people can find a working Jitsi on Kubernetes example. Since you already have a solution that is running on Digital Ocean hence it would be great to have you on board.
More Info here: https://github.com/jitsi-contrib/meta
I have installed to digitalocean. But system doesn't work. It says, "you are the only one in the meeting". How can i fix it.
My site: https://1e1.ramazanulucay.com
Thank you.
hi @congthang1 , do i need to update here with my with my xmpp domain here which is domain: 'jitsi-meet.example.com',
hi @congthang1 ,
am getting this error while using :stable-5765-1 version images.
I have tried to setup this installation on Google cloud and wondering about the certificate id under base/web-base/service.yaml.
i haven't given any certificate here and the video is getting disconnected as soon as it starts. is this doc is compatible with GKE ?
I have deployed shard0 successfully but i am getting
CONFERENCE FAILED: conference.focusDisconnected focus.meet.jitsi
when i am trying to connect
Hey,
pretty nice setup so far!
I've added a few env vars to: https://github.com/congthang1/jitsi-kubernetes/blob/main/base/config.yaml
DISABLE_HTTPS: "0"
ENABLE_LETSENCRYPT: "1"
LETSENCRYPT_DOMAIN: "my.domain.tld"
LETSENCRYPT_EMAIL: "[email protected]"
But there is no certificate being generated. Do I miss something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.