Hi
this 1002 happens often when you are behind a restrictive firewall.
Have you tried to connect by a different provider, e.g. by smartphone?
regards
Reimar
On Mon, Nov 2, 2020 at 9:07 PM Alex Khimich <
khimic...@gmail.com> wrote:
>
>
> Hello.
> I'm struggling for two weeks already with ICE error 1007/1002 with no luck.
>
> I'm a teacher of anatomy and use BBB for my lessons apart from university policy to use MS Teams for covid quarantine period.
> As for me I find BBB far more convenient for lessons, I have A LOT of drawing over some pre-sampled pictures in presentations which is killing feature over Zoom & MSTeams.
>
> Before I've used version 2.2.х (not sure which "x" it was) working just fine from the box installed manually on my personal server.
> Sometimes I used to run auto-install script from Fred Dixon to fix Docker issues beyond my comprehension and it also worked like a charm.
>
> On the beginning classes in autumn semester I updated to 2.2.7 (Damn!!! Damn!!! Damn!!!) and got error with "Connection failure" (ICE error 1007).
>
> I verbatimly followed instructions "BBB behind NAT", and already tried to change local IPs to external in all mentioned configs in different variations,
> tried to change to other pre-checked stun servers, everytime re-tested with different combinations with no luck.
>
> Also, in particular in BBB 2.2.7, if I change config (/etc/bigbluebutton/nginx/sip.nginx) of nginx to external IP like instruction says:
>
> location /ws {
> proxy_pass https://(here comes my ip):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;
> }
>
> the error "Call timed out (ICE error 1006)" rises. The error 1006 is immediate, without period of "negotiation" both for WAN and LAN users, not as it happens with ICE error 1007.
> Also I tried other (pre-checked) stun servers, with same "no luck"
>
> In search of solution, decided to switch to alpha 2.3-dev on Ubuntu 18, settled hairpin NAT (can connect to domain name within LAN) and 2.3-dev works even better, reboots faster, reports lesser amount of errors in logs... But... only between devices in local network.
> From user of outside I still have ICE errors
>
> In BBB 2.3-dev if I change config (/etc/bigbluebutton/nginx/sip.nginx) with my WAN external address I get error from external connection "Could not make a WebSocket connection (error 1002)" both for LAN and WAN users.
>
> Despite this, 2.3-dev works just great within LAN network.
>
>
>
>
> Hardware
> --------------------------------------------------
> External static IP behind Mikrotik router.
> Ubuntu 16 and later 18 (for BBB 2.3-dev)
> CPU i7 4 cores 8 Gb RAM 60 Gb SSD (I do not record classes)
>
>
>
> Netcat
> --------------------------------------------------
> All tests with netcat between two servers are passed:
>
> netcat -l 80
> netcat -l 443
> netcat -u -l 18000 (And others ports from the range)
>
>
>
>
> bbb-conf --status (BBB 2.3-dev)
> ---------------------------------------------------
> root@srv:/# bbb-conf --status
> nginx —————————————————► [✔ - active]
> freeswitch ————————————► [✔ - active]
> redis-server ——————————► [✔ - active]
> bbb-apps-akka —————————► [✔ - active]
> bbb-fsesl-akka ————————► [✔ - active]
> mongod ————————————————► [✔ - active]
> bbb-html5 —————————————► [✔ - active]
> bbb-webrtc-sfu ————————► [✔ - active]
> kurento-media-server ——► [✔ - active]
> etherpad ——————————————► [✔ - active]
> bbb-web ———————————————► [✔ - active]
> root@srv:/#
>
>
>
>
>
> Sample of bbb-conf --debug
> (BBB 2.3-dev with default LOCAL IP in Nginx config)
> ---------------------------------------------------
> -- Errors found in /var/log/nginx/error.log --
> 2020/11/02 19:45:30 [error] 21294#21294: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
> 2020/11/02 19:45:30 [error] 21294#21294: *1 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
> 2020/11/02 19:45:31 [error] 21294#21294: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
> 2020/11/02 19:45:31 [error] 21294#21294: *3 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
> 2020/11/02 19:45:32 [error] 21294#21294: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
> 2020/11/02 19:45:32 [error] 21294#21294: *5 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
> 2020/11/02 19:45:33 [error] 21294#21294: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
> 2020/11/02 19:45:33 [error] 21294#21294: *7 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /bigbluebutton/api HTTP/1.1", upstream:
>
> "
http://127.0.0.1:8090/bigbluebutton/api", host: "
bbb.khimich.org"
>
>
>
>
> Sample of bbb-conf --debug
> (BBB 2.3-dev with STATIC external IP in nginx proxy_pass)
> ---------------------------------------------------
> 2020/11/02 21:36:48 [error] 25349#25349: *73 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /ws?sessionToken=qsqwvkddgim4poum HTTP/1.1", upstream: "
https://176.241.129.239:7443/ws?sessionToken=qsqwvkddgim4poum", host: "
bbb.khimich.org"
> 2020/11/02 21:36:48 [error] 25349#25349: *73 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.1, server:
bbb.khimich.org, request: "GET /ws?sessionToken=qsqwvkddgim4poum HTTP/1.1", upstream: "
https://176.241.129.239:7443/ws?sessionToken=qsqwvkddgim4poum", host: "
bbb.khimich.org"
>
>
>
> ufw
> --------------------------------------------------
> Disabled
>
>
>
> IP showed here is real, same as domain name.
> Also, despite 80 & 443 & udp 16384-32768 I tried to dst-nat all kinds of TCP ports like 5060,5066,7443,5080,6379,8021,8090,3478 also with no luck.
>
> In which direction should I dig next? Thanks for advice.
>
> --
> 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/b4368c64-e782-4aae-a8c9-5e8b545f71b5n%40googlegroups.com.