【发布时间】:2020-06-01 16:17:32
【问题描述】:
我正在尝试 AntMedia EE 试用版
我正在使用位于 https://ant.techrova.in/LiveApp/conference.html
(内置演示)
加入房间被禁用,我检查控制台
我收到这些错误
到 'wss://ant.techrova.in/LiveApp/websocket' 的 WebSocket 连接 失败:WebSocket 握手期间出错:意外的响应代码: 404
不知道怎么解决?
这是我的 apache 代理配置
对于http
<VirtualHost *:80>
ServerName ant.techrova.in
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:5080/
ProxyPassReverse / http://127.0.0.1:5080/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =ant.techrova.in
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
对于 https
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName ant.techrova.in
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:5080/
ProxyPassReverse / http://127.0.0.1:5080/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLCertificateFile /etc/letsencrypt/live/ant.techrova.in/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ant.techrova.in/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
=====================
请帮忙解决这个问题
【问题讨论】:
标签: sockets https websocket webrtc ant-media-server