Error 1002

644 views
Skip to first unread message

tech amlotus

unread,
Nov 11, 2021, 2:12:26 PM11/11/21
to BigBlueButton-dev
I did everything that can fix my error 1002 for the we socket and i still getting the error, i fixed the firewall and make it allow.

tech amlotus

unread,
Nov 15, 2021, 12:23:55 PM11/15/21
to BigBlueButton-dev
I tried everything and it looks like still not working. UFW allowed all outgoing and incoming ports and i follow the steps that they told us to do on bbb.install website but nothing help for error 1002

Fred Dixon

unread,
Nov 15, 2021, 8:52:48 PM11/15/21
to BigBlueButton-dev
Hi everyone,

Can you use FireFox and try connecting to


and share a microphone.  Does it work?  Open a new tab and enter

  about:webrtc

You'll see the Remote SDP

Remote SDP (Answer)
v=0
o=FreeSWITCH 1637004706 1637004707 IN IP4 68.183.200.77
s=-
t=0 0
a=sendrecv
a=msid-semantic:WMS kDYfvMhmKh8Cmfvo4lhz5NLSbqK3Z7Ua
m=audio 22636 UDP/TLS/RTP/SAVPF 109 101
c=IN IP4 68.183.200.77
a=candidate:6503312638 1 udp 2130706431 68.183.200.77 22636 typ host generation 0
a=sendrecv
a=end-of-candidates
a=fingerprint:sha-256 B9:02:79:A7:23:F5:B1:A6:29:05:C0:CD:C2:EA:98:04:C1:04:61:33:F7:C6:33:DB:EA:78:CD:74:22:99:12:A5
a=fmtp:109 maxplaybackrate=0;stereo=1;useinbandfec=1
a=ice-pwd:Wmk7BjTXg7wjGjhsdE8LCylR
a=ice-ufrag:V4wQH8zJoaCe7nfy
a=ptime:20
a=rtcp:22636 IN IP4 68.183.200.77
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:101 telephone-event/8000
a=setup:active
a=ssrc:1234950550 cname:AIgWko9Vw7oIcJW7
a=ssrc:1234950550 msid:kDYfvMhmKh8Cmfvo4lhz5NLSbqK3Z7Ua a0
a=ssrc:1234950550 mslabel:kDYfvMhmKh8Cmfvo4lhz5NLSbqK3Z7Ua
a=ssrc:1234950550 label:kDYfvMhmKh8Cmfvo4lhz5NLSbqK3Z7Uaa0
Notice the above line is the remote IP address that your FireFox connects to the BigBlueButton server at https://test.bigbluebutton.org/.  You can confirm this with the ping command

% ping test.bigbluebutton.org
PING test.bigbluebutton.org (68.183.200.77): 56 data bytes
64 bytes from 68.183.200.77: icmp_seq=0 ttl=55 time=25.121 ms


Now try it with your server.  Does the IP address advertised by the remote SDP (your BigBlueButton server) match the IP address given by a ping test?


Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/eac11b0b-332c-437d-bff8-bcf99bb8b694n%40googlegroups.com.


--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton

Fred Dixon

unread,
Nov 15, 2021, 8:53:37 PM11/15/21
to BigBlueButton-dev
See also
  

for description of 1002 error message.

Regards,.. /Fred

Rory

unread,
Nov 17, 2021, 7:48:52 AM11/17/21
to BigBlueButton-dev
Here's a slightly offpiste answer - are you using GCP by any chance?

If you install their monitoring agent it defaults to port 8888, which knocks Kurento offline and ruins your day when you next reboot

tech amlotus

unread,
Nov 23, 2021, 10:19:18 AM11/23/21
to BigBlueButton-dev
I followed that part of course https://docs.bigbluebutton.org/admin/configure-firewall.html#update-freeswitch, but still have the same issue, even i open all UFW ports that can be use for the websockets and also, i use greenlight but still have error 1002, my server is from hostinger : Distributor ID: Ubuntu
Description:    Ubuntu 18.04.6 LTS
Release:        18.04
Codename:       bionic
 ping test=server ip

tech amlotus

unread,
Nov 23, 2021, 10:20:48 AM11/23/21
to BigBlueButton-dev
root@aml***:~# bbb-conf --check

BigBlueButton Server 2.4-rc-4 (2680)
                    Kernel version: 4.15.0
                      Distribution: Ubuntu 18.04.6 LTS (64-bit)
                            Memory: 8388 MB
                         CPU cores: 8

/etc/bigbluebutton/bbb-web.properties (override for bbb-web)
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://amlotus.com
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true
              defaultMeetingLayout: SMART_LAYOUT

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: amlotus.com
                              port: 80, [::]:80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: inet
                   external_rtp_ip: 37.44.***
                   external_sip_ip: 37.44.***

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${local_ip_v4}
                        ext-sip-ip: $${local_ip_v4}
                        ws-binding: 37.44.***:5066
                       wss-binding: 37.44.***:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: aml***.com
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 37.44.***
                          protocol: https

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml (Kurento SFU - override)
                        kurento.ip: inet
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: inet
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 c                                                                                                                                                             lient)
/etc/bigbluebutton/bbb-html5.yml (HTML5 client config override)
                             build: 2378
                        kurentoUrl: wss://aml***.com/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: false

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun: stun.l.google.com:19302

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (STUN Server)
                              stun: 172.217.212.127:19302


# Potential problems described below

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

tech amlotus

unread,
Nov 23, 2021, 10:21:34 AM11/23/21
to BigBlueButton-dev
  GNU nano 2.9.3                                                                                        /etc/bigbluebutton/nginx/sip.nginx

location /ws {
        proxy_pass https://37.44.***:7443;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_read_timeout 6h;
        proxy_send_timeout 6h;
        client_body_timeout 6h;
        send_timeout 6h;

        auth_request /bigbluebutton/connection/checkAuthorization;
        auth_request_set $auth_status $upstream_status;

tech amlotus

unread,
Nov 23, 2021, 10:30:47 AM11/23/21
to BigBlueButton-dev
p1.png

tech amlotus

unread,
Nov 23, 2021, 11:07:55 AM11/23/21
to BigBlueButton-dev
how to know if i am using GCP or no ?

Rory

unread,
Nov 24, 2021, 5:44:47 AM11/24/21
to BigBlueButton-dev
GCP is Google Cloud Platform - in other words are you hosting on https://cloud.google.com? If so, and you install their monitoring agent it loads before Kurento and takes the port, knocking Kurento offline.

P. Krishnakumar

unread,
Nov 29, 2021, 6:03:50 AM11/29/21
to bigblueb...@googlegroups.com
Hi,

Can you check with sip.niginx file configuration as below and trt it.

location /wss {
        proxy_pass https://YourPublicIP:7443;

        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_read_timeout 6h;
        proxy_send_timeout 6h;
        client_body_timeout 6h;
        send_timeout 6h;

        auth_request /bigbluebutton/connection/checkAuthorization;
        auth_request_set $auth_status $upstream_status;

Thanks and Regards,
P.Krishnakumar
Manager Technical
DSNL


tech amlotus

unread,
Nov 29, 2021, 9:32:47 AM11/29/21
to BigBlueButton-dev
I am hosting from hostinger.

tech amlotus

unread,
Nov 29, 2021, 9:35:39 AM11/29/21
to BigBlueButton-dev
i did that 

location /wss {
        proxy_pass https://YourPublicIP:7443;

        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_read_timeout 6h;
        proxy_send_timeout 6h;
        client_body_timeout 6h;
        send_timeout 6h;

        auth_request /bigbluebutton/connection/checkAuthorization;
        auth_request_set $auth_status $upstream_status;
Thanks and Regards,
P.Krishnakumar
Manager Technical
DSNL

DOESN'T WORK

On Monday, November 29, 2021 at 6:03:50 AM UTC-5 P. Krishnakumar wrote:

tech amlotus

unread,
Nov 29, 2021, 12:35:02 PM11/29/21
to BigBlueButton-dev
by the way i am using ( server )  VPS 

tech amlotus

unread,
Nov 29, 2021, 1:47:15 PM11/29/21
to BigBlueButton-dev
/etc/resolv.conf

stuns.png

Nikola Z

unread,
Nov 29, 2021, 1:56:43 PM11/29/21
to bigblueb...@googlegroups.com
If you have a Nat server, can you access it from another network? If from the same, then the problem is in the computer firewall. Try disabling it and check.

пн, 29 лист. 2021 о 20:47 tech amlotus <te...@amlotus.edu> пише:

Nikola Z

unread,
Nov 29, 2021, 2:01:15 PM11/29/21
to bigblueb...@googlegroups.com
What version of BBB is used?

пн, 29 лист. 2021 о 20:56 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 29, 2021, 2:17:32 PM11/29/21
to BigBlueButton-dev
BigBlueButton Server 2.4-rc-4 (2680)
Ubuntu 18.04 64bit I have more than 6 PCS with 3 different wifi and all have same error 1002 websocket 

Nikola Z

unread,
Nov 29, 2021, 2:19:47 PM11/29/21
to bigblueb...@googlegroups.com
What version of BBB is used?

пн, 29 лист. 2021 о 21:17 tech amlotus <te...@amlotus.edu> пише:

Nikola Z

unread,
Nov 29, 2021, 2:21:25 PM11/29/21
to bigblueb...@googlegroups.com
Server for Nat?

пн, 29 лист. 2021 о 21:19 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 29, 2021, 2:22:34 PM11/29/21
to BigBlueButton-dev
VPS server from hostinger

tech amlotus

unread,
Nov 29, 2021, 2:24:05 PM11/29/21
to BigBlueButton-dev
Newest version 2.4-rc-4 (2680) 

Nikola Z

unread,
Nov 29, 2021, 2:26:35 PM11/29/21
to bigblueb...@googlegroups.com
The wget -qO- ....... installation script should do everything itself. You do not need to configure anything. Try installing again from the beginning. Installed many times and no problems.

пн, 29 лист. 2021 о 21:22 tech amlotus <te...@amlotus.edu> пише:

tech amlotus

unread,
Nov 29, 2021, 2:28:35 PM11/29/21
to BigBlueButton-dev
the problem is if i do more wget -qO- let's encrypt allow you only 5 times then you have to wait 7-8 business days to reuse let's encrypt.

Nikola Z

unread,
Nov 29, 2021, 2:29:48 PM11/29/21
to bigblueb...@googlegroups.com
Use browsers google, mozila

пн, 29 лист. 2021 о 21:26 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 29, 2021, 2:31:26 PM11/29/21
to BigBlueButton-dev
I did with that way  wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-240 -s bbb.example.com -e not...@example.com -a -w

tech amlotus

unread,
Nov 29, 2021, 2:32:51 PM11/29/21
to BigBlueButton-dev
i used all browsers that can be use and still with error 1002 websocket
VPS is on UFW and all ports for protocol are working and out going ports also
p1.png

Nikola Z

unread,
Nov 29, 2021, 2:33:03 PM11/29/21
to bigblueb...@googlegroups.com
Try running the script without -e m...@hjhjh.net

пн, 29 лист. 2021 о 21:29 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 29, 2021, 2:37:30 PM11/29/21
to BigBlueButton-dev
While i re run wget -qO-

d1.png

tech amlotus

unread,
Nov 29, 2021, 2:41:09 PM11/29/21
to BigBlueButton-dev
i will keep using wget -qO- until error fix ! OR i have to remove and uninstall everything and start wget -qO- from beginning again !!

Nikola Z

unread,
Nov 29, 2021, 2:41:41 PM11/29/21
to bigblueb...@googlegroups.com
wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v bionic-240 -s bbb.example.com -e not...@example.com -g -w
Installed and reinstalled several times on three vps and one on nat. There were no problems with versions 2.3 and 2.4.

пн, 29 лист. 2021 о 21:37 tech amlotus <te...@amlotus.edu> пише:

Nikola Z

unread,
Nov 29, 2021, 2:44:44 PM11/29/21
to bigblueb...@googlegroups.com
it is better to start first and put at once -g -w :

пн, 29 лист. 2021 о 21:41 Nikola Z <ngz...@gmail.com> пише:

Nikola Z

unread,
Nov 29, 2021, 2:51:24 PM11/29/21
to bigblueb...@googlegroups.com
can be immediately without -w
then it will be known whether this is not a host problem. In which case you can ping available ports from the host. Maybe they are closed on the host. Everything can be.

пн, 29 лист. 2021 о 21:44 Nikola Z <ngz...@gmail.com> пише:

Nikola Z

unread,
Nov 29, 2021, 2:57:17 PM11/29/21
to bigblueb...@googlegroups.com
This is not advertising. But I can recommend normal hosting. Servers in the Netherlands.

пн, 29 лист. 2021 о 21:51 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 29, 2021, 3:06:36 PM11/29/21
to BigBlueButton-dev
i cannot fix that error 1002 i did everything you said.

Nikola Z

unread,
Nov 29, 2021, 3:17:24 PM11/29/21
to bigblueb...@googlegroups.com
If you use browsers google, mozilla is really a server issue.

пн, 29 лист. 2021 о 22:06 tech amlotus <te...@amlotus.edu> пише:

Nikola Z

unread,
Nov 29, 2021, 3:25:18 PM11/29/21
to bigblueb...@googlegroups.com
Contact your host support. Maybe they have either unsupported virtualization or closed udp ports

пн, 29 лист. 2021 о 22:17 Nikola Z <ngz...@gmail.com> пише:

Nikola Z

unread,
Nov 29, 2021, 3:29:24 PM11/29/21
to bigblueb...@googlegroups.com
In on the servers KVM virtualization.
on hostinger.comOVZ.

пн, 29 лист. 2021 о 22:25 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 29, 2021, 3:30:52 PM11/29/21
to BigBlueButton-dev
VPS sever is full access from my side and i connected VPS on domain so there is no restricted port from other side.
but i am the only one here who had this error 1002 that never fixed for more than 2 months.
but i still working on that
Do you have video to show example of files directions ! 

tech amlotus

unread,
Nov 29, 2021, 3:32:31 PM11/29/21
to BigBlueButton-dev
from all browsers same error and UFW ports are open 
Domain is healthy and running good and pointing to VPS

Nikola Z

unread,
Nov 29, 2021, 3:38:07 PM11/29/21
to bigblueb...@googlegroups.com
It is a pity that I could not help. I think you will succeed. He who seeks always finds!

пн, 29 лист. 2021 о 22:32 tech amlotus <te...@amlotus.edu> пише:

tech amlotus

unread,
Nov 29, 2021, 3:41:51 PM11/29/21
to BigBlueButton-dev
NickZ I really appropriate your time and your helping 
I will follow your steps 2-4 times and if it works i will update you.
But thank you so so much.  Spasibo

Nikola Z

unread,
Nov 29, 2021, 3:49:29 PM11/29/21
to bigblueb...@googlegroups.com
Give a link to the site, I'll try to go

пн, 29 лист. 2021 о 22:41 tech amlotus <te...@amlotus.edu> пише:

tech amlotus

unread,
Nov 29, 2021, 4:28:38 PM11/29/21
to BigBlueButton-dev

rayson...@gmail.com

unread,
Nov 29, 2021, 7:11:16 PM11/29/21
to BigBlueButton-dev
Can I make an observation
in all of my /etc/bigbluebutton/nginx/sip.nginx on my servers
the proxy_pass is http: //external ip:5066;

I notice that yours is https and the port number is 7443

but that may be to do with your setup.

Nikola Z

unread,
Nov 30, 2021, 12:58:37 AM11/30/21
to bigblueb...@googlegroups.com
Thanks. Saw this morning. Registered. Grant permission through greenlight. I will try to come in soon. Then delete me later.

вт, 30 лист. 2021 о 02:11 rayson...@gmail.com <rayson...@gmail.com> пише:

tech amlotus

unread,
Nov 30, 2021, 9:44:46 AM11/30/21
to BigBlueButton-dev
@rayson 
I did that already please check previous messages 

tech amlotus

unread,
Nov 30, 2021, 10:24:01 AM11/30/21
to BigBlueButton-dev
nikke i approved you account take a look

Nikola Z

unread,
Nov 30, 2021, 11:30:03 AM11/30/21
to bigblueb...@googlegroups.com
Hello! Which shows sudo bbb-conf -check ?

вт, 30 лист. 2021 о 17:24 tech amlotus <te...@amlotus.edu> пише:

tech amlotus

unread,
Nov 30, 2021, 11:40:36 AM11/30/21
to BigBlueButton-dev
BigBlueButton Server 2.4-rc-5 (2702)
                    Kernel version: 4.15.0
                      Distribution: Ubuntu 18.04.6 LTS (64-bit)
                            Memory: 8388 MB
                         CPU cores: 8

/etc/bigbluebutton/bbb-web.properties (override for bbb-web)
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://aml***.com
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true
              defaultMeetingLayout: SMART_LAYOUT

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: aml***.com
                              port: 80, [::]:80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: inet
                   external_rtp_ip: 37.44.***
                   external_sip_ip: 37.44.***

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${external_rtp_ip}
                        ext-sip-ip: $${external_sip_ip}
                        ws-binding: 37.44.***:5066
                       wss-binding: 37.44.***:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: aml***.com
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 37.44.***
                          protocol: https

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml (Kurento SFU - override)
                        kurento.ip: inet
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: inet
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
/etc/bigbluebutton/bbb-html5.yml (HTML5 client config override)
                             build: 2394
                        kurentoUrl: wss://aml***.com/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: false

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun: stun.l.google.com:19302

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (STUN Server)
                              stun: 172.217.212.127:19302


# Potential problems described below

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

tech amlotus

unread,
Nov 30, 2021, 12:02:17 PM11/30/21
to BigBlueButton-dev
sip.nginx
location /wss {
        proxy_pass https://37.44.***:7443;

Nikola Z

unread,
Nov 30, 2021, 12:12:01 PM11/30/21
to bigblueb...@googlegroups.com
I think it should be so
/etc/bigbluebutton/bbb-web.properties (override for bbb-web)
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bigbluebutton.web.serverURL: https://aml ***.com
defaultGuestPolicy: ALWAYS_ACCEPT
svgImagesRequired: true
defaultMeetingLayout: SMART_LAYOUT

/etc/nginx/sites-available/bigbluebutton (nginx)
ім'я_сервера: aml***.com
порт: 80, [::]:80
порт: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
local_ip_v4: 37.44.*** ??????????????????????????

external_rtp_ip: 37.44.***
external_sip_ip: 37.44.***

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
ext-rtp-ip: $${external_rtp_ip}
ext-sip-ip: $${external_sip_ip}
ws-прив'язка: 37.44.***:5066

wss-binding: 37.44.***:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback_host: aml***.com
playback_protocol: https
ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
proxy_pass: 37.44.***
protocol: http ?????????????????????????????????


/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml (Kurento SFU - override)
kurento.ip: 37.44.*** ?????????????????????????
kurento.url: ws:// 127.0.0.1:8888/kurento
kurento.sip_ip:  37.44.***
recordScreenSharing: true
записВеб-камери: true
codec_video_main: VP8
codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (клієнт HTML5)

/etc/bigbluebutton/bbb-html5.yml (HTML5 client config override)
збірка: 2394

kurentoUrl: wss://aml***.com/bbb-webrtc-sfu
enableListenOnly: true
sipjsHackViaWs: true


/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
stun: stun.l.google.com:19302
I don't have that at all:
(??????????
/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (STUN Server)
172.217.212.127:19302 : 172.217.212.127:19302
??????)
Try making changes to the appropriate files. Have you tried to completely rearrange ubuntu and bbb?

вт, 30 лист. 2021 о 18:40 tech amlotus <te...@amlotus.edu> пише:

tech amlotus

unread,
Nov 30, 2021, 12:16:20 PM11/30/21
to BigBlueButton-dev
I never  rearrange Ubuntu and BBB
What you sent i cannot understand it, do i need to change something with my bbb-c --check !

Nikola Z

unread,
Nov 30, 2021, 12:17:18 PM11/30/21
to bigblueb...@googlegroups.com
Sorry, there is some translation in my language ...

вт, 30 лист. 2021 о 19:11 Nikola Z <ngz...@gmail.com> пише:

Nikola Z

unread,
Nov 30, 2021, 12:20:42 PM11/30/21
to bigblueb...@googlegroups.com
OK! 
The best option is to do everything first. But try making changes to the relevant files where I put the question marks.

вт, 30 лист. 2021 о 19:16 Nikola Z <ngz...@gmail.com> пише:

Nikola Z

unread,
Nov 30, 2021, 12:24:46 PM11/30/21
to bigblueb...@googlegroups.com
After the changes, BE SURE to do it sudo bbb-conf -restart

вт, 30 лист. 2021 о 19:20 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 30, 2021, 12:31:36 PM11/30/21
to BigBlueButton-dev
1st question marks   local_ip_v4 = external IP !!! 
2nd question marks  protocol: http   = it should be https !
3rd question marks  kurento.ip: = external ip !! 
4th question marks i have 2 stunserver usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml  : stun.l.google.com:19302 and /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (STUN Server)
172.217.212.127:19302 : 172.217.212.127:19302

tech amlotus

unread,
Nov 30, 2021, 12:35:44 PM11/30/21
to BigBlueButton-dev

2nd question marks  protocol: http   ( i have it as https because it's already let's encrypt  SSL)

tech amlotus

unread,
Nov 30, 2021, 12:42:35 PM11/30/21
to BigBlueButton-dev
i am Still with same error 1002 websocket !

Nikola Z

unread,
Nov 30, 2021, 12:43:15 PM11/30/21
to bigblueb...@googlegroups.com
/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: *.*.*.*
                          protocol: http

вт, 30 лист. 2021 о 19:35 tech amlotus <te...@amlotus.edu> пише:

Nikola Z

unread,
Nov 30, 2021, 12:45:09 PM11/30/21
to bigblueb...@googlegroups.com
""i am Still with same error 1002 websocket !""
I also

вт, 30 лист. 2021 о 19:42 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 30, 2021, 12:47:36 PM11/30/21
to BigBlueButton-dev
/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: *.*.*.*:5066 or 7443 !!!!!!!!!!!!
                          protocol: http
it should be https as website under  let's encrypt  SSL !

Nikola Z

unread,
Nov 30, 2021, 12:54:45 PM11/30/21
to bigblueb...@googlegroups.com
But you can already listen
56789.png

вт, 30 лист. 2021 о 19:47 tech amlotus <te...@amlotus.edu> пише:

tech amlotus

unread,
Nov 30, 2021, 12:55:03 PM11/30/21
to BigBlueButton-dev
It works now WOW

Nikola Z

unread,
Nov 30, 2021, 12:55:14 PM11/30/21
to bigblueb...@googlegroups.com
HTTP

вт, 30 лист. 2021 о 19:54 Nikola Z <ngz...@gmail.com> пише:

Nikola Z

unread,
Nov 30, 2021, 12:56:50 PM11/30/21
to bigblueb...@googlegroups.com
Congratulations on winning!!!!!!!!

вт, 30 лист. 2021 о 19:55 tech amlotus <te...@amlotus.edu> пише:

tech amlotus

unread,
Nov 30, 2021, 12:57:01 PM11/30/21
to BigBlueButton-dev
err2.png
how to fix the full size screensharing

Nikola Z

unread,
Nov 30, 2021, 1:00:21 PM11/30/21
to bigblueb...@googlegroups.com
In the upper right corner

вт, 30 лист. 2021 о 19:57 tech amlotus <te...@amlotus.edu> пише:

Nikola Z

unread,
Nov 30, 2021, 1:05:26 PM11/30/21
to bigblueb...@googlegroups.com
It was nice to help! Good luck and success. I myself have installed and reinstalled various versions on several servers several times over the past two years. I was also helped in this group. How could I not help you. All the best!

вт, 30 лист. 2021 о 20:00 Nikola Z <ngz...@gmail.com> пише:

tech amlotus

unread,
Nov 30, 2021, 1:09:34 PM11/30/21
to BigBlueButton-dev
Great Nikke 5 starts for you

tech amlotus

unread,
Dec 7, 2021, 3:03:35 PM12/7/21
to BigBlueButton-dev
Any Idea how to join class by phone call ? not by Audio microphone ....

detlef Köppel

unread,
Dec 8, 2021, 12:34:48 AM12/8/21
to BigBlueButton-dev

I think this question is more for the setup group.
Here in development it is not about installations and operating aids.

But here the Answer.
Configuring telephone dial-in via a SIP account

With just a few steps you can configure your BigBlueButton server so that your participants can also dial in by phone. Here you can find the official instructions.

Warning
Dialing in by phone is usually done via an unencrypted connection. Even if the SIP registration itself would be encrypted, telephony as a communication channel is still very easy to eavesdrop on and therefore, in my opinion, more insecure than a dial-in via WebRTC.

Before you can configure your SIP account for dial-in, you need your SIP access data. For example, you can get the free sipgate basic landline from sipgate. After registering, you will receive a landline number which you can use free of charge after confirming your postal address.

For the next steps you need:

    The telephone number (e.g. 091418382969)
    The SIP user name (e.g. 2821474e0)
    The SIP password (e.g. oog4ooNg7pah)
    The server of the registrar (e.g. sipgate.de)

Now log in to your BBB server and change to the root user with su -.

Then create the configuration file for the SIP provider (in this case sipgate):
/opt/freeswitch/conf/sip_profiles/external/sipgate.xml

The variables in the following file are already filled with the sample values from above. Of course, you add your own values here. The content of the file sipgate.xml with my sample values:

<include>
<gateway name="sipgate">
<param name="proxy" value="sipgate.de"/>
<param name="username" value="2821474e0"/>
<param name="password" value="oog4ooNg7pah"/>
<param name="extension" value="091418382969"/>
<param name="register" value="true"/>
<param name="context" value="public"/>
</gateway>
</include>

In order for the calls from FreeSWITCH to be correctly routed to your session, a so-called dialplan must be created. In this, the caller:in is asked for the five-digit PIN after dialling in and is then forwarded to the BBB room.

Create the configuration file for the dialplan (in this case sipgate):
/opt/freeswitch/conf/dialplan/public/sipgate.xml

Now enter the name of the gateway from the previous file (in this case sipgate) and your telephone number under expression. Do not delete the "roof" (^) in front of it. The content of the file sipgate.xml with my example values:

<extension name="sipgate">
 <condition field="destination_number" expression="^091418382969">
   <action application="start_dtmf" />
   <action application="answer"/>
   <action application="sleep" data="1000"/>
   <action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>

   <!-- Uncomment the following block if you want to mask the phone number in the list of participants. -->
   <!-- Instead of `01711233121` it will then show `xxx-xxx-3121`. -->
   <!--
   <action application="set_profile_var" data="caller_id_name=${regex(${caller_id_name}|^.*(.{4})$|xxx-xxx-%1)}"/>
   -->

   <action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
 </condition>
</extension>
<extension name="check_if_conference_active">
 <condition field="${conference ${pin} list}" expression="/sofia/g" />
 <condition field="destination_number" expression="^SEND_TO_CONFERENCE$">
   <action application="set" data="bbb_authorized=true"/>
   <action application="transfer" data="${pin} XML default"/>
 </condition>
</extension>

<extension name="conf_bad_pin">
 <condition field="${pin}" expression="^\d{5}$">
   <action application="answer"/>
   <action application="sleep" data="1000"/>
   <action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-bad-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
   <action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
 </condition>
</extension>


If you do not want the phone number of the person dialing in by phone to be visible to all conferees, then comment in the following section (remove <!-- before and --> after):

<!-- Uncomment the following block if you want to mask the phone number in the list of participants. -->
<!-- Instead of `01711233121` it will then show `xxx-xxx-3121`. -->

<action application="set_profile_var" data="caller_id_name=${regex(${caller_id_name}|^.*(.{4})$|xxx-xxx-%1)}"/>

Now set the authorisation for the dialplan so that FreeSWITCH can access it:
chown freeswitch:daemon /opt/freeswitch/conf/dialplan/public/sipgate.xml

And restart FreeSWITCH:
systemctl restart freeswitch

If everything worked, when you call your phone number, a voice will come up asking you for a five-digit conference PIN number.

If the dial-in does not work or there are other problems, you can find more information in the log file /opt/freeswitch/var/log/freeswitch/freeswitch.log.

Now all that is missing is the specification of the dial-in telephone number in the BigBlueButton configuration.
To do this, change the file /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties and enter the dial-in telephone number under defaultDialAccessNumber. You can also use the placeholders %%DIALNUM%% and %%CONFNUM%% in the defaultWelcomeMessageFooter variable. This way, people who are already dialled into the session via WebRTC can also participate in parallel via telephone without leaving the audio stream.

Save the BBB configuration file and restart the BigBlueButton server once with bbb-conf --restart.

Since the defaultDialAccessNumber is no longer 613-555-1234, the option "Participate by telephone" appears next to "With microphone" and "Listen only" when dialing into a conference:

Touch "0" Mic On / Off


Important note
The telephone dial-in only works if at least one person with an activated microphone is in the conference.

Finally, you should secure the SIP endpoint so that it is not unnecessarily bombarded with connection requests by bots. To do this, you need the IP address of your SIP provider from which it will connect to your server as soon as a call comes in. For sipgate you can find a list of all used IP addresses here.

iptables -A INPUT -i eth0 -p tcp --dport 5060 -s 0.0.0.0/0 -j REJECT
iptables -A INPUT -i eth0 -p udp --dport 5060 -s 0.0.0.0/0 -j REJECT
iptables -A INPUT -i eth0 -p tcp --dport 5080 -s 0.0.0.0/0 -j REJECT
iptables -A INPUT -i eth0 -p udp --dport 5080 -s 0.0.0.0/0 -j REJECT
iptables -I INPUT -p udp --dport 5060 -s 217.10.79.9 -j ACCEPT

Bash

If you are using the UFW firewall, the commands are as follows:

ufw deny 5060/tcp
ufw deny 5060/udp
ufw deny 5080/tcp
ufw deny 5080/udp
ufw allow proto udp from 217.10.79.9/32 port 5060

Bash

Ideally, you should add them to /etc/bigbluebutton/bbb-conf/apply-config.sh so that they are applied each time you start BBB.

Thats all....

(thx to SWEETGOOD )

Detlef

tech amlotus

unread,
Dec 9, 2021, 9:20:42 AM12/9/21
to BigBlueButton-dev
look again the error appeared: error 1002 
Reply all
Reply to author
Forward
0 new messages