BBB 2.3.0 - ICE Error 1004 with ipv4

318 views
Skip to first unread message

TOOTAi

unread,
Dec 13, 2021, 10:59:17 AM12/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, 2: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)
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/222409e5-fa48-46be-a999-2c4af37f8176n%40googlegroups.com.


Fred Dixon

unread,
Dec 13, 2021, 2: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, 4:11:39 AM12/14/21
to BigBlueButton-Setup
Hi, the version I have is from Ubuntu 18.04 with following entries:

deb https://ubuntu.bigbluebutton.org/bionic-23 bigbluebutton-bionic main

does it mean that those version are never upgraded ?

Daniel

TOOTAi

unread,
Dec 14, 2021, 8:47:23 AM12/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, 9:35:32 AM12/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 14, 2021, 10:24:14 PM12/14/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, 4:58:08 AM12/15/21
to BigBlueButton-Setup
Hi Fred. As the server is already up and running, this is what I did:

# bash bbb-install.sh -v bionic-23 -s meetings.tootai.net

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;

So I put proxy_pass https://meetings.tootai.net:7443 which is resolved with ipv6 and public ipv4: in logs I get

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, 6:17:55 AM12/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, 7:50:32 AM12/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, 4:22:23 AM12/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, 5:43:00 AM12/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, 9:42:41 AM12/28/21
to BigBlueButton-Setup
No one ?
Reply all
Reply to author
Forward
0 new messages