CentOS 6 上 Red5 安装应用Async Error问题解决方法

问题描述

在CentOS 6上通过 Red5 安装应用时,App列表显示为空,勾选debug框,显示如下所示:

CentOS 6 上 Red5 安装应用Async Error问题解决方法_第1张图片


错误文本如下:

Host: localhost
Trying to connect
Net status: NetConnection.Connect.Success
Got the application list
Async Error: [AsyncErrorEvent type="asyncError" bubbles=false cancelable=false eventPhase=2 text="Error #2095" error=ArgumentError: Error #1063]


解决方法

[root@thomas]# vi /usr/lib/red5/red5.sh

export JAVA_OPTS="$LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS"

修改为

export JAVA_OPTS="$LOGGING_OPTS $SECURITY_OPTS $JAVA_OPTS -Dhttp.proxyHost=hostname.tld -Dhttp.proxyPort=8080"

保存 red5.sh 文件后,

执行如下命令重启red5服务:

[root@thomas]# service red5 restart


再次打开网页:http://localhost:5080, 点击“ Install  a ready-made application",终于出现安装列表了

CentOS 6 上 Red5 安装应用Async Error问题解决方法_第2张图片



你可能感兴趣的:(CentOS 6 上 Red5 安装应用Async Error问题解决方法)