question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kubernetes example is broken on updated version of Jitsi

See original GitHub issue

A few things seem to be missing with the Kubernetes example, especially since the recent jitsi upgrade that turns on websockets by default (and doesn’t seem to be able to turn them off).

As it stands, if I try to run the kubernetes scripts, I end up running into the problem where the websockets are trying to connect to “wss://localhost:8443.” This is fixed by adding PUBLIC_URL to the web environment. However, even with that fix, something is still wrong with the forwarding because I’m getting errors connecting to those sockets (this seems to be the problem with #952 )

Can we either get the kubernetes example to use a compatible version of the docker containers or get it updated to actually have the right environment variables for the latest defaults from the jitsi docker containers? Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
saghulcommented, Mar 30, 2021

I’m leaning towards removing the k8s example and moving it to https://github.com/jitsi-contrib

Are there volunteers (@marner2 already volunteered and got added) that want to work on this over at jitsi-contrib?

1reaction
rsoikacommented, Mar 30, 2021

I think I figured it out. The important part is that the environment variable PUBLIC_URL is set for both - the web container and the prosody container and also it is very important, that this URL does not have a tailing / . A tailing / is no problem for the web container but if you add a tailing / to the prosody container you will see the 403 error for the resource /xmpp-websocket?room=…

So finally the environment variables for my kubernetes setup look now like this:

    - name: jvb
      env:
        - name: DOCKER_HOST_ADDRESS
          value: localhost

    - name: web
      env:
        - name: ENABLE_XMPP_WEBSOCKET
          value: "1"
        - name: PUBLIC_URL
          value: "https://meeting.foo.com"

    - name: prosody
      env:
        - name: PUBLIC_URL
          value: "https://meeting.foo.com"

And it is not necessary to expose port 9090

I will create a new pull request soon…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgraded to Jitsi Stable 7830 (Kubernetes Setup broken)
Hi there, My working setup is broken after upgrading from ... Make sure - you have the required env configs set for the...
Read more >
Video Conferencing with Jitsi on K8s | Sesame Disk
Open-source video conferencing Jitsi on (Kubernetes) K8s supports end-to-end encryption, easy installation, and more amazing features.
Read more >
docker/docker-jitsi-meet - CHANGELOG.md at ...
Important: This release should fix some update problems users found in -1 and -2 versions. The main problem observed is the introduction of...
Read more >
The Ultimate Guide to Jitsi Meet and JaaS - webrtcHacks
This is a full-featured version of Jitsi. ... the latest release right away unless it has a specific feature or fix ... Here...
Read more >
How to setup Jitsi Meet on a custom Kubernetes
Managed to fix it. Posting this for anyone who comes across the same issue. first off the UDP port 10000 does not work...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found