Muh*_*Br. 7 nginx bigbluebutton server
我已经在我的服务器上安装了 bigbluebutton,它工作正常,但突然麦克风无法再连接,一段时间后陷入“回声测试”,我会收到 1006 错误,我已经测试过:
\nFreeSWITCH fails to bind to IPV4Anchor link for: freeswitch fails to bind to ipv4\n\nIn rare occasions after shutdown/restart, the FreeSWITCH database can get corrupted. This will cause FreeSWITCH to have problems binding to IPV4 address (you may see error 1006 when users try to connect).\n\nTo check, look in /opt/freeswitch/var/log/freeswitch/freeswitch.log for errors related to loading the database.\n\n2018-10-25 11:05:11.444727 [ERR] switch_core_db.c:108 SQL ERR [unsupported file format]\n2018-10-25 11:05:11.444737 [ERR] switch_core_db.c:223 SQL ERR [unsupported file format]\n2018-10-25 11:05:11.444759 [NOTICE] sofia.c:5949 Started Profile internal-ipv6 [sofia_reg_internal-ipv6]\n2018-10-25 11:05:11.444767 [CRIT] switch_core_sqldb.c:508 Failure to connect to CORE_DB sofia_reg_external!\n2018-10-25 11:05:11.444772 [CRIT] sofia.c:3049 Cannot Open SQL Database [external]!\n\nIf you see these errors, clear the FreeSWITCH database (BigBlueButton doesn\xe2\x80\x99t use the database and FreeSWITCH will recreate it on startup).\n\n$ sudo systemctl stop freeswitch\n$ rm -rf /opt/freeswitch/var/lib/freeswitch/db/*\n$ sudo systemctl start freeswitch\nRun Code Online (Sandbox Code Playgroud)\n但这并不能解决问题。
\n这是输出bbb-conf --check:
BigBlueButton Server 2.2.20 (2037)\n Kernel version: 4.4.0-185-generic\n Distribution: Ubuntu 16.04.6 LTS (64-bit)\n Memory: 4045 MB\n CPU cores: 4\n\n/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)\n bigbluebutton.web.serverURL: https://online.vikipoyan.ir\n defaultGuestPolicy: ALWAYS_ACCEPT\n svgImagesRequired: true\n\n/etc/nginx/sites-available/bigbluebutton (nginx)\n server name: 49.12.60.238\n port: 80, [::]:80\n port: 443 ssl\n bbb-client dir: /var/www/bigbluebutton\n\n/var/www/bigbluebutton/client/conf/config.xml (bbb-client)\n Port test (tunnel): rtmp://online.vikipoyan.ir\n red5: online.vikipoyan.ir\n useWebrtcIfAvailable: true\n\n/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)\n local_ip_v4: 49.12.60.238\n external_rtp_ip: stun:stun.freeswitch.org\n external_sip_ip: stun:stun.freeswitch.org\n\n/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)\n ext-rtp-ip: $${local_ip_v4}\n ext-sip-ip: $${local_ip_v4}\n ws-binding: :5066\n wss-binding: :7443\n\n/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)\n playback_host: online.vikipoyan.ir\n playback_protocol: https\n ffmpeg: 4.2.2-1bbb1~ubuntu16.04\n\n/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)\n proxy_pass: 49.12.60.238\n\n/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)\n kurento.ip: 49.12.60.238\n kurento.url: ws://127.0.0.1:8888/kurento\n kurento.sip_ip: 49.12.60.238\n localIpAddress: 49.12.60.238\n recordScreenSharing: true\n recordWebcams: true\n codec_video_main: VP8\n codec_video_content: VP8\n\n/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)\n build: 968\n kurentoUrl: wss://online.vikipoyan.ir/bbb-webrtc-sfu\n enableListenOnly: true\n\n\n# Potential problems described below\n# Warning: API URL IPs do not match host:\n#\n# IP from ifconfig: 49.12.60.238\n# /var/lib/tomcat7/demo/bbb_api_conf.jsp: online.vikipoyan.ir\n\n\n# Warning: The API demos are installed and accessible from:\n#\n# https://online.vikipoyan.ir\n#\n# and\n#\n# https://online.vikipoyan.ir/demo/demo1.jsp\n#\n# These API demos allow anyone to access your server without authentication\n# to create/manage meetings and recordings. They are for testing purposes only.\n# If you are running a production system, remove them by running:\n#\n# apt-get purge bbb-demo\n\n# Warning: You have this server defined for https, but in\n#\n# /etc/bigbluebutton/nginx/sip.nginx\n#\n# did not find the use of https in definition for proxy_pass\n#\n# proxy_pass http://49.12.60.238:5066;\n#\n\n# Warning: You have this server defined for https, but in\n#\n# /etc/bigbluebutton/nginx/sip.nginx\n#\n# did not find the use of port 7443 in definition for proxy_pass\n#\n# proxy_pass http://49.12.60.238:5066;\n#\nRun Code Online (Sandbox Code Playgroud)\n我测试了我发现的所有内容,问题仍然存在。有什么办法吗?\n提前谢谢。
\n小智 8
运行命令:
sudo nano /etc/bigbluebutton/nginx/sip.nginx
将打开类似这样的内容:
location /ws {
proxy_pass http://49.12.60.238:4066;
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;
}
Run Code Online (Sandbox Code Playgroud)
将 (proxy_pass http://...) 行更改为以下内容:
proxy_pass https://49.12.60.238:7443;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11901 次 |
| 最近记录: |