Websocket issues #71

Closed
opened 2021-08-17 17:16:53 +00:00 by timowevel1 · 8 comments
timowevel1 commented 2021-08-17 17:16:53 +00:00 (Migrated from github.com)

Hey, how are you?

I am currently working on a project I made myself using Node and it uses lib jitsi meet and needs a websocket connection. When I start a meeting using the Videobridge installed on the same server where also the whole Jitsi is running I dont get any issues. When a conference is started with another videobridge I get the following error:

WebSocket connection to 'wss://mydomain.com/colibri-ws/default-id/blablabla/blabla?blaablapwd=blabla' failed.
[modules\RTC\BridgChannel.js] <WebSocket.e.onclose>: Channel closed: 1006

I also checked the related configs and you already configured it for the use for Websockets, so I dont know why it is failing.

I really appreciate your help, thank you.

Hey, how are you? I am currently working on a project I made myself using Node and it uses lib jitsi meet and needs a websocket connection. When I start a meeting using the Videobridge installed on the same server where also the whole Jitsi is running I dont get any issues. When a conference is started with another videobridge I get the following error: WebSocket connection to 'wss://mydomain.com/colibri-ws/default-id/blablabla/blabla?blaablapwd=blabla' failed. [modules\RTC\BridgChannel.js] <WebSocket.e.onclose>: Channel closed: 1006 I also checked the related configs and you already configured it for the use for Websockets, so I dont know why it is failing. I really appreciate your help, thank you.
timowevel1 commented 2021-08-17 17:26:33 +00:00 (Migrated from github.com)

videobridge {
http-servers {
public {
port = 9090
}
}
websockets {
enabled = true
domain = "domainofmainnode.com:443"
tls = true
}

videobridge { http-servers { public { port = 9090 } } websockets { enabled = true domain = "domainofmainnode.com:443" tls = true }
Ark74 commented 2021-08-17 17:44:36 +00:00 (Migrated from github.com)

Multiple videobridges are a WIP, they were going to be introduced with OCTO but that project didn't get any funding.
So they might need some work on it.

I'm open to review any PR, as for right now I can't review the subject myself.
Cheers!

Multiple videobridges are a WIP, they were going to be introduced with OCTO but that project didn't get any funding. So they might need some work on it. I'm open to review any PR, as for right now I can't review the subject myself. Cheers!
timowevel1 commented 2021-08-17 17:47:04 +00:00 (Migrated from github.com)

So you say that it is not offically supported that external videobridges are reachable via websocket?
https://doc.librechurch.org/Wiki.jsp?page=AdminJitsi#section-AdminJitsi-SetupVideoNode
What do you think of that guide?

So you say that it is not offically supported that external videobridges are reachable via websocket? https://doc.librechurch.org/Wiki.jsp?page=AdminJitsi#section-AdminJitsi-SetupVideoNode What do you think of that guide?
Ark74 commented 2021-08-17 17:55:34 +00:00 (Migrated from github.com)

So you say that it is not offically supported that external videobridges are reachable via websocket?

No, I mean the installer itself.
Multiple jvb work, just need to setup things right.

What do you think of that guide?

I think that is already done, you are looking for multiple jvb, I guess you'll have more luck at: community.jitsi.org or the main documentation at github.

> So you say that it is not offically supported that external videobridges are reachable via websocket? No, I mean the installer itself. Multiple jvb work, just need to setup things right. > What do you think of that guide? I think that is already done, you are looking for multiple jvb, I guess you'll have more luck at: [community.jitsi.org](https://community.jitsi.org) or the main documentation at github.
timowevel1 commented 2021-08-17 18:15:40 +00:00 (Migrated from github.com)

I used your installer to set the additional nodes up, but the error above is the one I am getting

I used your installer to set the additional nodes up, but the error above is the one I am getting
Ark74 commented 2021-08-17 19:38:55 +00:00 (Migrated from github.com)

Yeah, as I said, the JVB nodes do connect, websocket are advanced connections that were a WIP of a bigger project that didn't go forward, so it stayed on the basic implementation.

Yeah, as I said, the JVB nodes do connect, websocket are advanced connections that were a WIP of a bigger project that didn't go forward, so it stayed on the basic implementation.
timowevel1 commented 2021-08-17 19:58:22 +00:00 (Migrated from github.com)

So getting these errors are normal? No way to fix it?

So getting these errors are normal? No way to fix it?
Ark74 commented 2021-08-17 20:10:22 +00:00 (Migrated from github.com)

Feel free to send a PR to complete the websocket part.
Or contact me directly if you'll like a quote on the matter.

Cheers!

Feel free to send a PR to complete the websocket part. Or contact me directly if you'll like a quote on the matter. Cheers!
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: switnet/quick-jibri-installer#71
No description provided.