Comments
Describe the bug
Sometimes user gets 1004 Error when connecting with microphone. Most of times, when trying to connect again, the error doesn’t appear. This seems to be related with some network conditions (location, latency) and the availability plus response-time of the STUN server.
In most of cases, changing the default stun server fixes this problem.
Some info here: https://groups.google.com/g/bigbluebutton-setup/c/oeVMDvkc_g4/m/s117x6deBAAJ
To Reproduce
Steps to reproduce the behavior:
- Join with microphone a couple of times
- Sometimes you get 1004 (especially if you don’t use a different STUN server from bbb’s default)
- If you try joining again (one or a couple of times again) you will sucessfully connect to audio
Expected behavior
Users should not get 1004 Error
Actual behavior
User gets 1004 Error
Additional context
1004 happens when audio session terminates and ICE connection is not established. In most of cases, FreeSWITCH rejects the call because it is not able to find ICE candidates in SDP.
We currently have a 5s timeout to let RTCPeer collect all possible ICE candidates, which appears to be too low for some networks (sometimes the browser’s SDP is sent without candidates)
Hi, get the same error when i try to make a webhook videocall from rocketchat with BBB.
Hi, get the same error when i try to make a webhook videocall from rocketchat with BBB.
![]()
after serveral hours of trial and error: the error occurs only with the rocketchat app (MAC/WIN), it works with Firefox latest version. There is no mobile device option for BBB calls in IOS nor Android. Don’t use the apps to config and try server/webhook settings.
Do those issues still happen for you when using BBB 2.2.31 or 2.3-beat5?
Do those issues still happen for you when using BBB 2.2.31 or 2.3-beat5?
Hi, BBB 2.2.31 is installed due to the test.
BigBlueButton Server 2.2.31 (2326)
Kernel version: 4.4.0-194-generic
Distribution: Ubuntu 16.04.7 LTS (64-bit)
Memory: 65976 MB
CPU cores: 10
Hi, get the same error when i try to make a webhook videocall from rocketchat with BBB.
![]()
I have the same error but with a moodle integration
can you reproduce the problem at demo.bigbluebutton.org ? If not, this is most likely just a setup / configuration problem. Make sure you are running BBB with your own STUN+TURN server and that this server is set up on an additional VM/server as described here: https://docs.bigbluebutton.org/2.2/setup-turn-server.html
I’m also getting the same error if I try to connect to a conference.
I’m getting it regardless whether I try with mic or just listen.
Other people can connect to the server.
My specs:
OS: Gentoo Linux
CPU: AMD Ryzen 4800H
RAM: 16GiB + 32GiB swap
Kernel: 5.11 (custom)
got the same error but «fixed» it by switching from ipv4+ipv6 to ipv4 only on my computer/client (possibly because the other participants in the room may only ipv4 capable and can thus not connect to my ipv6 address)
I have simliar problems when using TURN. Seems to be somehow related to IPv6 scenarios. I have it when I sit behind an ds lite connection.
Hi Lars, do you encounter the same issue when using https://test.bigbluebutton.org/?
Hi Fred, I don’t. test.bigbluebutton.org works perfectly fine. But I’ll noticed that it only has IPv4 connection? So disabling v6 could be a workaround?
Hi,
I got this error when I join the meeting via browser or Android application.
Failure on call(reason=ICE error) (error 1004)
Hi,
After testing (https://test.bigbluebutton.org/) some mobile devices audio working properly but some has same issue.(Failure on call(reason=ICE error) (error 1004))
please let me know what is the solution?
Hi,
After testing (https://test.bigbluebutton.org/) some mobile devices audio working properly but some has same issue.(Failure on call(reason=ICE error) (error 1004))
please let me know what is the solution?
This could be related to #13008
One of the plugins installed on your web browser may be causing this problem.
test in incognito window.
any updates on this issues ?
In our case it was an obscure problem with the TURN server (bridge misconfiguration).
hi all
In a Windows 10 machine with BBB 23 and 2,2 we are facing an issue with the detection of the microphone and gets the following error «Failure on call (reason-WebRTC Error) [error 1004)»
This error is happening when in windows audio settings if the default microphone is set as a built-in mic
(Please note, Google Meet in browser and zoom is working fine with the same settings without any issues)
If we change the default microphone in windows settings to Microphone Array, then this error is not happening and everything works fine.
OS — Windows 10
Browser used : Chrome — Version 95.0.4638.69 (Official Build) (64-bit)
Anybody experienced with this kind of issue please help
I have the same issue on windows 10 and Firefox. I also tried starting firefox in the safe mode and disabling plugins, which still caused the same error. My Firefox version is 97.0 and the microfone got the rights to be used on the website.
The only workaround for me was using Edge, so this might be a bigger issue!
We did a quick fix by giving precedence to Microphone Array (Channels) while choosing microphone and issue got fixed in Windows and Mac
…
@Dominicjohn can you pls share details? thx
We did a quick fix by giving precedence to Microphone Array (Channels) while choosing microphone and issue got fixed in Windows and Mac
…
How to set this up?
Hi @ffdixon , I think this issue is not properly solved with the local turn server in BBB 2.6.
I received many requests for that in BBB 2.6.
Also, I change the turn server configuration as 2.5 and other previous versions on 2.6 but nothing is solved (/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
).
I think there is a flag or configuration for switching from local turn to the external configuration in 2.6. Isn’t it?
Hi @ffdixon , I think this issue is not properly solved with the local turn server in BBB 2.6.
I received many requests for that in BBB 2.6. Also, I change the turn server configuration as 2.5 and other previous versions on 2.6 but nothing is solved (
/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
).I think there is a flag or configuration for switching from local turn to the external configuration in 2.6. Isn’t it?
Dear @ffdixon and @cod3r0k , I think in the main document (https://docs.bigbluebutton.org/administration/turn-server/), you must not follow the previous file which refers to BBB 2.5. It mentioned that it is located at /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
, but It was changed in BBB 2.6 and it was located at/etc/bigbluebutton/turn-stun-servers.xml
. If possible @ffdixon , I hope it will be noted in BBB 2.6’s documentation.
Therefore, if you change the configuration of /etc/bigbluebutton/turn-stun-servers.xml
file, you can setup your own local turn server properly and it works well.
SomeTime User gets “Failure on call (reason=ICE error) error 1004” notification as a error message while trying to join audio with microphone in bigbluebutton, also if you notice it takes little extra time to respond this 1004 error message. This may happen only for few of users and may be for everyone and many times it could be because of user’s network but let’s get into the deep of this issue and try to fix issue of ICE Error 1004.
It happens when you join a bigbluebutton meeting and try to join audio as microphone and sometime it works but sometimes it doesn’t work and in most of the cases user try 3-4 times and they get successfully connected but in same cases it doesn’t work.
Why ICE Error 1004 :
Sometimes because of network or stun server doesn’t provide the ICE candidate to webrtc call between freeswitch in the sdp offer and it wait for around 5 seconds for ICE candidate and if it doesn’t get any ICE candidate which is responsible to transmit the media stream because of this it fails to establish a ice connection and this cause to terminate the audio connection between server and client and finally you see – “Failure on call (reason=ICE error) error 1004”.
Another Reason could be your current server doesn’t support the ipv6 and freeswitch doesn support both ipv4 and well as ipv6 and when it try to make connection via ipv6 it get failed.
ICE Error 1004 – Failure On Call BigBlueButton
Let’s follow these solutions to get rid of this ICE Error 1004 :
Solution – Answer 1:
- Please login to your server either vis ssh or ftp
- Run below command in terminal
cd /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml
- If it doesn’t have stun and turn server configured then please configure a coturn server
- https://docs.bigbluebutton.org/admin/setup-turn-server.html
- Please make sure to follow all the steps of coturn server (specially change the default stun server)
- Restart the bigbluebutton server and you will see audio started working fine
- But in case if it doesn’t work then please try solution 2
Solution – Answer 2:
- First check you server if ipv6 doesn’t support please disable use of ipv6 in freeswitch
- run
sudo ip addr | grep inet6
- if you don’t see this line
inet6 ::1/128 scope host
it means ipv6 is not supported - To Disable ipv6 binding in freeswitch do below steps
- edit
/opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml
via vim or nano editor - change this line
<param name="listen-ip" value="::"/>
to this<param name="listen-ip" value="127.0.0.1"/>
- Run below commands and then test it should work for sure
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_
sudo bbb-conf --restart
sudo bbb-conf --clean
sudo bbb-conf --check
Solution 3 :
If none of the above work (in most of the case solution 2 should work) then it could be because you are not using the latest version of bigbluebutton and sipjs , so you should upgrade to latest version and it should fix your microphone ice error 1004
Still if you need any help in regards of bigbluebutton errors, bigbluebutton customization, new functionality enhancement, greenlight customization, installation or setup , scalelite installation and setup, custom admin panel , support and maintenance for long term or any other customization, you can directly hire me here
BigBlueButton is an opensource video conference software that is becoming increasingly popular during the COVID-19 period. Every day, millions of people take classes online. Users may encounter error codes such as 1001,1006,1007,1020… What does this mean? What should be checked and how should it be fixed?
The advantage of web-based software is that there is no need to download and install anything; simply use a browser, which is very convenient and compatible with all devices. However, the user must configure the browser correctly, and the developer must configure the server correctly as well. Otherwise, error messages will be displayed.
We’ve listed the majority of the most common error messages along with the code to make it easier for you to look up and understand what’s going on when those error messages appear.
1001: WebSocket disconnected — The WebSocket had connected successfully and has now disconnected.
What need to check:
- internet connection
1002: Could not make a WebSocket connection — The initial WebSocket connection was unsuccessful.
What need to check:
- The firewall may block was protocol,
- The server may go down or improperly configured
1003: Browser version not supported — Browser doesn’t implement the necessary WebRTC API methods.
What needs to check:
- Is it the latest version of Chrome, Firefox, or Safari?
1004: Failure on call — The call was attempted, but failed.
What needs to check:
- A version of Freeswitch for BBB
1005: Call ended unexpectedly — The call was successful but ended without the user requesting to end the session.
What needs to check:
- Server down
1006: Call timed out — The library took too long to try and connect the call.
What needs to check:
- Is it the latest version of Chrome, Firefox, or Safari?
1007: ICE negotiation failed — The browser and FreeSWITCH try to negotiate ports to use to stream the media and that negotiation failed.
What needs to check:
- TURN Server configuration
1008: Call transfer failed — A timeout while waiting for FreeSWITCH to transfer from the echo test to the real conference.
What needs to check:
- FreeSWITCH Configuration
1009: Could not fetch STUN/TURN server information
What needs to check:
- BigBlueButton Version
- Network
1010: ICE negotiation timeout
What needs to check:
- Network
1020: Media cloud could not reach the server
What needs to check:
- Is server overloaded
Those are common BigBlueButton error codes; I’m sure if you’re a BigBlueButton user, you’ve seen them at some point. Also, thanks to the BigBlueButton Developer Community, some of the data is from the official BigBlueButton development document. We listed it here and added some of our own thoughts and experiences to it. I just wanted to make it easier for you to look up that code and hope it helps you detect and fix the problem. If you want to learn more about BigBlueButton troubleshooting, you can visit the official development document at this link.
https://docs.bigbluebutton.org/2.2/troubleshooting.html#Troubleshooting_
If you require additional assistance in resolving those error messages, please contact us via the support channel.
#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
В этой статье
- Метод 2 – Обновите / переустановите конфликтующие программы
- Метод 7 – Ошибка выполнения, связанная с IE
- Метод 5 – Запустить очистку диска
- Метод 3 – Обновите программу защиты от вирусов или загрузите и установите последнюю версию Центра обновления Windows.
- Метод 4 – Переустановите библиотеки времени выполнения
- Метод 1 – Закройте конфликтующие программы
- Как обновить сертификаты в докере greenlite BBB?
- Как правильно настроить bigbluebutton за NAT?
- Bigblubutton за NAT. Freeswitch работает извне, но не корректно работает внутри. Как исправить?
- Минуточку внимания
- В чём причина ошибки при работе установочного скрипта BigBlueButton 2.3 и как её исправить?
- Как настроить устройство для работы с BigBlueButton?
- Почему api BBB не работает пока не установлен Greenlite?
- Почему GreenLight из докера не соединяется с BigBlueButton?
- Не получается настроить SIP в Bigbluebutton?
- Не могу получить OU пользователя с помощью LDAP аутентификации в Bigbluebutton?
Метод 2 – Обновите / переустановите конфликтующие программы
up vote
8
down vote
accepted Использование панели управления
- В Windows 7 нажмите кнопку “Пуск”, затем нажмите “Панель управления”, затем “Удалить программу”.
- В Windows 8 нажмите кнопку «Пуск», затем прокрутите вниз и нажмите «Дополнительные настройки», затем нажмите «Панель управления»> «Удалить программу».
- Для Windows 10 просто введите “Панель управления” в поле поиска и щелкните результат, затем нажмите “Удалить программу”.
- В разделе “Программы и компоненты” щелкните проблемную программу и нажмите “Обновить” или “Удалить”.
- Если вы выбрали обновление, вам просто нужно будет следовать подсказке, чтобы завершить процесс, однако, если вы выбрали «Удалить», вы будете следовать подсказке, чтобы удалить, а затем повторно загрузить или использовать установочный диск приложения для переустановки. программа.
Использование других методов
- В Windows 7 список всех установленных программ можно найти, нажав кнопку «Пуск» и наведя указатель мыши на список, отображаемый на вкладке. Вы можете увидеть в этом списке утилиту для удаления программы. Вы можете продолжить и удалить с помощью утилит, доступных на этой вкладке.
- В Windows 10 вы можете нажать “Пуск”, затем “Настройка”, а затем – “Приложения”.
- Прокрутите вниз, чтобы увидеть список приложений и функций, установленных на вашем компьютере.
- Щелкните программу, которая вызывает ошибку времени выполнения, затем вы можете удалить ее или щелкнуть Дополнительные параметры, чтобы сбросить приложение.
Метод 7 – Ошибка выполнения, связанная с IE
up vote
0
down vote
Если полученная ошибка связана с Internet Explorer, вы можете сделать следующее:
- Сбросьте настройки браузера.
- В Windows 7 вы можете нажать «Пуск», перейти в «Панель управления» и нажать «Свойства обозревателя» слева. Затем вы можете перейти на вкладку «Дополнительно» и нажать кнопку «Сброс».
- Для Windows 8 и 10 вы можете нажать “Поиск” и ввести “Свойства обозревателя”, затем перейти на вкладку “Дополнительно” и нажать “Сброс”.
- Отключить отладку скриптов и уведомления об ошибках.
- В том же окне “Свойства обозревателя” можно перейти на вкладку “Дополнительно” и найти пункт “Отключить отладку сценария”.
- Установите флажок в переключателе.
- Одновременно снимите флажок «Отображать уведомление о каждой ошибке сценария», затем нажмите «Применить» и «ОК», затем перезагрузите компьютер.
Если эти быстрые исправления не работают, вы всегда можете сделать резервную копию файлов и запустить восстановление на вашем компьютере. Однако вы можете сделать это позже, когда перечисленные здесь решения не сработают.
Метод 5 – Запустить очистку диска
up vote
0
down vote
Вы также можете столкнуться с ошибкой выполнения из-за очень нехватки свободного места на вашем компьютере.
- Вам следует подумать о резервном копировании файлов и освобождении места на жестком диске.
- Вы также можете очистить кеш и перезагрузить компьютер.
- Вы также можете запустить очистку диска, открыть окно проводника и щелкнуть правой кнопкой мыши по основному каталогу (обычно это C 🙂
- Щелкните “Свойства”, а затем – “Очистка диска”.
Метод 3 – Обновите программу защиты от вирусов или загрузите и установите последнюю версию Центра обновления Windows.
up vote
0
down vote
Заражение вирусом, вызывающее ошибку выполнения на вашем компьютере, необходимо немедленно предотвратить, поместить в карантин или удалить. Убедитесь, что вы обновили свою антивирусную программу и выполнили тщательное сканирование компьютера или запустите Центр обновления Windows, чтобы получить последние определения вирусов и исправить их.
Метод 4 – Переустановите библиотеки времени выполнения
up vote
0
down vote
Вы можете получить сообщение об ошибке из-за обновления, такого как пакет MS Visual C ++, который может быть установлен неправильно или полностью. Что вы можете сделать, так это удалить текущий пакет и установить новую копию.
- Удалите пакет, выбрав “Программы и компоненты”, найдите и выделите распространяемый пакет Microsoft Visual C ++.
- Нажмите “Удалить” в верхней части списка и, когда это будет сделано, перезагрузите компьютер.
- Загрузите последний распространяемый пакет от Microsoft и установите его.
Метод 1 – Закройте конфликтующие программы
up vote
0
down vote
Когда вы получаете ошибку во время выполнения, имейте в виду, что это происходит из-за программ, которые конфликтуют друг с другом. Первое, что вы можете сделать, чтобы решить проблему, – это остановить эти конфликтующие программы.
- Откройте диспетчер задач, одновременно нажав Ctrl-Alt-Del. Это позволит вам увидеть список запущенных в данный момент программ.
- Перейдите на вкладку “Процессы” и остановите программы одну за другой, выделив каждую программу и нажав кнопку “Завершить процесс”.
- Вам нужно будет следить за тем, будет ли сообщение об ошибке появляться каждый раз при остановке процесса.
- Как только вы определите, какая программа вызывает ошибку, вы можете перейти к следующему этапу устранения неполадок, переустановив приложение.
Как обновить сертификаты в докере greenlite BBB?
- 1 подписчик
- 15 авг.
- 19 просмотров
ответов
0
-
BigBlueButton
Средний
- 2 подписчика
- 28 нояб. 2021
- 111 просмотров
ответ
1
-
Docker
- +1 ещё
Средний
Bigblubutton за NAT. Freeswitch работает извне, но не корректно работает внутри. Как исправить?
- 1 подписчик
- более двух лет назад
- 913 просмотров
ответов
0
Вакансии с Хабр Карьеры
QA инженер
SberTech
•Санкт-Петербург
от 150 000 до 250 000 ₽
Инженер технической поддержки L2 (Infrastructure)
SberTech
•Москва
от 150 000 до 220 000 ₽
Scala Developer
МегаФон
•Москва
До 250 000 ₽
Ещё вакансии
Заказы с Хабр Фриланса
ОдностраничникЛендинг на tilda. Десктоп и мобильная версия
14 окт. 2022, в 11:33
5000 руб./за проект
Cоздание отчета в Yandex DataLens
14 окт. 2022, в 11:28
7000 руб./за проект
Перенос 1000 страниц копипастом на новый сайт
14 окт. 2022, в 11:25
10000 руб./за проект
Ещё заказы
Минуточку внимания
Присоединяйтесь к сообществу, чтобы узнавать новое и делиться знаниями
Зарегистрироваться
Самое интересное за 24 часа
-
Как вставить HTTP фрейм на сайт с HTTPS?
- 2 подписчика
- 1 ответ
-
Насколько обременительно для кодера содержать ООО (вместо ИП или самозанятого)?
- 7 подписчиков
- 2 ответа
-
Кто подскажет надежного НЕ РФ регистратора домена?
- 2 подписчика
- 2 ответа
-
Что есть “персональные данные”? Например email или ник в телеграм – это оно?
- 2 подписчика
- 4 ответа
-
Как проектировать главную страницу сайта?
- 3 подписчика
- 3 ответа
-
Параметрический поиск товаров, как на Wildberries. Как фильтровать, через Redis?
- 3 подписчика
- 2 ответа
-
Как можно охлаждать помещение?
- 2 подписчика
- 14 ответов
-
Зачем SSD неразмеченная область?
- 3 подписчика
- 3 ответа
-
Какая у вас структура папок в gulp?
- 2 подписчика
- 0 ответов
-
SWFupload чем заменить?
- 2 подписчика
- 1 ответ
- © Habr
- О сервисе
- Обратная связь
- Блог
В чём причина ошибки при работе установочного скрипта BigBlueButton 2.3 и как её исправить?
- 1 подписчик
- более года назад
- 105 просмотров
ответ
1
-
Nginx
- +4 ещё
Простой
Как настроить устройство для работы с BigBlueButton?
- 1 подписчик
- более двух лет назад
- 552 просмотра
ответа
2
-
FreeSWITCH
- +1 ещё
Простой
Почему api BBB не работает пока не установлен Greenlite?
- 1 подписчик
- 18 авг.
- 11 просмотров
ответов
0
-
BigBlueButton
Простой
Почему GreenLight из докера не соединяется с BigBlueButton?
- нет подписчиков
- более года назад
- 265 просмотров
ответов
0
-
Linux
- +2 ещё
Сложный
Не получается настроить SIP в Bigbluebutton?
- 1 подписчик
- более года назад
- 444 просмотра
ответ
1
-
Active Directory
- +1 ещё
Средний
Не могу получить OU пользователя с помощью LDAP аутентификации в Bigbluebutton?
- 1 подписчик
- более двух лет назад
- 321 просмотр
ответ
1
-
Wi-Fi
- +2 ещё
Простой
Источники
- https://www.errorvault.com/ru/troubleshooting/runtime-errors/microsoft/microsoft-excel/error-1004_application-defined-or-object-defined-error
- https://qna.habr.com/q/763641
[свернуть]