Bbb ошибка 1004

Describe the bug When the setting public.app.skipCheck in /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml is set to true, a first-time user will get a "Failure on call ...

Describe the bug
When the setting public.app.skipCheck in /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml is set to true, a first-time user will get a «Failure on call (reason=ICE error) (error 1004)» error after allowing their browser to share the microphone.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure that the BigBlueButton server HTML5 client settings (/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml) has public.app.skipCheck set to true (this instructs the HTML5 client to skip the Echo Test)
  2. Join a meeting from a browser that has not been allowed to share the microphone with it
  3. Choose to join with microphone
  4. Allow the browser to use your microphone
  5. See error

Expected behavior
Audio conference should be joined without problems

Actual behavior
A «Failure on call (reason=ICE error) (error 1004)» error is presented to the user, the audio joining method window stays active, but pushing neither «Microphone» or «Listen only» works. Closing the «How would you like to join» window and restarting the audio join process works without a problem.

Screenshots
Screenshot 2021-02-10 at 15 32 32
Screenshot 2021-02-10 at 15 32 29

BBB version (optional):
$ sudo bbb-conf —check | grep BigBlueButton
BigBlueButton Server 2.2.31

Desktop (please complete the following information):

  • OS: Mac
  • Browser Chrome
  • Version 88.0.4324.146

Describe the bug
When the setting public.app.skipCheck in /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml is set to true, a first-time user will get a «Failure on call (reason=ICE error) (error 1004)» error after allowing their browser to share the microphone.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure that the BigBlueButton server HTML5 client settings (/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml) has public.app.skipCheck set to true (this instructs the HTML5 client to skip the Echo Test)
  2. Join a meeting from a browser that has not been allowed to share the microphone with it
  3. Choose to join with microphone
  4. Allow the browser to use your microphone
  5. See error

Expected behavior
Audio conference should be joined without problems

Actual behavior
A «Failure on call (reason=ICE error) (error 1004)» error is presented to the user, the audio joining method window stays active, but pushing neither «Microphone» or «Listen only» works. Closing the «How would you like to join» window and restarting the audio join process works without a problem.

Screenshots
Screenshot 2021-02-10 at 15 32 32
Screenshot 2021-02-10 at 15 32 29

BBB version (optional):
$ sudo bbb-conf —check | grep BigBlueButton
BigBlueButton Server 2.2.31

Desktop (please complete the following information):

  • OS: Mac
  • Browser Chrome
  • Version 88.0.4324.146

Содержание

  1. user gets ICE 1004 error when connecting with microphone in android mobile/tablet in chrome,We are Currently using BBB stable release-version 2.4 #14136
  2. Comments
  3. Error 1004 only on android smartphone google chrome #13008
  4. Comments
  5. Failure On Call (reason=ICE Error) (Error 1004) #14463
  6. Comments
  7. Error 1004 (reason=Incompatible SDP) (error 1004) #9088
  8. Comments
  9. bbb-docker on AWS: ICE ERROR — 1004 #142
  10. Comments

user gets ICE 1004 error when connecting with microphone in android mobile/tablet in chrome,We are Currently using BBB stable release-version 2.4 #14136

Describe the bug
When the user tries to join the audio in android mobile/tablet with Chrome especially in android 11, everytime user will get a «Failure on call (reason=ICE error) (error 1004)» error after allowing their browser to share the microphone .

To Reproduce
Steps to reproduce the behavior:

Make sure that the BigBlueButton server HTML5 client settings
(/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml) has
public.app.skipCheck set to true (this instructs the HTML5 client to skip the EchoTest)

Join a meeting from a browser that has not been allowed to share the microphone
with it

Choose to join with microphone

Allow the browser to use your microphone

Expected behavior
Audio conference should be joined without problems.

Actual behavior
A «Failure on call (reason=ICE error) (error 1004)» error is presented to the user,when
pushing neither «Microphone» or «Listen only»

Screenshots

  • Device: Android Mobile/tablets.
  • OS: Android 11
  • Browser chrome
  • Version [96.0.4]

The text was updated successfully, but these errors were encountered:

Источник

Error 1004 only on android smartphone google chrome #13008

I am getting this error «Failure on call (reason = ICE error) (error 1004)» on android smartphone in google chrome.
Firefox work normaly.
The problem also occurs on demo.bigbluebutton.org and test.bigbluebutton.org


Smartphone Samsung A31,A41 not work in default settings, Samsung A51 Work normal (not default)
Version Google chrome it’s the same everywhere 92,0,4515,131
Log Freeswitch
021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 110@48000
2021-08-16 14:24:53.312613 [DEBUG] mod_opus.c:613 Opus encoder: set bitrate to local settings [72000bps]
2021-08-16 14:24:53.312613 [DEBUG] mod_opus.c:613 Opus encoder: set bitrate to local settings [72000bps]
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:3847 Set Codec sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su opus/48000 20 ms 960 samples 0 bits 1 channels
2021-08-16 14:24:53.312613 [DEBUG] switch_core_codec.c:111 sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su Original read codec set to opus:116
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:4340 Searching for rtp candidate.
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:4340 Searching for rtcp candidate.
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:4387 Look for Relay Candidates as last resort
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:4340 Searching for rtp candidate.
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:4340 Searching for rtcp candidate.
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:4393 sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su no suitable candidates found.
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 110@48000
2021-08-16 14:24:53.312613 [DEBUG] switch_core_media.c:5918 sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su Set 2833 dtmf send payload to 110 recv payload to 110
2021-08-16 14:24:53.312613 [NOTICE] switch_channel.c:3908 Hangup sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
2021-08-16 14:24:53.312613 [DEBUG] switch_core_session.c:2914 sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:651 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) State EXECUTE going to sleep
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:585 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) Running State Change CS_HANGUP (Cur 2 Tot 4)
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:848 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) Callstate Change RINGING -> HANGUP
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:850 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) State HANGUP
2021-08-16 14:24:53.312613 [DEBUG] mod_sofia.c:453 Channel sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su hanging up, cause: INCOMPATIBLE_DESTINATION
2021-08-16 14:24:53.312613 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 488
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:60 sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:850 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) State HANGUP going to sleep
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:620 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) State Change CS_HANGUP -> CS_REPORTING
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:585 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) Running State Change CS_REPORTING (Cur 2 Tot 4)
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:936 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) State REPORTING
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:174 sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:936 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) State REPORTING going to sleep
2021-08-16 14:24:53.312613 [DEBUG] switch_core_state_machine.c:611 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) State Change CS_REPORTING -> CS_DESTROY
2021-08-16 14:24:53.312613 [DEBUG] switch_core_session.c:1736 Session 4 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) Locked, Waiting on external entities
2021-08-16 14:24:53.312613 [NOTICE] switch_core_session.c:1754 Session 4 (sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su) Ended
2021-08-16 14:24:53.312613 [NOTICE] switch_core_session.c:1758 Close Channel sofia/external/w_0mkxbakjxpqc_23-bbbID-R@conf2.biot.su [CS_DESTROY]

The text was updated successfully, but these errors were encountered:

@Amorthis Can you please confirm whether cameras/listen only aren’t working as well?

Simply click on ‘Gather candidates’ button and tell us if you get any candidate from your Samsung device. You may be hitting a bug

I am testing 2.2 and 2.3 version. In my subdomain conf 2.2.
I see only black area in Webcam zone. Another team don’t see my connection.
when I connect to the problematic device, I see a black square at the place of the video, I hear the rest of the conference participants, but they do not see me or hear me.
this problem has appeared in the last 2 months

In Google Chrome on a41 problem

In Firefox on a41 no problem

Thanks. It seems you are hitting a bug related to Chrome/Samsung browsers (not all, but specific devices) where the browser hangs at the beginning of media connection (for audio/video/screenshare).

Источник

Failure On Call (reason=ICE Error) (Error 1004) #14463

I am planning to install BBB (Version 2.4.4) in Ubuntu 18.04 (Aws).
I have installed using the instructions given in https://docs.bigbluebutton.org/2.4/install.html#minimum-server-requirements
But after the installation I got an error and not able to enable the microphone it constantly threw 1004 errors in

Ubuntu 20.04 Google Chrome Version 98.0.4758.102 (Official Build) (64-bit) but it was working fine in Mozilla.

Throwing error Mac Google Chrome Version 98.0.4758.109 (Official Build) (64-bit) but it was working fine in Safari.

But in Windows PC, it was working fine in both Chrome and Mozilla.

I thought it was my installation issue but I found that https://test.bigbluebutton.org/ and https://test24.bigbluebutton.org/

Here am attaching a screenshot from https://test.bigbluebutton.org/

A clear and concise description of what the bug is.

Installation type
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s — -v bionic-240 -s bbb.example.com -e notice@example.com -a -w

Firewall and IP address type
Is your server behind a NAT or firewall? Yes
Does your BBB server have its own IPv4 address? Yes

Console output

Additional context
I thought it was my installation issue but I found that https://test.bigbluebutton.org/ and https://test24.bigbluebutton.org/

The text was updated successfully, but these errors were encountered:

That’s exactly something I’m experiencing. It also happens in some phones (with both Chrome and Firefox).
I’ve tried the only solution provided here But it doesn’t work.

Additional: I’ve checked freeswitch log in my case. The only thing looks suspicious is hangup with [INCOMPATIBLE_DESTINATION] and then [CS_DESTROY] .

Looking at this and wondering if its related to #7547

@ffdixon thanks for your quick response. Please can you suggest some ETA for this issue?

Looking at this and wondering if its related to #7547

Since mDNS candidates should be either resolvable (or can be ignored) as of FS 1.10.7, the client-side filtering is obsolete and can probably be phased out. It might be able to attenuate this scenario by providing at least some candidate to be parsed (avoiding the incompatible destination error) and giving a chance for the connection to be established through a peer reflexive candidate (because mDNS probably won’t work at all).

Although the actual question is: what kind of heuristic (or bug) is kicking in Chrome that would prevent (or delay) the generation of relay / srflx candidates?

@shivaprasad573 , could you please share bbb-html5 and FreeSWITCH logs ?

Also, are you behind a restrictive network/firewall ? If so, please tell us which ports are blocked, so we might be able to reproduce your scenario here.

These are the logs that are printed in the browser console

Hi @mariogasparoni i am also facing the same issue after installing the bigbluebutton and tried to join the meeting facing the same ICE error please update the solution for this issue.
please review the comment, thanks

BBB is working fine in 99.8% of the cases, the rest 0.2% are facing ICE 1004 issue in their devices. A particular customer, who is facing this issue, is using a latest SAMSUNG device with android version 11 and latest chrome version. We adviced them to clear the browser cache, asked them to reinstall chrome still the issue prevailed. And when installed a latest firefox and tried connecting, the audio connected successfully once and after that the same ICE 1004 error appeared whenever try connecting to the meeting.

@Kernelogy what version of bbb. sudo bbb-conf —check will tell you?

BigBlueButton Server 2.4.2 (2885)
Kernel version: 5.4.0-1061-aws
Distribution: Ubuntu 18.04.6 LTS (64-bit)
Memory: 32882 MB
CPU cores: 8

Источник

Error 1004 (reason=Incompatible SDP) (error 1004) #9088

Hi guys, I use BBB from Chrome (Moodle). I was not occuring an error but since yesterday it started to give error 1004 reason Incompatibe SDP. What should I do?

The text was updated successfully, but these errors were encountered:

Please open https://test.webrtc.org/ and start the test.
Are you the administrator of that BigBlueButton server? If yes, please run bbb-conf —check .
Additionally, can you test again on https://test.bigbluebutton.org/ and let us know if you still encounter the error?

Hi, I am getting the same error on my fresh setup. Webcam works fine, but no voice is possible.

The test with https://test.bigbluebutton.org/ is fine, so it seems that I need to change something in my setup. I did not change any config files, just took a quick out-of-the-box test and noticed the problem.
BTW: Took a Scaleway Instance to run BBB, if that helps in any way. Used the bbb-install.sh script with Greenlight and my own domain.

bbb-conf —check output

I changed the Domain and Public IP Adress for privacy reasons.

On the test environment I checked the console in Chrome and received two candidates for the connection.
sip.invitecontext.mediahandler | ICE candidate received:

But on my own instance there is no message like that in the console.

It seems that I missed something. In my Scaleway Dashboard I set the Security Group for my bbb instance to allow all udp and tcp connections/ports.

Источник

bbb-docker on AWS: ICE ERROR — 1004 #142

Describe the bug:
When starting a new video call from greenlight, when clicking the «mic» option in the pop up the audio test fails and i get the 1004 error.

Setup:
I have been following the instructions on github using as development server a c5.xlarge with ubuntu-focal-20.04 on AWS as suggested in https://docs.bigbluebutton.org/2.2/install.html#minimum-server-requirements.

My .env file has been generated using the ./scripts/setup from the github docs mentioned above:
bbb-docker-env.txt
Here instead you have my freeswitch container log where the error arises:
freeswitch-container-log.txt

2021-07-29 07:13:06.425040 [ERR] switch_core_media.c:9685 AUDIO RTP REPORTS ERROR: [Bind Error! my.external.ipv4.address:18158]
I did check the connectivity on that port via nc and it seems alright.

Expected behavior:
The call should start

Actual behavior:
User gets 1004 Error, the call fails

Additional context:
My first idea was a problem with AWS inbounds rules of the security group, this is my actual setup:

The text was updated successfully, but these errors were encountered:

Источник

Пожалуйста, откройте https://test.webrtc.org/ и запустите тест.
Вы администратор этого сервера BigBlueButton? Если да, запустите bbb-conf --check .
Кроме того, можете ли вы снова протестировать на https://test.bigbluebutton.org/ и сообщить нам, если вы по-прежнему сталкиваетесь с ошибкой?

Привет, у меня такая же ошибка при новой настройке. Веб-камера работает нормально, но голосовая связь невозможна.

Тест с https://test.bigbluebutton.org/ в порядке, поэтому мне кажется, что мне нужно что-то изменить в моей настройке. Я не менял никаких файлов конфигурации, просто прошел быстрый тест и заметил проблему.
Кстати: взял экземпляр Scaleway для запуска BBB, если это хоть как-то поможет. Использовал сценарий bbb-install.sh с Greenlight и моим собственным доменом.

bbb-conf --check вывод

# Potential problems described below
# IP does not match:
#                           IP from ifconfig: 10.18.32.77
#   /etc/nginx/sites-available/bigbluebutton: bbb.mydomain.net (change for privacy)

# Warning: The setting of 51.15.88.XXX for proxy_pass in
#
#    /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (10.18.32.77).
# (This is OK if you've manually changed the values)

Я изменил домен и общедоступный IP-адрес из соображений конфиденциальности.

В тестовой среде я проверил консоль в Chrome и получил двух кандидатов на подключение.
sip.invitecontext.mediahandler | ICE candidate received:

Но на моем собственном экземпляре такого сообщения в консоли нет.

Кажется, я что-то упустил. На панели Scaleway Dashboard я установил группу безопасности для своего экземпляра bbb, чтобы разрешить все соединения / порты udp и tcp.

Когда я использую Firefox 75 вместо Chrome 81.0.4044.113, звук / микрофон работают нормально.

Эта ошибка, по-видимому, означает, что существует проблема с запросом webrtc вашего IP-адреса.
Если у вас есть uBlock origin или Privacy Badger, проверьте там настройки и убедитесь, что опция запрета совместного использования вашего локального IP-адреса не установлена.

Спасибо за ответ. На самом деле это был тот маленький флажок в настройках uBlock, который я активировал некоторое время назад. Без этого флажка соединение работает безупречно.

Но помните о последствиях. Таким образом, каждый участник встречи может знать ваш IP-адрес, и если кто-то не играет хорошо, он может DDOS …
Это может быть для вас неважно, если вы делаете это в ограниченном объеме, но если это публичное собрание или что-то в этом роде, это может быть актуально.

Эта ошибка, по-видимому, означает, что существует проблема с запросом webrtc вашего IP-адреса.
Если у вас есть uBlock origin или Privacy Badger, проверьте там настройки и убедитесь, что опция запрета совместного использования вашего локального IP-адреса не установлена.

Я использую честный блокировщик рекламы. Я полностью отключил его, и это не помогло с https://demo.bigbluebutton.org , но оно работает с https://test.bigbluebutton.org. Еще я проверил в другом браузере — та же проблема. Мой IP-адрес серый, может быть, это причина … Итак, что делать?

Возможно, вы используете CGN, сайт demo.bigbluebutton.org поддерживает только IPv4. У test.bigbluebutton.org есть IPv6:
image

Скажу сразу, это «временная особенность»
сегодня был онлайн-класс, произошла эта ошибка, посещаемость была меньше использования интернета и никаких помех для других работ .. Это было удобно😁😜

Однако следует отметить, что эта проблема может быть решена поставщиком Bigbluebutton, настроившим сервер TUN, но это увеличит трафик, проходящий через его инфраструктуру, поскольку участники будут использовать сервер TUN в качестве точки встречи.

@KeroQuero. Удалось ли вам решить проблему с конфигурацией сервера за это время? В противном случае обратитесь за поддержкой в ​​наш список рассылки / форум по адресу https://groups.google.com/forum/#!forum/bigbluebutton -setup.

Для других, у кого есть эта проблема: обычно отключение IPv6 на вашем сервере, а также удаление записи AAA из вашего домена BBB решает проблему, потому что тогда клиенты будут использовать IPv4 для подключения к серверу и, таким образом, не будут путать соединения IPv4 и IPv6.

| Broadcasting IP... | Не отмечен | Отмечено / Включено |
| — | — | — |
BBB test > присоединиться к аудио | — Не удалось установить соединение с WebSocket.
(ошибка 1002)
— Без звука | — Нет ошибки
— Воспроизведено аудио
BBB live> присоединиться к аудио | — Сбой при вызове (причина = несовместимый SDP)
(ошибка 1004)
— Без звука | — пока не тестирую (но думаю будет работать)
Тест WebRTC >
Network > Udp enabled | ❌ | ✔

image

поступает с https://github.com/bigbluebutton/bigbluebutton/issues/9088#issuecomment -624206690

Эта ошибка, по-видимому, означает, что существует проблема с запросом webrtc вашего IP-адреса.
Если у вас есть uBlock origin или Privacy Badger, проверьте там настройки и убедитесь, что опция запрета совместного использования вашего локального IP-адреса не установлена.

Была ли эта страница полезной?

0 / 5 — 0 рейтинги


BBB oшибка WBRTC 1004: Сбой вызова (причина=Incompatible SDP)

  • ◄ Навигационная панель заголовка
  • Как убрать связь записей глосария с текстом вопросов в банке вопросов. ►

Режим отображения

BBB oшибка WBRTC 1004: Сбой вызова (причина=Incompatible SDP)

от Сергей Пак — четверг, 9 ноября 2017, 17:23

Количество ответов: 2

Доброго времени суток! помогите люди, уже два дня мучаюсь с этой ошибкой! не проходит эхо тест wbrtc «Обнаружена проблема WebRTC: Ошибка 1004: Сбой вызова (причина=Incompatible SDP). Хотите попробовать Flash?», пробовал через разные браузеры с разных пк, настройки сервера проверены и не один раз! 

Приложение Error.jpg

Сумма оценок:

Постоянная ссылка

Ответить

В ответ на Сергей Пак

Re: BBB oшибка WBRTC 1004: Сбой вызова (причина=Incompatible SDP)

от Виталий Лавров — пятница, 10 ноября 2017, 15:04

Изображение пользователя Эксперт по Moodle

Возможно здесь описано решение этой проблемы

https://groups.google.com/forum/#!msg/bigbluebutton-setup/DyJoNJ0RrfY/Rt4pNTTzAwAJ

Сумма оценок:

Постоянная ссылка

Показать сообщение-родителя

Ответить

В ответ на Сергей Пак

Re: BBB oшибка WBRTC 1004: Сбой вызова (причина=Incompatible SDP)

от Vadim Dvorovenko — суббота, 11 ноября 2017, 12:55

Изображение пользователя Developers
Изображение пользователя Майнтейнер перевода
Изображение пользователя Тестер Moodle
Изображение пользователя Эксперт по Moodle

Для правильной работы WebRTC  должны быть открыты все udp порты 16384 — 32768.

Для правильной работы WebRTC в Crome необходимо, чтобы вы обращались к серверу BBB по https.

И должен быть открыт порт tcp 7443

Возможно у вас не отключен ipv6 для freeswitch

Сумма оценок:

Постоянная ссылка

Показать сообщение-родителя

Ответить

  • ◄ Навигационная панель заголовка
  • Как убрать связь записей глосария с текстом вопросов в банке вопросов. ►

#html5-audio #sip #freeswitch #bigbluebutton

#html5-аудио #sip #freeswitch #bigbluebutton

Вопрос:

Я использую BigBlueButton с canvas. Я установил его с помощью скрипта, предоставленного на их странице Github, а именно:

 wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -w -a -v xenial-22 -s bbb.example.com -e info@example.com
 

Проблема возникает всякий раз, когда я создаю конференцию и присоединяюсь к ней. Я не мог использовать звук, ни слушая.

При нажатии на кнопку присоединиться с микрофоном появляется сообщение об ошибке со словами:

 Failure on call (reason=ICE error) (error 1004)
 

И когда я нажимаю только на Прослушивание, ничего не происходит.

Я просмотрел журналы, но ничего полезного, я подозревал некоторые звуковые ошибки из-за конфигурации хоста, но я не могу прояснить ситуацию. Может быть, у кого-нибудь из вас возникнет идея о том, с какими журналами следует ознакомиться.

Я подозреваю, что это проблема, связанная с FreeSWITCH, я следил за настройкой здесь о настройке FreeSWITCH с брандмауэром (хотя я не использую брандмауэр, но BBB config указывает, что он рассматривает брандмауэр), но ничего не изменилось.

Любое предложение будет оценено.

Комментарии:

1. Привет @younes-zeboudj смогли ли вы решить эту проблему?

2. Да, прокомментировав строку в app/models/bigbluebutton_conference.rb.

Ответ №1:

В моем случае я исправил это, прокомментировав строку, содержащую (voiceBridge = …) В app/models/bigbluebutton_conferenfe.rb.

Ответ №2:

Ты спас мне жизнь. Файл, о котором говорит Юнес, взят из Canvas LMS. Если вы следовали официальным инструкциям по установке, этот файл должен быть /var/canvas/app/models/big_blue_button_conference.rb включен. Вам нужно будет перезапустить приложение (или, если вы не знаете как, сервер), чтобы изменения вступили в силу.

Строка для комментария в контексте:

 current_host = URI(settings[:default_return_url] || "http://www.instructure.com").host
    send_request(:create, {
      :meetingID => conference_key,
      :name => title,
#      :voiceBridge => format("0d", self.global_id),
      :attendeePW => settings[:user_key],
      :moderatorPW => settings[:admin_key],
      :logoutURL => (settings[:default_return_url] || "http://www.instructure.com"),
      :record => settings[:record] ? "true" : "false",
      :welcome => settings[:record] ? t("This conference may be recorded.") : "",
      "meta_canvas-recording-ready-user" => recording_ready_user,
      "meta_canvas-recording-ready-url" => recording_ready_url(current_host)
    }) or return nil
 

    If you encountered any problems with the installation of BigBlueButton, this section covers how to resolve many of the common issues.

    If you have not already done so, read through the getting help section.

    Introduction

    Start here: run sudo bbb-conf --check

    We’ve built in a BigBlueButton configuration utility, called bbb-conf, to help you configure your BigBlueButton server and troubleshoot your setup if something doesn’t work right.

    If you think something isn’t working correctly, the first step is enter the following command.

    This will check your setup to ensure the correct processes are running, the BigBlueButton components have correctly started, and look for common configuration problems that might prevent BigBlueButton from working properly.

    If you see text after the line ** Potential problems described below **, then it may be warnings (which you can ignore if you’ve change settings) or errors with the setup.

    Recording

    Recording not processing after upgrading

    If after updating from BigBlueButton 2.0 to BigBlueButton 2.2 your recordings are not processing, and if you are seeing Permission denied errors in /var/log/bigbluebutton/bbb-rap-worker.log

    I, [2019-06-07T14:26:09.034878 #14808]  INFO -- : /usr/lib/ruby/2.5.0/logger.rb:754:in `initialize': Permission denied @ rb_sysopen - /var/log/bigbluebutton/presentation/process-02feca80700b3e95b877af85db972904397857a1-1559909318977.log (Errno::EACCES)
    

    You can resolve the errors with the following command

    $ sudo chown -hR bigbluebutton:bigbluebutton /var/log/bigbluebutton/presentation /var/log/bigbluebutton/screenshare
    

    and then rebuild the recordings that had not yet processed. You can see the list of recordings with

    and then to rebuild a recording, use sudo bbb-record --rebuild <internal_meeting_id>, as in

    $ sudo bbb-record --rebuild 298b06603719217df51c5d030b6e9417cc036476-1559314745219
    

    Webcams/screen sharing aren’t working

    Certify that appropriate external addresses have been set for mediasoup. When installed via packages, mediasoup IPs are normally misconfigured. If installed via bbb-install, then IPv4 is generally correct, but IPv6 might be absent.

    Nonetheless, we recommend double-checking the instructions in Updating mediasoup.

    Configure mediasoup to use IPv6

    mediasoup (bbb-webrtc-sfu) does not come with a IPv6 enabled by default when installed either via packages or bbb-install.

    To configure IPv6, bbb-webrtc-sfu’s override configuration file (located in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml) should be used.

    See Updating mediasoup for instructions and examples on how to do so.

    I’m having troubles seeing webcams or screen sharing in Firefox

    That’s usually the symptom of a known Firefox issue where it doesn’t comply with ICE-lite implementations (and mediasoup is one).

    This issue can be worked around by forcing TURN usage in Firefox user agents. To achieve that, set the public.kurento.forceRelayOnFirefox configuration to true in /etc/bigbluebutton/bbb-html5.yml. For example:

    public:
      kurento:
        forceRelayOnFirefox: true
    

    How often does this Firefox issue happens?

    Short (non) answer: that’s difficult to measure.

    Every Firefox installation is prone to the lack of ICE-lite spec compliance. However, the issue doesn’t manifest itself on all Firefox installations as it is dependent on how the end user’s network topology is organized. It’s generally a small subset of Firefox users, but that can vary depending on the user base.

    Where can I track progress on a definitive solution or better workaround?

    This is a Firefox bug, so the best place to get an overview on progress and what the issue is about is Mozilla’s issue.

    You can also track BigBlueButton’s issue for updates on additional workarounds.

    Why isn’t forceRelayOnFirefox enabled by default?

    It’s not on by default because bigbluebutton does not come with a TURN server by default, and that’s what versioned-in-code setting presumes.

    How do I know if mediasoup is being used?

    The most direct and precise way to figure out whether mediasoup is being used is checking about:webrtc (Firefox) or chrome://webrtc-internals. For example: open one of those, share a camera. Look for the remote description (SDP); see if it contains mediasoup-client in the SDP header. If it does, you’re using mediasoup.

    Regardless of that: mediasoup is the default in 2.5 and should always be used unless default settings were explicitly changed.

    mediasoup is the default in 2.5. Why is Kurento still around?

    Because Kurento is still used for stream recording. It should be removed as a dependency as soon as this issue is addressed.

    Is single-core performance still important with mediasoup?

    Yes.

    How can I control the number of mediasoup workers?

    To control the number of mediasoup workers, bbb-webrtc-sfu’s override configuration file (located in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml) should be used.

    There are a couple of configurations of interest here:

    mediasoup.workers

    This configuration controls the number of mediasoup workers intended for general use (media type agnostic, shared pool).

    Accepted values are:

    • "auto" (default): creates ceil((min(nproc,32) * 0.8) + (max(0, nproc - 32) / 2)) workers;
    • "cores": creates workers up to the host’s core count (as provided by os.cpus().length);
    • <Number>: overrides the number of workers with a fixed value;
    • The default and fallback values are auto.

    For example:

    • To set the number of workers to cores: yq w -i /etc/bigbluebutton/bbb-webrtc-sfu/production.yml mediasoup.workers "cores"

    mediasoup.dedicatedMediaTypeWorkers

    This configuration controls the number of mediasoup workers to be used by specific media types.
    If a dedicated pool is set, streams of its media type will always land on it. Otherwise, they will use the shared pool.

    The configuration is an object of the following format:

    mediasoup.dedicatedMediaTypeWorkers:
       audio: "auto"|"cores"|<Number>
       main: "auto"|"cores"|<Number>
       content: "auto"|"cores"|<Number>
    

    The semantics of auto, cores and Number are the same as in the mediasoup.workers configuration. Default values for all media types are 0 (no dedicated workers).

    The media types semantics are:

    • audio: audio (listen only, microphone) streams;
    • main: webcam video streams;
    • content: screen sharing streams (audio and video).

    For example:

    • To set the number of dedicated audio workers to auto: yq w -i /etc/bigbluebutton/bbb-webrtc-sfu/production.yml mediasoup.dedicatedMediaTypeWorkers.audio "auto"

    Can I scale the number of streams up indefinitely with mediasoup?

    No. Scalability improves a lot with mediasoup, but there are still a couple of bottlenecks that can be hit as far as far as the media stack is concerned. Namely:

    • The signaling server (bbb-webrtc-sfu): it does not scale vertically indefinitely. There’s always work ongoing on this area that can be tracked in this issue;
    • The mediasoup worker balancing algorithm implemented by bbb-webrtc-sfu is still focused on multiparty meetings with a restrained number of users. If your goal is thousand-user 1-N (streaming-like) meetings, you may max out CPU usage on certain mediasoup workers even though there are other idle oworkers free.

    Kurento

    WebRTC video not working with Kurento

    Check the value for /proc/sys/net/ipv4/tcp_syncookies that it contains the value 1.

    $ cat /proc/sys/net/ipv4/tcp_syncookies
    1
    

    If not, edit /etc/sysctl.conf and set the value for net.ipv4.tcp_syncookies to 1.

    net.ipv4.tcp_syncookies = 1
    

    Save the file and restart.

    Unit kurento-media-server.service is masked

    If sudo bbb-conf --check returns the warning

    Restarting BigBlueButton 2.0.0-RC9 (and cleaning out all log files) ...
    Stopping BigBlueButton
     ... cleaning log files
    Starting BigBlueButton
    Failed to start kurento-media-server.service: Unit kurento-media-server.service is masked.
    

    You can unmask Kurento using the command

    $ systemctl unmask kurento-media-server.service
    

    The default installation of BigBlueButton should work in most netowrk configurations; however, if your users ae behind a restrictive network that blocks outgoing UDP connections, they may encounter 1020 errors (media unable to reach server).

    If you get reports of these errors, setup TURN server to help their browsers send WebRTC audio and video streams via TCP over port 443 to the TURN server. The TURN server will then relay the media to your BigBlueButton server.

    See Configure TURN.

    FreeSWITCH

    Configure BigBluebutton/FreeSWITCH to support IPV6

    The HTML5 client now enables users on mobile devices to connect to a BigBlueButton server. However, on some cellular networks iOS devices only receive an IPV6 address.

    To enable BigBlueButton (FreeSWITCH) to accept incoming web socket connections on IPV6, the BigBlueButton server must have an IPV6 address. You also need to make the following changes to the server.

    First, create the file /etc/nginx/conf.d/bigbluebutton_sip_addr_map.conf with this content:

    map $remote_addr $freeswitch_addr {
        "~:"    [2001:db8::1];
        default    192.0.2.1;
    }
    

    replacing the ip addresses 192.0.2.1 with the system’s external IPV4 addresses, and replace 2001:db8::1 with the system’s external IPV6 address. Next, edit the file /etc/bigbluebutton/nginx/sip.nginx to have the following:

    proxy_pass https://$freeswitch_addr:7443;
    

    Next, ensure all of the following params are present in freeswitch’s sip_profiles/external-ipv6.xml:

    • ws-binding
    • wss-binding
    • rtcp-audio-interval-msec
    • rtcp-video-interval-msec
    • dtmf-type
    • liberal-dtmf
    • enable-3pcc

    If any are missing, copy them from sip_profiles/external.xml, then restart BigBlueButton (sudo bbb-conf --restart).

    FreeSWITCH fails to bind to IPV4

    In rare occasions after shutdown/restart, the FreeSWITCH database can get corrupted. This will cause FreeSWITCH to have problems binding to IPV4 address (you may see error 1006 when users try to connect).

    To check, look in /opt/freeswitch/var/log/freeswitch/freeswitch.log for errors related to loading the database.

    2018-10-25 11:05:11.444727 [ERR] switch_core_db.c:108 SQL ERR [unsupported file format]
    2018-10-25 11:05:11.444737 [ERR] switch_core_db.c:223 SQL ERR [unsupported file format]
    2018-10-25 11:05:11.444759 [NOTICE] sofia.c:5949 Started Profile internal-ipv6 [sofia_reg_internal-ipv6]
    2018-10-25 11:05:11.444767 [CRIT] switch_core_sqldb.c:508 Failure to connect to CORE_DB sofia_reg_external!
    2018-10-25 11:05:11.444772 [CRIT] sofia.c:3049 Cannot Open SQL Database [external]!
    

    If you see these errors, clear the FreeSWITCH database (BigBlueButton doesn’t use the database and FreeSWITCH will recreate it on startup).

    $ sudo systemctl stop freeswitch
    $ rm -rf /opt/freeswitch/var/lib/freeswitch/db/*
    $ sudo systemctl start freeswitch
    

    Forward calls from an Asterisk server to FreeSWITCH

    Let’s assume the following:

    asterisk server ip:          192.168.1.100
    bigbluebutton/freeswitch ip: 192.168.1.200
    

    Changes to your Asterisk server

    Setup your gateway to BigBlueButton/FreeSWITCH. in /etc/asterisk/sip.conf add

    [fs-gw]
    type=peer
    username=fs-gw
    insecure=very
    contactpermit=192.168.1.200/255.255.255.255
    qualify=no
    nat=yes
    host=192.168.1.200
    canreinvite=no
    disallow=all
    allow=ulaw
    

    Route the calls to the gateway. In /etc/asterisk/extensions.conf context where your calls are being handled, forward the calls to the gateway. Here, when someone dials 85001, the call is sent to the fs-gw defined above.

    exten => 85001,1,Dial(SIP/fs-gw/${EXTEN})
    exten => 85001,2,Hangup
    

    Changes to your BigBlueButton/FreeSWITCH server

    In BigBlueButton/FreeSWITCH, make the following changes:

    Lock down so that only Asterisk can forward calls to FreeSWITCH. In /opt/freeswitch/conf/autoload_configs/acl.conf.xml, add the following ACL. We also need to allow BigBlueButton to call into FreeSWITCH, that’s why we add the IP of BigBlueButton/FreeSWITCH into the ACL.

        <list name="asterisk-gw" default="deny">
           <node type="allow" cidr="192.168.1.200/32"/>
           <node type="allow" cidr="192.168.1.100/32"/>
           <node type="allow" cidr="127.0.0.1/32"/>
        </list>
    

    Then we apply the ACL into the profile that receives the calls from external gateways. In /opt/freeswitch/conf/sip_profiles/external.xml, add the ACL under <settings>

      <settings>
        <!-- Apply ACL from asterisk-gw -->
        <param name="apply-inbound-acl" value="asterisk-gw"/>
    ...
    </settings>
    

    To debug, try connecting to FS CLI and increase logging level. Once connected, make your call and see what the logs say.

    $ /opt/freeswitch/bin/fs_cli -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml)
    
      Once connected:
      help -- shows the available commands
      console loglevel <level> -- change log level
    
      Ctrl-D to exit
    

    FreeSWITCH fails to bind to port 8021

    FreeSWITCH supports both IPV4 and IPV6. However, if your server does not support IPV6, FreeSWITCH will be unable to bind to port 8021. If you run sudo bbb-conf --check and see the following error

    # Error: Found text in freeswitch.log:
    #
    #    Thread ended for mod_event_socket
    #
    # FreeSWITCH may not be responding to requests on port 8021 (event socket layer)
    # and users may have errors joining audio.
    #
    

    it might be that your server has IPV6 disabled (or does not support it). You can check this by running the following command

    $ sudo ip addr | grep inet6
    inet6 ::1/128 scope host
    ...
    

    If you do not see the line inet6 ::1/128 scope host, then your server has IPV6 disabled. In this case, we need to disable FreeSWITCH’s support for IPV6. First, edit /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml and change the line

        <param name="listen-ip" value="::"/>
    

    to

        <param name="listen-ip" value="127.0.0.1"/>
    

    This tells FreeSWITCH that instead of binding port 8021 to the local IPV6 address, bind to the IPV4 address 127.0.0.1. Next, execute the following two commands

    $ sudo mv /opt/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml /opt/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml_
    $ sudo mv /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml_
    

    and then restart BigBlueButton with the commands

    $ sudo bbb-conf --clean
    $ sudo bbb-conf --check
    

    FreeSWITCH fails to start with a SETSCHEDULER error

    When running in a container (like a chroot, OpenVZ or LXC), it might not be possible for FreeSWITCH to set its CPU priority to real-time round robin. If not, it will result in lower performance compared to a non-virtualized installation.

    If you running BigBlueButton in a container and an error starting FreeSWITCH, try running systemctl status freeswitch.service and see if you see the error related to SETSCHEDULER

    $ systemctl status freeswitch.service
    ● freeswitch.service - freeswitch
       Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
       Active: inactive (dead) (Result: exit-code) since Mon 2017-10-02 16:17:29 UTC; 18s ago
      Process: 10967 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=214/SETSCHEDULER)
     Main PID: 3327 (code=exited, status=0/SUCCESS)
    
    Oct 02 16:17:29 scw-9e2305 systemd[1]: Failed to start freeswitch.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Unit entered failed state.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Failed with result 'exit-code'.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: Stopped freeswitch.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Start request repeated too quickly.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: Failed to start freeswitch.
    

    If you see SETSCHEDULER in the error message, edit /lib/systemd/system/freeswitch.service and comment out the line containing CPUSchedulingPolicy=rr (round robin)

    IOSchedulingPriority=2
    #CPUSchedulingPolicy=rr
    CPUSchedulingPriority=89
    

    Save the file, run systemctl daemon-reload, and then restart BigBlueButton. FreeSWITCH should now startup without error.

    Users not able to join Listen Only mode

    When doing sudo bbb-conf --check, you may see the warning

    voice Application failed to register with sip server
    

    This error occurs when bbb-apps-sip isn’t able to make a SIP call to FreeSWITCH. You’ll see this in BigBlueButton when users click the headset icon and don’t join the voice conference.

    One possible cause for this is you have just installed BigBlueButton, but not restarted it. The packages do not start up the BigBlueButton components in the right order. To restart BigBlueButton, do the following:

    $ sudo bbb-conf --restart
    $ sudo bbb-conf --check
    

    If you don’t want FreeSWITCH to bind to 127.0.0.1, you need to figure out which IP address its using. First, determine the IP address FreeSWITCH is monitoring for incoming SIP calls with the following command:

    $ netstat -ant | grep 5060
    

    You should see an output such as

    tcp        0      0 234.147.116.3:5060    0.0.0.0:*               LISTEN
    

    In this example, FreeSWITCH is listening on IP address 234.147.116.3. The IP address on your server will be different.

    Next, edit /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties and set the value for sip.server.host to the IP address returned from the above command. Save the changes (you’ll need to edit the file as root to save changes).

    Restart BigBlueButton using the commands and run the built-in diagnostics checks.

    $ sudo bbb-conf --clean
    $ sudo bbb-conf --check
    

    Unable to connect using fs_cli

    As of BigBlueButton 2.2.18, the packaging now replaces the default ClueCon password for connecting to the FreeSWITCH command line interface (fs_cli) with a random password.

    (By default, FreeSWITCH only allowed unauthenticated connections from 127.0.0.1, but it’s still good security practice to not use default passwords).

    To connect to fs_cli, use the following command which supplies the password for authenticating.

    /opt/freeswitch/bin/fs_cli -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml)
    

    We also added /usr/local/bin/fs_clibbb with the contents

    #!/bin/bash
    
    /opt/freeswitch/bin/fs_cli -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml)
    

    that will let you type fs_clibbb at the command prompt to get into FreeSWITCH console.

    Echo test hangs upgrading BigBlueButton 2.2

    The install scripts now change the default CLI password for FreeSWITCH and the other parts of BigBlueButton need to use this new password. For a new installation, the install scripts will automatically set this new password.

    If you upgrade using bbb-install.sh, the script will update the FreeSWITCH password using sudo bbb-conf --setip <hostname>.

    If you upgraded using manual steps, be sure to do ao sudo bbb-conf --setip <hostname> to sync all the FreeSWITCH passwords.

    FreeSWITCH using default stun server

    For many years, in BigBlueButton’s FreeSWITCH configuration file /opt/freeswitch/etc/freeswitch/vars.xml, the default value for external_rtp_ip was stun.freeswitch.org

      <X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:stun.freeswitch.org"/>
    

    However, this is not a reliable choice for stun server. Recommend either changing it to your servers external IP address or setup your own stun/turn server. For example, if your server has an external IP at 234.32.3.3

      <X-PRE-PROCESS cmd="set" data="external_rtp_ip=234.32.3.3"/>
    

    You can add a line in /etc/bigbluebutton/bbb-conf/apply-conf.sh to always apply this value even if the FreeSWITCH package upgrades.

    xmlstarlet edit --inplace --update '//X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_rtp_ip=")]/@data' --value "external_rtp_ip=234.32.3.3" /opt/freeswitch/conf/vars.xml
    

    Note: If your server has an internal/exteral IP address, such as on AWS EC2 server, be sure to set it to the external IP address configure a dummy network interface card (see Update FreeSWITCH).

    HTML5 Server

    bbb-html5 fails to start with a SETSCHEDULER error

    As of 2.2.31, the systemd unit file for bbb-html5.service now contains the following lines

    CPUSchedulingPolicy=fifo
    Nice=19
    

    You can override this with creating the following directory

    mkdir /etc/systemd/system/bbb-html5.service.d
    

    and creating /etc/systemd/system/bbb-html5.service.d/override.conf with the following contents

    [Service]
    CPUSchedulingPolicy=other
    Nice=-10
    

    Then do systemctl daemon-reload and restart BigBlueButton.

    Installation and packages

    The following packages have unmet dependencies

    When installing the latest build of BigBlueButton, the package bbb-conf now uses yq to manage YAML files.

    You need to add the repository ppa:rmescandon/yq to your server. For steps on how to do this, see Update your server in the BigBlueButton 2.2 install guide.

    Alternatively, if you have not made any customizations to BigBlueButton (outside of using bbb-conf), you can use bbb-install.sh to install/upgrade to the latest version (the bbb-install.sh script will automatically install the repository for yq).

    No Symbolic Link

    If you’ve installed/uninstalled BigBlueButton packages, you may get a No Symbolic Link warning from bbb-conf --check:

    ** Potential Problems **
        nginx (conf): no symbolic link in /etc/nginx/sites-enabled for bigbluebutton
    

    To solve this, add a symbolic link to nginx for the BigBlueButton site:

    $ sudo ln -s /etc/nginx/sites-available/bigbluebutton /etc/nginx/sites-enabled/bigbluebutton
    $ sudo /etc/init.d/nginx restart
    

    Package install fails with sed error

    Some of the BigBlueButton packages use sed scripts to extract contents from configuration files. If the file does not exist at the time of the script’s execution, or the sed script matches multiple entries in a file (such as when a configuration line is commented out), you can see an error such as

    Setting up bbb-client (1:2.0.0-374) ...
    sed: -e expression #1, char 42: unterminated `s' command
    dpkg: error processing package bbb-client (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of bbb-config:
     bbb-config depends on bbb-client; however:
      Package bbb-client is not configured yet.
    
    dpkg: error processing package bbb-config (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     bbb-client
     bbb-config
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

    In the above example, the /var/lib/dpkg/info/bbb-client.postinst failed to finish. To debug, edit this file and change the first line to read

    and run

    $ sudo apt-get install -f
    

    You should now see each command in bbb-conf.postinst as it executes upto the line in which the error occurs. Post this output to https://groups.google.com/forum/#!forum/bigbluebutton-setup for help in resolving the issue.

    Errors with packages

    Some hosting providers do not provide a complete /etc/apt/source.list. If you are finding your are unable to install a package, try replacing your /etc/apt/sources.list with the following

    deb https://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
    deb https://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
    deb https://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
    

    then do

    and try installing BigBlueButton again from the beginning.

    WebRTC errors (1001, 1002,…)

    WebRTC offers very high-quality audio. However, the user’s network settings (or firewall) may not allow WebRTC to connect (or keep connected).

    Here are the following lists the possible WebRTC error messages that a user may encounter:

    • 1001: WebSocket disconnected — The WebSocket had connected successfully and has now disconnected. Possible Causes:
      • Loss of internet connection
      • Nginx restarting can cause this
    • 1002: Could not make a WebSocket connection — The initial WebSocket connection was unsuccessful. Possible Causes:
      • Firewall blocking ws protocol
      • Server is down or improperly configured
      • See potential solution here.
    • 1003: Browser version not supported — Browser doesn’t implement the necessary WebRTC API methods. Possible Causes:
      • Out of date browser
    • 1004: Failure on call — The call was attempted, but failed. Possible Causes:
      • For a full list of causes refer here
      • There are 24 different causes so I don’t really want to list all of them
      • Solution for this issue outlined here.
    • 1005: Call ended unexpectedly — The call was successful, but ended without user requesting to end the session. Possible Causes:
      • Unknown
    • 1006: Call timed out — The library took too long to try and connect the call. Possible Causes:
      • Previously caused by Firefox 33-beta on Mac. We’ve been unable to reproduce since release of FireFox 34
    • 1007: ICE negotiation failed — The browser and FreeSWITCH try to negotiate ports to use to stream the media and that negotiation failed. Possible Causes:
      • NAT is blocking the connection
      • Firewall is blocking the UDP connection/ports
    • 1008: Call transfer failed — A timeout while waiting for FreeSWITCH to transfer from the echo test to the real conference. This might be caused by a misconfiguration in FreeSWITCH, or there might be a media error and the DTMF command to transfer didn’t go through (In this case, the voice in the echo test probably didn’t work either.)
    • 1009: Could not fetch STUN/TURN server information — This indicates either a BigBlueButton bug (or you’re using an unsupported new client/old server combination), but could also happen due to a network interruption.
    • 1010: ICE negotiation timeout — After the call is accepted the client’s browser and the server try and negotiate a path for the audio data. In some network setups this negotiation takes an abnormally long time to fail and this timeout is set to avoid the client getting stuck.
    • 1020: Media cloud could not reach the server — See how to solve this here.

    Networking

    Server running behind NAT

    The following issue might be helpful in debugging if you run into errors and your server is behind NAT.

    Could not get your microphone for a WebRTC call

    Chrome requires (As of Chrome 47) that to access the user’s microphone for WebRTC your site must be serving pages via HTTPS (that is, nginx is configured with a SSL certificate).

    If the user attempts to share their microphone and your BigBlueButton sever is not configured for SSL, Chrome will block access and BigBlueButton will report the following error

    WebRTC Audio Failure: Detected the following WebRTC issue: Could not get your microphone for a WebRTC call. Do you want to try flash instead?

    To enable Chrome to access the user’s microphone, see Configure HTTPS on BigBlueButton.

    The browser is not supported

    When you attempt to join a BigBlueButton session, the client looks for supported browsers before fully loading. The client gets its list of supported browsers from /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml. You can see the list of supported browsers at the bottom. For example,

    - browser: mobileSafari
      version:
        - 11
        - 1
    

    states that Mobile Safari version 11.1 or later is supported (notice the first letter is lower case and concatenated with the remainder of the browser name).

    To add a browser to the list, first find your browser’s useragent. You could use a tool like https://wtools.io/check-my-user-agent as well. For example, with the Vivaldi browser you might see

    Vivaldi 2.8.1664 / Linux 0.0.0
    

    Next, to add this as a supported browser, append to settings.yml

    - browser: vivaldi
      version:
        - 2
        - 8
    

    save the updated settings.yml file, and then restart your BigBlueButton server with sudo bbb-conf --restart. Note any browser you add must support WebRTC libraries (not all do), so be sure to check it first with https://test.webrtc.org/.

    Tomcat shows “Cannot assign requested address on startup”

    If your server has multiple IP addresses, Tomcat might not pick the right address to bind. This could throw an error on installation when tomcat is attempting to install.

    Check /var/log/tomcat7/catalina.out for the following error

    Jan 30, 2018 9:17:37 AM org.apache.catalina.core.StandardServer await
    SEVERE: StandardServer.await: create[localhost:8005]:
    java.net.BindException: Cannot assign requested address (Bind failed)
     at java.net.PlainSocketImpl.socketBind(Native Method)
    

    If you see this, first ensure that there isn’t another copy of tomcat running by doing ps -aef | grep tomcat7. If you do see another copy running, try killing it and then restarting tomcat.

    If you still see the same error in catalina.out, then /etc/tomcat7/server.xml and change

    <Server port="8005" shutdown="SHUTDOWN">
    
    <Server address="0.0.0.0" port="8005" shutdown="SHUTDOWN">
    

    Restart tomcat7 again and it should start normally.

    nginx not running

    The common reasons for nginx not running are inability to bind to port 80 and configuration errors. To check if port 80 is already in use, use

    to see if any process is currently bound to port 80. If so, check to see if another web server is installed. If so, then stop the web server and try to restart nginx. One of the server requirements before you install BigBlueButton is that port 80 is not in use by another application (such as Apache). For details on why this is a requirements, see We recommend running BigBlueButton on port 80.

    If port 80 is free, check if your nginx configuration file has errors. Try a restart of nginx

    $ sudo systemctl restart nginx
    

    and look for the output of

       [ OK ]
    

    If you see [ Fail ], then your nginx configuration files might have a syntax error. Check the syntax of the nginx configuration files using the command

    and see if it reports any errors. You can also check the error.log file for nginx to see what errors it gives on startup

    $ sudo cat /var/log/nginx/error.log
    

    “Welcome to nginx”

    During installation of BigBlueButton the packaging scripts attempt to assign the correct IP address during setup. However, if the IP address changes (such as when rebooting a VM), or the first IP address was not the correct IP address for the server, you may see a “Welcome to nginx” page.

    To reconfigure the BigBlueButton to use the correct IP address or hostname, see BigBlueButton does not load.

    bbb-web

    404 Error when loading the client

    BigBlueButton 2.2 requires Java 8 as the default Java. Recently, some Ubuntu 16.04 distributions have switched the default version of Java to Java 9 (or later).

    Use java -version to check that the default version of 1.8.0.

    ~/dev$ java -version
    openjdk version "1.8.0_242"
    OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~16.04-b08)
    OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
    

    If not, do the following

    sudo apt-get install openjdk-8-jre
    update-alternatives --config java  # Choose java-8 as default
    

    Run java -version and confirm it now shows the default as 1.8.0, and then restart BigBlueButton with sudo bbb-conf --restart

    Blank presentation area on create or upload

    If you join a meeting and the default presentation is not visible or your uploaded presentation doesn’t display, then this is most likely due to a permissions error. To solve this, ensure that /var/bigbluebutton/ is owned by bigbluebutton rather than root or any other account. See this issue for more explanation.

    Unable to create presentation

    If you see the following error in /var/log/bigbluebutton/bbb-web.log

      failed to map segment from shared object: Operation not permitted
    

    use the command mount to check that the /tmp director does not have noexec permissions (which would prevent executables from running in the /tmp directory). If you see noexec for /tmp, you need to remount the directory with permissions that enable processes (such as the slide conversion) to execute in the /tmp directory.

    Too many open files

    On servers with greater than 8 CPU cores, bbb-web log (/var/log/bigbluebutton/bbb-web.log) may throw an error of Too many open files

    Caused by: java.io.IOException: Too many open files
    

    To resolve, create an override file that increases the number of open files for bbb-web

    $  sudo mkdir -p /etc/systemd/system/bbb-web.service.d/
    $  sudo cat > /etc/systemd/system/bbb-web.service.d/override.conf << HERE
    [Service]
    LimitNOFILE=
    LimitNOFILE=8192
    HERE
    $  sudo systemctl daemon-reload
    

    bbb-web takes a long time to startup

    bbb-web relies on the SecureRandom class (which uses available entropy) to provide random values for its session IDs. On a virtualized server, however, the available entropy can run low and cause bbb-web to block for a long period before it finishes it’s startup sequence (see Slow startup of tomcat).

    To provide bbb-web with more entropy, you can install haveged

    $ sudo apt-get install haveged
    

    For more information see How to Setup Additional Entropy for Cloud Servers Using Haveged.

    Error installing bbb-web

    If you get the following error during upgrade to BigBlueButton

    Unpacking bbb-web (1:2.2.0-67) over (1:2.2.0-66) ...
    dpkg: error processing archive /var/cache/apt/archives/bbb-web_1%3a2.2.0-67_amd64.deb (--unpack):
     trying to overwrite '/etc/bigbluebutton/nginx/web', which is also in package bbb-client 1:2.2.0-28
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/bbb-web_1%3a2.2.0-67_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)```
    

    Then first uninstall bbb-client

    $ sudo apt-get purge bbb-client
    

    and try installing BigBlueButton again.

    Other errors

    Root partition too small

    If the root partition on your BigBlueButton server is too small (for disk space requirements see Before you install), we recommend moving the following directories to an external partition with sufficient disk space.

    BigBlueButton processing and storage of recordings:

    Location of all media directories on disk available here.

    To make the move, we’ll first stop BigBlueButton, then move the above directories to a new location on the external partition, create symbolic links from the original locations to the new locations, and restart BigBlueButton.

    In the following example, the external partition is mounted on /mnt.

    $ sudo bbb-conf --stop
    
    $ sudo mv /var/freeswitch/meetings /mnt
    $ sudo ln -s /mnt/recordings /var/freeswitch/meetings
    
    $ sudo mv /usr/share/red5/webapps/video/streams /mnt
    $ sudo ln -s /mnt/streams /usr/share/red5/webapps/video/streams
    
    $ sudo /var/bigbluebutton /mnt
    $ sudo ln -s /mnt/bigbluebutton /var/bigbluebutton
    
    $ sudo bbb-conf --start
    

    BigBlueButton does not load

    If your has changed it’s network connection (such as on reboot), you can clean most of BigBlueButton’s configuration files with the following steps.

    $ sudo bbb-conf --setip <ip_address_or_hostname>
    
    $ sudo bbb-conf --clean
    $ sudo bbb-conf --check
    

    For more information see bbb-conf options.

    Running within an LXD Container

    LXD is a very powerful container system for Ubuntu lets you run full Ubuntu 16.04 servers within a container. Because you can easily clone and snapshot LXD containers, they are ideal for development and testing of BigBlueButton.

    However, if you install BigBlueButton within an LXD container, you will get the following error from sudo bbb-conf --check

    ** Potential problems described below **
    
    #
    # Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
    

    You’ll also get an error from starting FreeSWITCH with bbb-conf --restart. When you try systemctl status freeswitch.service, you’ll see an error with SETSCHEDULER.

    $ sudo systemctl status freeswitch.service
    ● freeswitch.service - freeswitch
       Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
       Active: inactive (dead) (Result: exit-code) since Wed 2017-04-26 16:34:24 UTC; 23h ago
      Process: 7038 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=214/SETSCHEDULER)
    
    Apr 26 16:34:24 big systemd[1]: Failed to start freeswitch.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Unit entered failed state.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Failed with result 'exit-code'.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart.
    Apr 26 16:34:24 big systemd[1]: Stopped freeswitch.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Start request repeated too quickly.
    Apr 26 16:34:24 big systemd[1]: Failed to start freeswitch.
    

    This error occurs because the default systemd unit script for FreeSWITCH tries to run with permissions not available to the LXD container. To run FreeSWITCH within an LXD container, edit /lib/systemd/system/freeswitch.service and replace with the following

    [Unit]
    Description=freeswitch
    After=syslog.target network.target local-fs.target
    
    [Service]
    Type=forking
    PIDFile=/opt/freeswitch/var/run/freeswitch/freeswitch.pid
    Environment="DAEMON_OPTS=-nonat"
    EnvironmentFile=-/etc/default/freeswitch
    ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS
    TimeoutSec=45s
    Restart=always
    WorkingDirectory=/opt/freeswitch
    User=freeswitch
    Group=daemon
    
    [Install]
    WantedBy=multi-user.target
    

    Then enter the following commands to load the new unit file and restart BigBlueButton.

    $ sudo systemctl daemon-reload
    $ sudo bbb-conf --restart
    

    You can run BigBlueButton within a LXD container.

    Unable to connect to redis

    The packages bbb-apps-akka, bbb-fsesl-akka, and bbb-transcode-akka are packaged by sbt, but they need to have redis-server running before they startup. If sudo bbb-conf --debug shows redis connection errors

    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: Exception in thread "main" io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78)
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56)
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: Caused by: java.net.ConnectException: Connection refused
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: Exception in thread "main" io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78)
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56)
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: Caused by: java.net.ConnectException: Connection refused
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: Exception in thread "main" io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78)
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56)
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: Caused by: java.net.ConnectException: Connection refused
    

    you can add overrides for these three packages to ensure they start after redis.server. Run the following script.

    #!/bin/bash
    
    mkdir -p /etc/systemd/system/bbb-apps-akka.service.d
    cat > /etc/systemd/system/bbb-apps-akka.service.d/override.conf <<HERE
    [Unit]
    Requires=redis-server.service
    After=redis-server.service
    HERE
    
    mkdir -p /etc/systemd/system/bbb-fsesl-akka.service.d
    cat > /etc/systemd/system/bbb-fsesl-akka.service.d/override.conf <<HERE
    [Unit]
    Requires=redis-server.service
    After=redis-server.service
    HERE
    
    
    mkdir -p /etc/systemd/system/bbb-transcode-akka.service.d
    cat > /etc/systemd/system/bbb-transcode-akka.service.d/override.conf <<HERE
    [Unit]
    Requires=redis-server.service
    After=redis-server.service
    HERE
    

    The script bbb-install now creates these overrides by default.

    500 Internal Server Error

    It is most likely an error on GreenLight. Check the log file according to Troubleshooting Greenlight.

    If this error occurrs on just a small number of PCs accessing a BigBlueButton server within a LAN through a proxy server and you find the description “Error::Unsafe Host Error (x.x.x.x is not a safe host)” (where x.x.x.x is an IP address) in the log file, check if the “Don’t use the proxy server for local (intranet) addresses” (in the Windows proxy setting) is ticked.

    Legacy errors

    Conference not found errors

    The command sudo bbb-conf --debug searches through the red5, tomcat7, and nginx logs looking for errors and exceptions. However, the messages such as

        -- ERRORS found in /usr/share/red5/log/* --
    /usr/share/red5/log/bigbluebutton.log:2015-05-02 13:50:37,681-04:00 [pool-17-thread-1] ERROR o.b.w.v.f.a.PopulateRoomCommand - Not XML: [Conference 78505 not found]
    

    are innocuous and can be ignored.

    TOOTAi

    unread,

    Dec 13, 2021, 6:59:17 PM12/13/21

    to BigBlueButton-Setup

    Hi all,

    we face above error (sometimes ICE error 1006) on our bbb which is running in a VM. DNSs are OK and send public ipv4 as well as public ipv6. The bbb is running on local ip 10.0.70.15.

    Problem is that Freeswitch doesn’t listen on 10.0.70.15 port 5060, only on the VM ipv6. We adapt the sip.nginx to
    proxy_pass https://$freeswitch_addr:7443;
    $freeswitch_addr having the internal IP and the external ipv6, no changes. The public ipv4 port 7443 on the host is redirected to 10.0.70.15 port 7443.

    In Freeswitch log there is

    FreeSWITCH Started
    Max Sessions [1000]
    Session Rate [30]
    SQL [Enabled]
    2021-12-13 16:27:37.847872 99.87% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external (sip:mod_sofia@[2001:db8::1]:5060;maddr=10.0.70.15;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
    2021-12-13 16:27:42.847674 99.57% [ERR] sofia.c:3296 Error Creating SIP UA for profile: external (sip:mod_sofia@[2001:db8::1]:5060;maddr=10.0.70.15;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
    2021-12-13 16:27:42.847674 99.57% [ERR] sofia.c:3307 Error Creating SIP UA for profile: external (sip:mod_sofia@[2001:db8::1]:5060;maddr=10.0.70.15;transport=udp,tcp)
    The likely causes for this are:
    1) Another application is already listening on the specified address.
    2) The IP the profile is attempting to bind to is not local to this system.
    2021-12-13 16:30:37.467671 93.63% [WARNING] mod_event_socket.c:2676 IP 2001:db8::1 Rejected by acl «loopback.auto»

    What’s the problem ?

    Daniel

    Militades Sunfire

    unread,

    Dec 13, 2021, 10:02:02 PM12/13/21

    to bigbluebu…@googlegroups.com

    if you’re actually on 2.3.0 you should
    update to latest (2.3.16)

    Fred Dixon

    unread,

    Dec 13, 2021, 10:46:10 PM12/13/21

    to BigBlueButton-.

    Yes, do update to the latest release of 2.3.x (or if you wait just a bit longer you can have the new 2.4 release coming soon).

    Let us know if you still encounter the issue after upgrading.

    Regards,.. Fred

    BigBlueButton Developer

    Like BigBlueButton?  Tweet us at @bigbluebutton

    TOOTAi

    unread,

    Dec 14, 2021, 12:11:39 PM12/14/21

    to BigBlueButton-Setup

    Hi, the version I have is from Ubuntu 18.04 with following entries:

    does it mean that those version are never upgraded ?

    Daniel

    TOOTAi

    unread,

    Dec 14, 2021, 4:47:23 PM12/14/21

    to BigBlueButton-Setup

    I downloaded latest bbb-install.sh script and ran

    # bash bbb-install.sh -v bionic-23 -s <FQDN>

    Now I get error 1002 or call timeout error 1006 on a chromebook and error 1004 on a Windows client running FF

    Strange is that 2.3.16 is shown by bbb-conf but packages are still 2.3.0

    dh@Hostname ~ $ sudo bbb-conf —version                                                                                                              [18/1309]

                                                                                                                                                                  BigBlueButton Server 2.3.16 (2521)                                                                                                                            

                                                                                                                                                                  ii  bbb-apps-akka                          2.3.0-108                                       all          BigBlueButton Apps (Akka)                            
    ii  bbb-config                             1:2.3.0-100                                     amd64        BigBlueButton configuration utilities                
    ii  bbb-etherpad                           1:2.3.0-52                                      amd64        The EtherPad Lite components for BigBlueButton        
    ii  bbb-freeswitch-core                    2:2.3.0-32                                      amd64        BigBlueButton build of FreeSWITCH                    
    ii  bbb-freeswitch-sounds                  1:1.6.7-3                                       amd64        FreeSWITCH Sounds                                    
    ii  bbb-fsesl-akka                         2.3.0-59                                        all          BigBlueButton FS-ESL (Akka)                          
    ii  bbb-html5                              1:2.3.0-1864                                    amd64        The HTML5 components for BigBlueButton
    ii  bbb-libreoffice-docker                 1:2.3.0-60                                      amd64        BigBlueButton setup for LibreOffice running in docker
    ii  bbb-mkclean                            1:0.8.7-4                                       amd64        Clean and optimize Matroska and WebM files
    ii  bbb-playback                           1:2.3.0-23                                      amd64        BigBlueButton playback                            
    ii  bbb-playback-presentation              1:2.3.0-13                                      amd64        BigBluebutton playback of presentation            
    ii  bbb-record-core                        1:2.3.0-38                                      amd64        BigBlueButton record and playback                    
    ii  bbb-web                                1:2.3.0-103                                     amd64        BigBlueButton API
    ii  bbb-webrtc-sfu                         1:2.3.0-44                                      amd64        BigBlueButton WebRTC SFU                              
    ii  bigbluebutton                          1:2.3.0-7                                       amd64        Open source web conferencing platform (bbb)

    Thanks for any hint

    Daniel

    TOOTAi

    unread,

    Dec 14, 2021, 5:35:32 PM12/14/21

    to BigBlueButton-Setup

    I discover in Freeswitch logs — remember, client is ipv4-

    [INFO]
    sofia.c:10462
    sofia/external-ipv6/w_idppgcihoa05_7-bbbID-e7440@<FQDN> receiving
    invite from 2001:2d8::1:40840 version: 1.10.7

    [….]

    [NOTICE]
    switch_channel.c:3993 Hangup
    sofia/external-ipv6/w_idppgcihoa05_7-bbbID-e7440@<FQDN>[CS_EXECUTE] [INCOMPATIBLE_DESTINATION]

    where 2001:db8::1 is bbb ipv6 address

    I changed in bbb sip.nginx to

    proxy_pass https://<FQDN>:7443;

    insteed of
    proxy_pass https://$freeswitch_addr:7443;

    Same result.

    Fred Dixon

    unread,

    Dec 15, 2021, 6:24:14 AM12/15/21

    to BigBlueButton-.

    Hi there,

    > Now I get error 1002 or call timeout error 1006 on a chromebook and error 1004 on a Windows client running FF

    Does it fail for you in all browsers?

    See

    The lower the error code, the earlier the connection for audio fails.  For 1002, it means that the client was unable to make a web socket connection to negotiate the media stream.

    > I changed in bbb sip.nginx to

    > proxy_pass https://<FQDN>:7443;

    Hmm … it shouldn’t be https.  You should have 

     proxy_pass http://<IP>:5066;

    Are you letting bbb-install.sh setup the Let’s Encrypt certificate?  In other words, are you passing the -s and -e parameters

    If not, you are missing some configuration for sip.nginx, see

    Is it possible for you to run bbb-install.sh with the -s and -e parameters as well?

    Regards,… Fred

    > Strange is that 2.3.16 is shown by bbb-conf but packages are still 2.3.0

    Yes, the packages are only updated based on their build, such as 2.3.0-44.  

    TOOTAi

    unread,

    Dec 15, 2021, 12:58:08 PM12/15/21

    to BigBlueButton-Setup

    Hi Fred. As the server is already up and running, this is what I did:

    I don’t use the -e as I use LetsEncrypt DNS challenge and all is good. I modify

    proxy_pass http://$freeswitch_addr:5066;

    and get always error 1006 timeout. I tested also with brave navigator under windows, same result.

    I then decide to follow the entire command you gave except the -e which ended with (appart of the warning of bbb-demo)

    # Warning: You have this server defined for https, but in
    #
    #   /etc/bigbluebutton/nginx/sip.nginx
    #
    #  did not find the use of https in definition for proxy_pass
    #
    #            proxy_pass http://$freeswitch_addr:5066;
    #

    # Warning: You have this server defined for https, but in
    #
    #   /etc/bigbluebutton/nginx/sip.nginx
    #
    #  did not find the use of port 7443 in definition for proxy_pass
    #
    #            proxy_pass http://$freeswitch_addr:5066;

    59f360c0-807c-456f-99fe-6649a2651f02 2021-12-15 10:28:03.501694 93.83% [NOTICE] switch_channel.c:3993 Hangup sofia/external-ipv6/w_zkuwasaifx8z…@meetings.tootai.net [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]

    I also tried with proxy_pass http://$freeswitch_addr:7443; same error 1004 with [INCOMPATIBLE DESTINATION]

    Finally I decide to create dummy interface with external IP as alias to lo and put

    proxy_pass https://<external IP>:7443 and that worked, ipv4 as well as for ipv6 !

    Why putting the host FQDN in proxy_pass does not do the job ?

    Daniel

    TOOTAi

    unread,

    Dec 15, 2021, 2:17:55 PM12/15/21

    to BigBlueButton-Setup

    Another one: it works with Linux and Windows (tested FF and Brave) but not with ChromeOS nor Chrome

    Fred Dixon

    unread,

    Dec 15, 2021, 3:50:32 PM12/15/21

    to BigBlueButton-.

    Hi,

    > Finally I decide to create dummy interface with external IP as alias to lo and put
    > proxy_pass https://<external IP>:7443 and that worked, ipv4 as well as for ipv6 !

    > Why putting the host FQDN in proxy_pass does not do the job ?

    You may have an entry in the /etc/hosts file that is mapping the FQDN on your server to the wrong IP address.  

    > Another one: it works with Linux and Windows (tested FF and Brave) but not with ChromeOS nor Chrome

    Are you able to connect to 

    and

    with Chrome?

    Regards,… Fred

    TOOTAi

    unread,

    Dec 16, 2021, 12:22:23 PM12/16/21

    to BigBlueButton-Setup

    If it matter, host is running Debian 11, bbb is an Ubuntu 18.04. No entry in /etc/hosts for the FQDN, still mystery why DNS is not used.

    Concerning chrome, same error 1006 with https://demo.bigbluebutton.org/. I tried on Linux, Mac and Windows: FF, Brave, Safari are all connecting smoothly, Chrome getting error 1006, at least on Linux and Windows.

    Daniel

    TOOTAi

    unread,

    Dec 16, 2021, 1:43:00 PM12/16/21

    to BigBlueButton-Setup

    I restarted all my tests on 4 machines: ChromeOS, Linux, Mac and Windows. I confirm that navigators based on Chrome give error 1006 or 1004, Microsoft Edge included. On the ChromeOS laptop, FF from Android is working well as the native Chrome does’nt ! Safari and Brave are OK on all platforms where they exist.

    TOOTAi

    unread,

    Dec 28, 2021, 5:42:41 PM12/28/21

    to BigBlueButton-Setup

    Понравилась статья? Поделить с друзьями:
  • Bb error rom image layout detected romhole is redesigned
  • Baxi ошибки список
  • Baxi ошибка е98 на котле как исправить
  • Baxi ошибка е30
  • Baxi ошибка е27 как исправить