flex : 随机 NetConnection.Call.Failed: HTTP: 失败 [英] flex : Random NetConnection.Call.Failed: HTTP: Failed

查看:29
本文介绍了flex : 随机 NetConnection.Call.Failed: HTTP: 失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在使用 flex 4 mx.messaging.channels::SecureAMFChannel 时遇到一些随机的 NetConnection.Call.Failed: HTTP: Failed

我们的本地服务器(服务器/客户端在同一台机器上)从来没有出现过这个问题,但是当我们上线时,一些用户随机遇到了这个问题(大约 800 个测试版用户的 5%).

最近,我终于能够在一台客户端机器(Windows XP)上,在我们的局域网中使用同一局域网中的远程服务器(但不是在其他共享同一局域网且配置大致相同的客户端机器).

当发生这种情况时:

  • 使用 firebug/flashbug :我可以看到 amf 请求已发送并等待响应.
  • 在服务器上,日志中没有任何内容(未收到请求).
  • 一段时间后,客户端显示上述错误(http 代码 404).
  • 然后对于后续的请求,一切都会恢复正常,直到错误最终再次发生

(客户端为 Windows XP,Firefox + adobe flash player,服务器为 WebSphere 7)

我的问题是:有没有办法找出发生了什么?是丢包吗?是因为客户端浏览器/adobe player吗?

谢谢

使用 Wireshark(在客户端和服务器端),我可以看到当问题发生时没有建立 tcp 连接:- Firebug 检测到传出的 http amf 请求- Wireshark 未检测到任何一侧的任何活动.

所以它绝对是 Adob​​e Flash 插件/Firefox 插件容器,对吗?这是一个已知问题吗?

解决方案

设置浏览器的代理参数解决了问题(自动检测"或系统代理"的无代理").

选择代理后,Adobe Flash 插件似乎丢失了.

We are experiencing some random NetConnection.Call.Failed: HTTP: Failed when using the flex 4 mx.messaging.channels::SecureAMFChannel

We have never had this problem in our local servers (server/client on the same machine), but when we went live, some users experienced this problem randomely (about 5% of the 800 beta users).

Lately, at last i was able to reproduce the problem every once in a while on one client machine (windows XP), in our LAN using a remote server in the same LAN (but not on other client machines who share the same LAN and are roughly the same configuration).

And when this happens:

  • Using firebug / flashbug : I can see that the amf request is sent and waiting for a response.
  • On the server there is nothing in the logs (no request received).
  • After some timeout, the client shows the above error (http code 404).
  • Then for the subsequent requests, everything returns to normal untill the error eventually happens again

(Clients are Windows XP, Firefox + adobe flash player, Server is WebSphere 7)

My questions are: is there a way to find out what's going on ? is it a packet loss ? is it because of the client browser / adobe player ?

Thank you

[Edit]

Using Wireshark (on both the client and server side), i can see that when the problem occurs no tcp connection is made: - Firebug detects an outgoing http amf request - Wireshark doesn't detect any activity on either side.

So it's defenitly Adobe Flash Plugin / Firefox plugin container, am i right ? is that a known issue ?

解决方案

Setting the proxy parameters of our browser resolved the problem ("No Proxy" instade of "Automatic detection" or "system proxy").

It looks like Adobe Flash plugin gets lost when a proxy is selected.

这篇关于flex : 随机 NetConnection.Call.Failed: HTTP: 失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆