Facing the ICE 1004 Error in BBB installed on linux dedicated server

343 views
Skip to first unread message

part...@gmail.com

unread,
Aug 1, 2020, 3:26:38 AM8/1/20
to BigBlueButton-Setup
I have installed big blue button on my linux server where i test https://test.bigbluebutton.org/ where microphone is able to connect successfully without any errors on chrome but when i run my url and make test it throw error.Screenshot_13.png


part...@gmail.com

unread,
Aug 1, 2020, 3:45:42 AM8/1/20
to BigBlueButton-Setup
I cleared my chrome cache as well everything i done what it needs but on incognito window its working fine.

bayden10

unread,
Aug 1, 2020, 11:51:11 AM8/1/20
to BigBlueButton-Setup
hi but did you clear all data and cookies?

part...@gmail.com

unread,
Aug 2, 2020, 6:09:13 AM8/2/20
to BigBlueButton-Setup
Yes i did also getting audio issues a lot . When participants more than 4 voice issue comes.

bayden10

unread,
Aug 2, 2020, 12:49:36 PM8/2/20
to BigBlueButton-Setup
What are the resource specs of this dedicated bare-metal server?

and
bbb=conf --check

Do you have face the same issues here?
Message has been deleted
Message has been deleted

part...@gmail.com

unread,
Aug 2, 2020, 3:38:46 PM8/2/20
to BigBlueButton-Setup
No i am not facing any issue on test one its work fine. Let me share my conf file

******************

Screenshot_1.png
Screenshot_2.png
Screenshot_5.png

******************



part...@gmail.com

unread,
Aug 2, 2020, 3:40:08 PM8/2/20
to BigBlueButton-Setup
Also when people more than 3 voice issues like echo come.

bayden10

unread,
Aug 2, 2020, 3:45:13 PM8/2/20
to BigBlueButton-Setup
my replies are being deleted by someone.. sorry

B10

Fred Dixon

unread,
Aug 2, 2020, 4:10:11 PM8/2/20
to BigBlueButton-.
Hi,

>Also when people more than 3 voice issues like echo come.

Are your users using headsets?  The browsers have built in acoustic echo cancellation (AEC), and Chrome does the best.  We recommend Chrome and FireFox, and the newest Chromium-based version of Edge, with BigBlueButton and that users wear headsets (with microphones) to prevent echo.

Regards,... Fred


On Sun, Aug 2, 2020 at 3:45 PM bayden10 <jimira...@gmail.com> wrote:
my replies are being deleted by someone.. sorry

B10

--
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/3b016509-b670-4b25-82d7-f95e81aaea19o%40googlegroups.com.


--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton

parth goel

unread,
Aug 2, 2020, 7:59:34 PM8/2/20
to bigbluebu...@googlegroups.com, jimira...@gmail.com
We cannot tell everyone to wear headsets . It's not about headphones it's about microphone as well. It's not compulsory every one having headphones. 

Hello Jim have you looke into the issue ?

bayden10

unread,
Aug 2, 2020, 9:33:55 PM8/2/20
to BigBlueButton-Setup
Hi,

I think this is what I posted earlier.
It appears it might be a config issue.

Can you check here and make changes:

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (try this first - restart bbb-conf --restart & test)

<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

If still an issue try this (restart bbb-conf --restart & test)

<param name="wss-binding"  value="174.141.228.66:7443"/>

Also check here and add STUN if required: Use your favorite STUN server

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (restart bbb-conf --restart & test)

stunServerAddress=STUNSRV-IPADD (e.g. stun.3cx.com=51.38.45.26)
stunServerPort
=3478

then try

/opt/freeswitch/etc/freeswitch/vars.xml (restart bbb-conf --restart & test)

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

Are you running your own TURN server?
Quick test if above does not work then temp disable UFW and test.
Check to see if TCP port 7443 is trying to get out, you may need to open this on UFW if so.

Hope this helps.

~b10

part...@gmail.com

unread,
Aug 3, 2020, 5:11:46 AM8/3/20
to BigBlueButton-Setup
Can you check here and make changes: DONE

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (try this first - restart bbb-conf --restart & test)

<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

If still an issue try this (restart bbb-conf --restart & test)

<param name="wss-binding"  value="174.141.228.66:7443"/>
******* DON'T KNOW ABOUT IT 

Also check here and add STUN if required: Use your favorite STUN server

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (restart bbb-conf --restart & test)

stunServerAddress=STUNSRV-IPADD (e.g. stun.3cx.com=51.38.45.26)
stunServerPort=3478
******* 

then try

/opt/freeswitch/etc/freeswitch/vars.xml (restart bbb-conf --restart & test)

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

I am still getting the issue 

Screenshot_1.png
Screenshot_2.png

part...@gmail.com

unread,
Aug 3, 2020, 5:15:04 AM8/3/20
to BigBlueButton-Setup
Also here is my  WebRtcEndpoint.conf.ini  
DON'T KNOW WHAT TO ADD here in turn server and where to change 

 ;; External (public) IP address of the media server.
;;
;; If you know what will be the external or public IP address of the media server
;; (e.g. because your deployment has an static IP), you can specify it here.
;; Doing so has the advantage of not needing to configure STUN/TURN for the media
;; server.
;;
;; STUN/TURN are needed only when the media server sits behind a NAT and needs to
;; find out its own external IP address. However, if you set a static external IP
;; address with this parameter, then there is no need for the STUN/TURN
;; auto-discovery.
;;
;; The effect of this parameter is that ALL local ICE candidates that are
;; gathered (for WebRTC) will contain the provided external IP address instead of
;; the local one.
;;
;; <externalAddress> is an IPv4 or IPv6 address.
;;
;; Examples:
;; externalAddress=10.20.30.40
;; externalAddress=2001:0db8:85a3:0000:0000:8a2e:0370:7334
;;
;externalAddress=10.20.30.40

;; Local network interfaces used for ICE gathering.
;;
;; If you know which network interfaces should be used to perform ICE (for
;; WebRTC connectivity), you can define them here. Doing so has several
;; advantages:
;;
;; * The WebRTC ICE gathering process will be much quicker. Normally, it needs
;;   to gather local candidates for all of the network interfaces, but this step
;;   can be made faster if you limit it to only the interface that you know will
;;   work.
;;
;; * It will ensure that the media server always decides to use the correct
;;   network interface. With WebRTC ICE gathering it's possible that, under some
;;   circumstances (in systems with virtual network interfaces such as
;;   "docker0") the ICE process ends up choosing the wrong local IP.
;;
;; <networkInterfaces> is a comma-separated list of network interface names.
;;
;; Examples:
;; networkInterfaces=eth0
;; networkInterfaces=eth0,enp0s25
;;
;networkInterfaces=eth0

;; STUN server IP address.
;;
;; The ICE process uses STUN to punch holes through NAT firewalls.
;;
;; <stunServerAddress> MUST be an IP address; domain names are NOT supported.
;;
;; You need to use a well-working STUN server. Use this to check if it works:
;;
;; From that check, you should get at least one Server-Reflexive Candidate
;; (type "srflx").
;;
stunServerAddress=172.217.212.127
stunServerPort=19302

;; TURN server URL.
;;
;; When STUN is not enough to open connections through some NAT firewalls,
;; using TURN is the remaining alternative.
;;
;; Note that TURN is a superset of STUN, so you don't need to configure STUN
;; if you are using TURN.
;;
;; The provided URL should follow one of these formats:
;;
;;   * user:password@ipaddress:port
;;   * user:password@ipaddress:port?transport=[udp|tcp|tls]
;;
;; <ipaddress> MUST be an IP address; domain names are NOT supported.
;; <transport> is OPTIONAL. Possible values: udp, tcp, tls. Default: udp.
;;
;; You need to use a well-working TURN server. Use this to check if it works:
;;
;; From that check, you should get at least one Server-Reflexive Candidate
;; (type "srflx") AND one Relay Candidate (type "relay").
;;

;pemCertificate is deprecated. Please use pemCertificateRSA instead
;pemCertificate=<path>
;pemCertificateRSA=<path>
;pemCertificateECDSA=<path>

part...@gmail.com

unread,
Aug 3, 2020, 7:30:03 AM8/3/20
to BigBlueButton-Setup
Also facing screen sharing issues multiple screen is creating automatically
Screenshot_1.png

bayden10

unread,
Aug 3, 2020, 10:09:57 AM8/3/20
to BigBlueButton-Setup
Hi, 

when you screen share select another application or screen other than your session as this is what will happen. 
Open a PowerPoint presentation first before starting your session, to screen share.
Your WebRtcEndpoint.conf.ini requires a good STUN IP. Use 51.38.45.26, the one I provided for 3cx.com. Make sure to change the port number to 3478

It seems you have audio now.


screenshare.png



~b10

part...@gmail.com

unread,
Aug 3, 2020, 11:52:57 AM8/3/20
to BigBlueButton-Setup
Can u tell me where should i replace with to ..

here is my file of stun one below -
On Monday, 3 August 2020 at 14:45:04 UTC+5:30 part...@gmail.com wrote:

bayden10

unread,
Aug 3, 2020, 12:02:29 PM8/3/20
to BigBlueButton-Setup
I think you need to check these first as requested.

part...@gmail.com

unread,
Aug 3, 2020, 12:16:58 PM8/3/20
to BigBlueButton-Setup
Whar should i check these first as requested ?
 The steps u told me before i did that already .
Now in this file where i have to change and what udp and tcp ports i have to open ?

bayden10

unread,
Aug 3, 2020, 12:39:29 PM8/3/20
to BigBlueButton-Setup


On Sunday, 2 August 2020 21:33:55 UTC-4, bayden10 wrote:

Are you running your own TURN server?

~b10

part...@gmail.com

unread,
Aug 3, 2020, 1:00:54 PM8/3/20
to BigBlueButton-Setup
I have not done anything i just run the command
 wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh |  bash -s -- -v xenial-220-beta -s live.onmouseclick.online -e x...@gmail.com -g

bayden10

unread,
Aug 3, 2020, 1:12:18 PM8/3/20
to BigBlueButton-Setup
Hmm, Is there a reason why you are running the Beta DEV when v2.2.21 is stable and running on test BBB? Your images show v2.2.20 running. I'm not sure I understand your direction here.

It would be best to review the documents for installation and the use of a TURN server installation and the correct install script.

part...@gmail.com

unread,
Aug 3, 2020, 1:13:49 PM8/3/20
to BigBlueButton-Setup
Is there any option i can update from  v2.2.20  to   v2.2.21  ? 

part...@gmail.com

unread,
Aug 3, 2020, 1:17:41 PM8/3/20
to BigBlueButton-Setup

What is   v2.2.20 how i can check that ? 

bayden10

unread,
Aug 3, 2020, 1:19:55 PM8/3/20
to BigBlueButton-Setup
I believe you would need to start with a fresh BBB host if you installed the DEV on Ubuntu 16.04 with v2.2.20 running, not sure but probably a safer route.
I cannot advise any further with your current situation.

~b10

part...@gmail.com

unread,
Aug 3, 2020, 1:23:22 PM8/3/20
to BigBlueButton-Setup
I didn't install any dev. 
Any way i am just facing two issue only -

When i am speaking my voice is repeating to me after 1 second . Also screen share issues even after application window
Reply all
Reply to author
Forward
0 new messages