-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How To Fix Error 1020: media cloud not reach the server #6797
Comments
Can you test against https://test.bigbluebutton.org/ and let us know if you encounter the same issue. |
This one is going to be tougher to figure out -- can you try switching your phone between a cellular and a wifi network to see if there is any difference. It might be the device, or it might be the network. The above will help us narrow it down. |
We checked at the Huawei p8 lite and Samsung J ONE from the GPRS and WIFI network, but it still remains a problem. |
Are you able to join audio from either of the phones on either GPRS or WiFi? Audio also uses WebRTC, but it goes through a different path than video. |
Hmm ... This error occurs when the server and client (BigBlueButton running within Safari) exchange possible IP addresses and ports to connect, but couldn't negotiate a connection (Interactive Connectivity Establishment). Can you go to with your phones. Click the Save Results and share the profile of your phone. This will give us a detailed profile of each phone's capabilities. On my iPhone 8 running iOS 12.2 (I tend to run beta versions of iOS, but any phone running iOS 11+ should connect), here was my score http://html5test.com/s/f8911a4312266499.html With my iPhone I'm was to join https://test.bigbluebutton.org/ and share both audio and video. |
Report review huawei p8 lite - android- chrome Please report a solution for errors Thanks for your answers |
Hi, Hmm ... html5test.com reports that your Huawei p8 lite h.264 encoding. Can you open the following link on the p8 lite and let us know if it plays http://clips.vorwaerts-gmbh.de/VfE_html5.mp4 This is an h.264 encoded file.
This looks good -- your running iOS 12.1. Can you try https://test.bigbluebutton.org/ again with sharing your audio and let us know if you still get the 1007 error. This test server is located in Canada. Where are you connecting from using your phone? |
The video file for the huawei phone was well implemented. |
The 1007 error is a networking issue. Is it an option for you to setup your own BigBlueButton server within the country and test against that server? You can set it up in about 15 minutes with |
Hello dear friend |
Hmm ... the problem seems to be Chrome sending/receiving audio. From your test
Is there anyone else who has audio working (or not) on a Huawei phone on https://test.bigbluebutton.org/? |
I did the following with phone models: And it was done in the link below: |
Hi bijism, Add to sip-profiles: /opt/freeswitch/etc/freeswitch/sip_profiles/external.xmlAdd to acl.conf.xml: /opt/freeswitch/etc/freeswitch/autoload_configs/acl.conf.xml
|
Any news on this? I had this error 1020 yesterday evening with a fresh setup of BBB and a client with Firefox on Windows 10. Constantly, with no luck even after 30 minutes. |
I got the same, with a fresh setup, no NAT on the server side. An iPad gives 1020 as soon as I switch on the camera. The same issue with another iPad in another (private) network. What information I can provide to solve the issue? |
Did you setup a TURN server? |
I have the same error on a fresh install on a Ubuntu 16.04 server, client running Firefox on Ubuntu 18.04. I looked through the various log files but was unable to find anything regarding this error. The error occurs when I try and share my webcam. When I first installed the server I was getting 1007 error for audio but video was working. I resolved the error by configuring the right external and internal IP addresses in the config files. But there was an update the last couple of days, and apt update && upgrade updated all the bbb apps. I'm seeing this media could not reach the server error only after that. |
Same error here with mobile and regular safari |
Same error here with mobile and regular safari (media could not reach the server (error 1020)) |
Same error here. Installed with bbb-install.sh. Also had the 1007 for audio. Fixed that. Now no camera. |
I have the same issue only on Safari on Mac, iPhone and IPad. I have a turn server setup. No issues in Chrome. |
Same here. A week old installation. This is the second BBB server we use, the first one is a yer old installation. On the first one everything works, on the new one (everything configured the same) some users have no problem, other get 1007 and 1020 media error. On PCs (Win 10 both Chrome and Firefox), on iPad (latest iOS Safari) and on mobile phones (Android, both Chrome and Firefox). |
Sorry folks, but posting "it's also happening to me" with no additional info just doesn't help me at all. The ones who are having 1020s, odds are it's also a configuration error. Here's a cheatsheet of what to do (you can go to bigbluebutton-setup, individually, for the second block, which I prefer because handling multiple people with potentially different issues in the same github issue is just hard):
I reviewed my firewall port mapping, UDP ports are all open, STUN server is working, got a working TURN server. Still got 1020. What do I do?Go to either bigbluebutton-setup/dev mailing lists and enter the most of what you can of the following:
|
just an update - setting up a STUN server resolved my 1020 media could not reach the server error. |
Paulo Lanzarin <notifications@github.com> (Do 02 Apr 2020 16:03:18 CEST):
- Make sure you followed the firewall and network steps **precisely**, especially https://docs.bigbluebutton.org/2.2/configure-firewall.html#extra-steps-when-server-is-behind-nat **if your server is behind NAT**. **Please make sure the STUN server you setup in Kurento is working from the BBB server** by using the stun-client package in there as following: `stun stunAddressAsInKurento:stunPortAsInKurento -v`. Look if there's a mapped IP address that reflects your server's public IP.
I got the 1020. My server is not behind NAT.
But, magically after the recent update, it seems to work. (April, 3rd, 2020)
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
|
Anyone resolved both the error ? Please send me if any help. |
@prlanzarin Thanks for your help. To anyone out there, I want to add that I tried 3 different stun servers from the list here: https://docs.bigbluebutton.org/2.2/configure-firewall.html#updating-kurento as follows I searched online I found a close stun server and finally it returned I'm not sure if those servers are still up. |
My bbb was working just fine. All of sudden What could be the reason for this to not work. |
error reproduced at https://test.bigbluebutton.org/ |
Raheel, you can check the stun server here: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ if you try the old ip adress you can see its not working anymore. It looks like that server just crashed and the owner (google) didnt restart it |
Thank you for the help. But if I type in my stun address in STUN or TURN URI it does not allow me to add the server. Am I doing something wrong? |
Remove all the servers and start clean, add one and test it, this doenst make a readable output. |
Just finished fixing this in my environment. The summary from @RohanYoon was spot on. @raheelrobson - just to check, did you follow that comment? My BBB server was also working just fine for the last couple months, then was broken yesterday. In my case, it is because Google changed the IP of the STUN server - but since BBB configures with an IP instead of a name, it was unable to follow. TL;DR fix:
|
The problem is when I connect to VPN and connect to Office internet. Then Camera etc works. Only when VPN is disconnected the problem occurs then. @RonZ-dev I also tried your methodology but the out put is same for 15 stun servers I checked. |
|
This helped! Thanks a lot man. You saved my life <3 |
you are welcome) |
I am running a BBB server behind a firewall and initially BBB worked only from PCs connected internally via LAN. The problem was the stun server with IP = 64.233.177.127 in file /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini - this stun server does not respond!!!! To test availaibility of a stun server I used free Windows stun client from http://www.stunprotocol.org/ Now one possible solution would be to find another but available stun server - there are many (see https://gist.github.com/mondain/b0ec1cf5f60ae726202e ). However you never know - maybe next time this stun server is down (unless you run your own server). I my case the solution was easy: the external IP (the public IP of the firewall) is static i.e. does not change. So as suggested by faradoxuz I uncommented the line with externalAdress and added the public IP of the firewall. Furthermore I commented the line with StunServerAdress and StunServerPort i.e. "do not use stun". Additionally I also uncommented the line networkInterfaces and added the proper interface of the BBB-server. That´s it. Don´t forget to restart BBB! |
Hola buenas noches, después de probar de muchas formas. Lo solucione agregando esta linea en Entre a este archivo = sudo nano /etc/hosts La linea corresponde a mi IP Externa seguida del nombre de mi host. En su caso reemplacen por sus datos |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please don't revive this old issue. There are many other issues about iOS/Safari problems. |
Believe me, Create your own TURN server and the issue will be resolved. I've tried a lot of things.. But no solutions were permanent but this. https://docs.bigbluebutton.org/2.2/setup-turn-server.html |
I think that will not allways work. But the error 1020 remains. On test.bigbluebutton.org the camera works. Sadly at the moment i have no idea how to find the issue. |
@parsa25eng |
@matiasilva if you want to avoid useles discussion in old issues, you should probably lock them |
Interesting.. I'll also try this solution. If this works for me too, then I'll get rid of another vps. |
Just to add to this. This post has an excellent summarized workflow for working with a server behind a NAT. |
This comment has been minimized.
This comment has been minimized.
This solution really saved my day!
|
I know this issue is closed, but I want to leave this note in case someone stumble upon this issue as I did. I had an Error 1020 when trying to share my webcam just after an update (2.6.0 to 2.6.10). But it turned out I had used the -c parameter of bbb-install.sh script, which resulted in the creation of a /etc/bigbluebutton/turn-stun-servers.xml file. I hope this little piece of knowledge can help someone out. |
Hello
How is the following problem solved?
Error 1020: media cloud not reach the server
server :
https://demo.bigbluebutton.org/
This problem has arisen when sharing webcam !!!
client test 1 :
os client : android 8.1
phone : huawei p 8 lite
browser : chrome 72
client test 2 :
os client : windows seven
webcam : microsoft 1407
browser : firefox 65
The text was updated successfully, but these errors were encountered: