HTTPS请求返回仅适用于Android 2032流错误使用Flex 4.6手机 [英] HTTPS request returning 2032 Stream Error only for Android with Flex 4.6 Mobile

查看:252
本文介绍了HTTPS请求返回仅适用于Android 2032流错误使用Flex 4.6手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个移动应用程序,我针对iOS和Android。这使得通过HTTPS登录请求(使用POST HTTPService在用)。一切工作正常,同时通过ADL在我的开发调试和编译和测试在iOS 4.2和iOS 5时。

在Android设备也正在HTTPS请求到其他域时正常工作,像Twitter等从我的测试应用程序中,或在设备的浏览器。

我只有一对夫妇测试Android设备,他们正在运行2.3.3,但没有将连接成功。同时通过USB调试,我可以看到HTTPService调用将返回与IOErrorEvent#2032一个FaultEvent。

经过研究,我发现,Android操作系统有一定的SSL证书的一些问题,与发行人多数民众赞成服务器上使用的威瑞信3类国际服务器CA - G3',但我还没有真正找到任何可行的解决方法/解决方案。有没有其他人遇到过吗?我知道它的pretty具体。

只是想补充一点,为0的HTTP状态code正在返回ioErrorEvent 2032分派前一刻。我检查了Adobe的API文档的HTTPStatusEvent和0似乎是默认的。 <一href=\"http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/HTTPStatusEvent.html\" rel=\"nofollow\">http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/HTTPStatusEvent.html

  HTTPStatusEvent对象是之前的错误或完成事件总是发送。一个HTTPStatusEvent对象不一定指示错误条件;它只是反映了HTTP状态code(如果有的话)是由网络堆栈提供的。一些Flash Player环境可能无法检测到HTTP状态codeS; 0状态code总是在这些情况下的报道。只是想增加额外的结果......通过测试,我们能够使用相同的证书另一台服务器上 - 尽管安全警告,我能得到我的测试Android设备上的数据。这让我觉得,这个问题可能与服务器....它是由Rackspace公司托管,因此我们要接触到他们尝试更多的故障排除。


解决方案

我有同样的问题,流错误2032 HTTPS:请求,并能够通过升级到一个新的AIR运行时解决它。我注意到一个测试设备,而不是其他上发生的错误,主要的区别在于,一个有错误的有 AIR 3.1 安装的,没有错误的人有 AIR 3.2

我们现在打包带俘虏AIR运行时应用程序(版本的 3.3 )。由于 FlashBuilder 带着 AIR 3.1 pre-安装,必须下载新的 AIR SDK 和覆盖它 FlashBuilder

I have a mobile app that I targeted for iOS and Android. It makes a login request via HTTPS (using a POST with HTTPService)..Everything works fine while debugging on my development box via ADL and when compiled and tested on iOS 4.2 and iOS 5.

The Android devices also work correctly when making HTTPS requests to other domains, like Twitter, etc. from within my test app or in the device's browser.

I only have a couple of test Android devices and they're running 2.3.3 but none will make a successful connection. While debugging via USB, I can see that the HTTPService call is returning a FaultEvent with IOErrorEvent #2032.

After researching, I found that Android OS has some issues with certain SSL certificates, and the issuer thats being used on the server is 'VeriSign Class 3 International Server CA - G3' but I haven't really found any viable workarounds/solutions. Has anyone else encountered this? I know its pretty specific.

Just wanted to add that an HTTP Status code of 0 is being returned immediately before the ioErrorEvent 2032 is being dispatched. I've checked Adobe's API docs for the HTTPStatusEvent and 0 seems to be a default. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/HTTPStatusEvent.html

HTTPStatusEvent objects are always sent before error or completion events. An HTTPStatusEvent object does not necessarily indicate an error condition; it simply reflects the HTTP status code (if any) that is provided by the networking stack. Some Flash Player environments may be unable to detect HTTP status codes; a status code of 0 is always reported in these cases. Just wanted to add additional findings...through testing we were able to use that same certificate on another server - and despite security warnings, I was able to get data on my test Android device. This makes me think that the issue may be related to the server....It's hosted by Rackspace so we're going to reach out to them to attempt more troubleshooting.

解决方案

I was having the same problem, Stream error 2032 on https: requests, and was able to resolve it by upgrading to a newer AIR runtime. I had noticed the error occurring on one test device and not the other, the main difference being that the one with errors had AIR 3.1 installed, the one without errors had AIR 3.2.

We are now packaging the app with captive AIR runtime (version 3.3). Since FlashBuilder came with AIR 3.1 pre-installed, it was necessary to download a new AIR SDK and overlay it on FlashBuilder.

这篇关于HTTPS请求返回仅适用于Android 2032流错误使用Flex 4.6手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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