Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

pade meeting page auto refreshed after the second people join the room #463

@Jenfong

Description

@Jenfong
          > ![image](https://user-images.githubusercontent.com/110731/101366098-755cc600-389c-11eb-8d37-036968253cad.png)

I disabled WebSockets Data Channel ,but Pade still use WebSocket (openfire-pade-plugin 1.7.7 deploy in CentOS 7.8 with nginx ,single node).
refer Considerations-On-Setting-Up-Pade-Behind-a-Reverse-Proxy
web log:

lib-jitsi-meet.min.js:17089  WebSocket connection to 'wss://node2:7443/colibri-ws/node2/85aa57dc31a34d65/39ddc58c?pwd=4a24ggqqr8e56a6ilf3rccrdp6' failed: 

js log

2023-11-29T17:01:25.716Z [modules/xmpp/Lobby.js] <5369/_maybeJoinLobbyRoom/<>:  Failed joining lobby undefined
2023-11-29T17:01:39.308Z [conference.js] <_onConferenceFailed>:  CONFERENCE FAILED: conference.restarted

server log:

[root@node2 logs]# tail -200f openfire.log | grep colibri-ws
2023.11.29 13:33:49 DEBUG [Thread-14]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - WARNING: [1] ColibriWebSocketService.<init>#51: Websockets enabled, but no domains specified: URLs=[wss://node2:7443/colibri-ws/node2], Relay URLs=[]
2023.11.29 13:33:49 DEBUG [Thread-14]: org.jivesoftware.openfire.plugin.ofmeet.JitsiJvbWrapper - INFO: [1] ColibriWebSocketService.registerServlet#87: Registering servlet with baseUrls = [ws

nginx conf:
public -> nginx -> local
https://demo.resource.com:7666 ->nginx 80 -> https://local:7443
https://demo.resource.com:7667->nginx 7442 ->UDP stream 10000

   upstream Pade_7443{
          server 127.0.0.1:7443;
       }

    server {
        listen       80 ssl;
        server_name  test.resource.com;
        ssl_certificate      /etc/nginx/conf.d/ssl/private.crt;
        ssl_certificate_key  /etc/nginx/conf.d/ssl/private.key;


        ssl_session_cache    shared:SSL:1m;
        ssl_session_timeout  5m;

        proxy_ssl_verify off;
        location /colibri-ws/ {
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "Upgrade";
                proxy_pass https://Pade_7443/colibri-ws/;
        }
        location /ws/ {
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "Upgrade";
                         proxy_pass https://Pade_7443/ws/;
        }
        #location /pade/ {
        #        proxy_pass https://Pade_7443/pade/;
        #}
        location /http-bind/ {
                proxy_pass https://Pade_7443/http-bind/;
        }
        location /ofmeet/ {

                  proxy_set_header Host $http_host;
                  proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                  proxy_set_header X-Forwarded-Proto $scheme;

                  proxy_connect_timeout 300;
                  # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                  proxy_http_version 1.1;
                  proxy_set_header Upgrade $http_upgrade;
                  proxy_set_header Connection "upgrade";

                 proxy_set_header Connection "";
                  chunked_transfer_encoding off;

                proxy_pass https://Pade_7443/ofmeet/;
}

moderator join the meeting; then participant join the meeting .
for example meeting url : https://test.resource.com:7666/ofmeet/riw1o02ha
1.pblic network access : Error occurred page auto rereshed, video broken but can send msg
2.local network access : page with error ,but video and msg worked

update pade conf,but still not work,page auto refreshed video broken but can send msg.
append config in openfire.ofproperty : ofmeet.websockets.domain->test.resource.com; update ofmeet.websockets.publicport -> 7666 ,still not work.

Originally posted by @Jenfong in #119 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions