gpt4 book ai didi

apache-flex - 启用rtmfp时,FMS服务器每天都会死亡

转载 作者:行者123 更新时间:2023-12-03 16:56:18 25 4
gpt4 key购买 nike

我有一个运行视频聊天室应用程序的fms 3服务器。除每天都会死一次或两次之外,它运转良好。重新启动fms服务器后,一切都会恢复正常。

我真的需要知道fms服务器为何会死的原因。

我查看了它的日志,看到了很多
“服务器拒绝了无效的流程。”

任何提示将是最大的欢迎。

最佳答案

尝试与服务器的对等ID建立P2P连接可能导致此错误。与服务器的连接需要使用
http://forums.adobe.com/thread/845685

i believe the problem is that you are attempting to make a P2P connection to the server's peer ID; that is, something like

var ns:NetStream = new NetStream(netConnection, netConnection.farID);

ns.play(...);

under the covers, this will open a new RTMFP flow to the server that will appear to the server as a new incoming client, but the initial handshake will be incorrect (the first/only command message is "play" instead of "connect"). i see this on Cirrus all the time.

it's possible that FMS doesn't account properly when rejecting these flows (leaving the connection count higher than it should be), or perhaps it leaves the flow open waiting for a "connect" message that will never come, so the connection count is legitimately higher than you think it is.

in any case, make sure you're not opening a P2P stream to the server's peer ID.


但是,此错误实际上可能与崩溃无关。另外,您甚至确定FMS崩溃了,而不仅仅是您的应用程序崩溃了吗?如果只是您的应用程序,请查看您的应用程序日志(而不是核心FMS日志),如果您没有任何有用的信息,请向您的应用程序添加更多日志。

关于apache-flex - 启用rtmfp时,FMS服务器每天都会死亡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6273460/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com