Browser disconnection issue

220 views
Skip to first unread message

Sarah

unread,
Jul 28, 2022, 4:24:51 PM7/28/22
to BigBlueButton-dev
Hello everybody,
we have BBB installed on our private server, and the users with mobile phones are always disconnected. So I have some questions and I hope I get answers for them

1- does bbb needs higher network speed from the user internet provider? comparing to zoom, users are disconnected if the network became slow, and they are not back when the network returns (they should activate the microphone every time)

2- the screen became OFF (I tried the full screen mode on bbb, but the screen became off again, only resolved after changed the mobile setting for screen and made it 30 min instead of 15 sec) BUT is there any other resolution to be done from the server side?

3- the session is disconnected when users press on (back) button by mistake. Have anybody tried any bbb application and worked fine? to solve this issue, and if yes, will it be fine to be used with moodle? when the student joins the session, it will by default opens the app?

Thanks and wish you a happy day,
Sarah

Fred Dixon

unread,
Jul 29, 2022, 7:57:02 AM7/29/22
to BigBlueButton-dev
Hi there,

What version of BigBlueButton did you install?

Regards,.. Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/2ef5d085-b338-4751-92ee-056505acf356n%40googlegroups.com.


--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton

Sarah

unread,
Jul 29, 2022, 5:17:00 PM7/29/22
to BigBlueButton-dev
Hello Fred,

Version 2.5.2



Thanks,
Sarah

Fred Dixon

unread,
Jul 29, 2022, 10:14:26 PM7/29/22
to bigblueb...@googlegroups.com
Hi Sarah,

> we have BBB installed on our private server, and the users with mobile phones are always disconnected.

Can you have one of the users try connecting to

  https://test25.bigbluebutton.org (our 2.5 test server)

and let us know if they get disconnected from both servers.

Regards,... Fred


FreeScholar

unread,
Jul 30, 2022, 12:31:16 AM7/30/22
to BigBlueButton-dev
I got a few reports of this and found this to be a problem with phones going into sleep mode.

Odejinmi Samuel

unread,
Jul 30, 2022, 1:53:22 AM7/30/22
to bigblueb...@googlegroups.com
2- the screen became OFF (I tried the full screen mode on bbb, but the screen became off again, only resolved after changed the mobile setting for screen and made it 30 min instead of 15 sec) BUT is there any other resolution to be done from the server side?

Add Wakelock to your BBB code

3- the session is disconnected when users press on (back) button by mistake. Have anybody tried any bbb application and worked fine? to solve this issue, and if yes, will it be fine to be used with moodle? when the student joins the session, it will by default opens the app?

Add this snippet to your main.html

<script>
document.addEventListener('gesturestart', function (e) {
e.preventDefault();
});

window.onload = function () {
if (typeof history.pushState === "function") {
history.pushState("jibberish", null, null);
window.onpopstate = function () {
history.pushState('newjibberish', null, null);
// Handle the back (or forward) buttons here
// Will NOT handle refresh, use onbeforeunload for this.
var r = confirm("You pressed a Back button! Are you sure you want to leave the meeting room?");

if (r === true) {
var base_url = window.location.origin;
// Call Back button programmatically as per user confirmation.
window.location.replace(base_url);
// Uncomment below line to redirect to the previous page instead.
// window.location = document.referrer // Note: IE11 is not supporting this.
} else {
// Stay on the current page.
}
};
} else {
var ignoreHashChange = true;
window.onhashchange = function () {
if (!ignoreHashChange) {
ignoreHashChange = true;
window.location.hash = Math.random();
// Detect and redirect change here
// Works in older FF and IE9
// * it does mess with your hash symbol (anchor?) pound sign
// delimiter on the end of the URL
} else {
ignoreHashChange = false;
}
};
}
}
</script>

Sarah

unread,
Jul 31, 2022, 9:35:35 AM7/31/22
to BigBlueButton-dev
Hello Fred,

We have 2 issues now,

1- when using WIFI, some users (tested on 2 phones 1 iphone and the other is andriod) got error (ICE 1007), but with mobile data, it is working fine....... I asked both of them to try your test servers and worked on both , so what should be done on our server to fix this issue?

2- I asked the other user who has disconnection issue and waiting for the reply (........ Pending)

Sarah

unread,
Jul 31, 2022, 9:36:59 AM7/31/22
to BigBlueButton-dev
Hello FreeScholar,

this is for the 2nd issue, right? so the solution will be on phone setting only?

Sarah

unread,
Jul 31, 2022, 9:58:52 AM7/31/22
to BigBlueButton-dev
Hi Odijinm,

Thanks for your reply,

Can you guide me please how to add  Wakelock?

Odejinmi Samuel

unread,
Jul 31, 2022, 10:22:16 AM7/31/22
to bigblueb...@googlegroups.com
Hi Sarah,

Find it below

<script>

// The wake lock sentinel.
let wakeLock = null;

// Attempts to request a screen wake lock.
try {
console.log('Requesting for Screen Wake Lock');
wakeLock = navigator.wakeLock.request('screen')
wakeLock.addEventListener('release', () => {
console.log('Screen Wake Lock released:', wakeLock.released);
});
console.log('Screen Wake Lock released:', wakeLock.released);
} catch (err) {
console.error(`Wake Lock: An error occur on - ${err}`);
}

// test support
if ('wakeLock' in navigator) {
console.log('Screen Wake Lock API supported 🎉');
} else {
console.log('Wake lock is not supported by this browser.');
}
</script>

Sarah

unread,
Jul 31, 2022, 6:20:40 PM7/31/22
to BigBlueButton-dev
Hello  Odejinmi,

Sorry, can you please tell me on which directory/file should it be added? I applied it, but I guess I did something wrong, because it did not work.


Thanks and best regards,
Sarah

Message has been deleted

Odejinmi Samuel

unread,
Aug 6, 2022, 6:10:34 AM8/6/22
to bigblueb...@googlegroups.com
Add it to main.html

On Mon, 1 Aug 2022, 10:57 pm 'Sarah' via BigBlueButton-dev, <bigblueb...@googlegroups.com> wrote:
Hello Fred,

Is there any update here?

I have something, 
the issue with the WIFI with error code (1007), they can activate the (listen only), but they are getting error 1007 when choosing the microhpone,

Aloiso Gomes

unread,
Aug 6, 2022, 3:54:11 PM8/6/22
to bigblueb...@googlegroups.com
I want contribute giving you a possible precious tip,
i've faced issues like that, when i ensure correct usage of coturn everything works well,
even mobile with browser in background, or in standby the connection stays on!

So, if your coturn is correctly setted, advance to solve this issue, but you have not sure, stop,
and set correctly your coturn server, it make an amazing difference with establishment of connections.

Hope for success.







--
Abraço,
Aloiso Gomes - Desenvolvedor
Inac Sistemas
Tel: (11) 3103-3354 :: Ramal 9101

Brent W. Baccala

unread,
Aug 15, 2022, 12:23:41 PM8/15/22
to BigBlueButton-dev
Sarah,

For you WiFi issue, is the WiFi network completely separate from the network that the BigBlueButton server is on, or are part of the same network?  If they're on the same network, are they on the same subnet or a different subnet?

Sorry you're having problems; we'll try to get it straightened out.

    agape
    brent

Sarah

unread,
Sep 2, 2022, 6:57:59 PM9/2/22
to BigBlueButton-dev
  Hello  Odejinmi,
Sorry for late reply, but I had to wait sometime to get a downtime to avoid losing the server stability.

I added your script to (/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml) that is the HTML5 main configuration, but I got an error 502 (page not found) when accessing any meeting
I hope that this is the correct file, right?

Sarah

unread,
Sep 2, 2022, 6:59:53 PM9/2/22
to BigBlueButton-dev
Hi,

Nope, the WIFI users are connection to BBB server from different countries around the world.

Sarah

unread,
Sep 2, 2022, 7:04:26 PM9/2/22
to BigBlueButton-dev
thanks aloiso for the tips, yes, I installed the coturn a couple of hours ago, but I have an issue when I set ( media.peerconnection.ice.relay_only  ) as true to force firefox to use the turn server, the audio is not working (did not tried the camers because we disabled the camera button from all meetings)

so, I guess something is wrong 

I get the following errors from Firefox log

(ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP4:0.0.0.0:3478/UDP)

(ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:175 function nr_socket_multi_tcp_create_stun_server_socket skipping UDP STUN server(addr:IP6:[::]:3478/UDP)

(ice/INFO) /builds/worker/checkouts/gecko/dom/media/webrtc/transport/third_party/nICEr/src/net/nr_socket_multi_tcp.c:184 function nr_socket_multi_tcp_create_stun_server_socket skipping STUN with different IP version (6) than local socket (4),

 Skipping TURN server because of address type mis-match  

Sarah

unread,
Sep 10, 2022, 5:34:23 PM9/10/22
to BigBlueButton-dev
Gentle reminder :)

Brent W. Baccala

unread,
Sep 11, 2022, 11:50:46 PM9/11/22
to BigBlueButton-dev
Dear Sarah,

Could you share the output of `bbb-conf --check` and `/opt/freeswitch/log/freeswitch.log` when a user can't connect with the microphone?

The freeswitch log file is typically quite large, but freeswitch is what's used for the microphone connections, and I'd really like to see the SIP exchange that causing problems.

Please be patient with us; we'll try to get it straightened out.

    agape
    brent

Aloiso Gomes

unread,
Sep 12, 2022, 7:07:46 AM9/12/22
to bigblueb...@googlegroups.com
Sarah, I want encourage you keep effort over coturn, it is the main point about connections,
the guys whose maintain bbb project have created a "plug-and-play" project, so i believe 100% nothing about bbb(core)
are causing your issue. But coturn is a piece out of box, and have their own settings ways to assert into server and a lot of stuffs.

Thanks to bbb docs you have a dedicated part detailing about coturn setup, and you must ensure its correct setup according to your server etc.

you should have clarify about coturn healthy if, its role is delivered as expected by testing turn/stun connections:
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

If you test a STUN server, it works if you can gather a candidate with type "srflx". If you test a TURN server, it works if you can gather a candidate with type "relay".

If you pass fine to stun/turn tests ok, give up about coturn, (about testings only :D) and go ahead search for other points,  but ensure coturn's correct work looks a great bet for while.

PS: NEVER COUNTING WITH SOME SETTINGS INTO BROWSER, YOU WILL DO BUT YOUR USERS WILL NEVER DO

Reply all
Reply to author
Forward
0 new messages