当在Nexus平板电脑使用HTTPS Adob​​e AIR的移动应用程序出现故障,但它只是对Kindle的 [英] Adobe AIR mobile app fails when using HTTPS on Nexus tablet, but works on Kindle

查看:142
本文介绍了当在Nexus平板电脑使用HTTPS Adob​​e AIR的移动应用程序出现故障,但它只是对Kindle的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好了4个小时烧了,所以我转向所以希望寻求帮助。

Ok, 4 hours burned, so I'm turning to SO in hope for help.

下面是这样你就可以快速了解事实:

Here are the facts so you can understand quick:

  • 我们有一个现有的AIR移动应用程序,我的笔记本电脑运行正常,而且我们同时在HTTP模式下测试的每一个Android设备(的Kindle,Nexus的,华硕A100)

  • We have an existing AIR Mobile app that runs fine on my laptop, and every Android device we've tested while in HTTP mode (Kindle, Nexus, Asus A100)

当我们切换到HTTPS,笔记本电脑和Kindle设备将连接到服务器

As soon as we switched to HTTPS, only the laptop and Kindle devices will connect to the server

在其他设备,我得到一个FaultEvent返回,错误说:发送失败Channel.Connect.Failed错误NetConnection.Call.Failed的 https://www.example.com/flex2gateway/cfamfsecure/

On the other devices, I'm getting a FaultEvent returned, and the error says: "Send Failed. Channel.Connect.Failed error NetConnection.Call.Failed https://www.example.com/flex2gateway/cfamfsecure/"

我可以打上面URL上的Nexus / A100在浏览器中并返回,就像预期的一个空白页

I can hit the URL above on the Nexus/A100 in a browser and it returns a blank page just as expected

使用相同连接的基于Flex的应用程序已经被罚款了多年没有的问题 - 这是第一个AIR应用程序然而,使用HTTPS连接

Flex-based apps using this same connection have been fine for years without problem - this is the first AIR app to use that HTTPS connection however

我使用的是圈养运行时功能

I'm using the Captive Runtime feature

Col​​dFusion的9后端

ColdFusion 9 backend

我无法调试的网站流量,因为它只发生在平板电脑上,而我目前不知道如何捕捉流量在平板电脑上,就像我可以在我的笔记本电脑Fidder(研究现在)

I can't debug the web traffic because it only happens on the tablet, and I currently don't know how to capture traffic on a tablet, like I can on my laptop with Fidder (researching now)

我会提供您所需要的任何其他信息,并尽可能快地 - 只要让我知道

I will provide any other info you need, and as quickly as possible - just let me know.

除了上面的,我也看了一些其他的东西,如:,确保crossdomain.xml文件存在且正确设置,更改CF的服务-config.xml文件等的设置。

Other than the above, I've also looked at a few other things like: Ensure that the crossdomain.xml file exists and is setup properly, change the setting in CF's services-config.xml file, etc.

我目前的想法是,也许它是与链接中的SSL证书 - 如可能的根CA是不信任的Nexus的什么? (这是GlobalSign根CA)或有东西在Flex天,IE /代理做的默认浏览器是怎样的?

My current thought is that maybe it has something to do with chaining in the SSL Cert - like maybe the Root CA isn't trusted on the Nexus or something? (Which is GlobalSign Root CA) Or it has something to do with the default browser like in the Flex days and IE/proxies?

从来没有见过这个,所以我会采取力所能及的帮助,我可以得到的。

Never seen this before, so I'll take whatever help I can get.

[增订]:我创建了一个小样本,你可以用它来复制这个问题: https://www.dropbox.com/s/5nmilo3tbwr2k8d/HTTPTestSource.zip

[UPDATED]: I have created a small sample you can use to replicate this issue: https://www.dropbox.com/s/5nmilo3tbwr2k8d/HTTPTestSource.zip

这将包含你所需要的一切:源代码,编译后的.air(桌面),编译.apk文件(适用于Android设备)。桌面工作正常,在HTTP和HTTPS,而移动APK只适用于HTTP。我还包含一个样本CFC把你自己的服务器上,如果你想要的。

It will contain everything you need: source, compiled .AIR (for desktop), compiled .APK (for android device). The Desktop works fine in HTTP and HTTPS, whereas the mobile APK only works for HTTP. I've also included a sample CFC to put on your own server if you want.

感谢远阅读本!

推荐答案

【解析】

嗯,我得到了它的工作我的情况 - 希望这可以帮助别人

Well, I got it working for my situation - hope this helps for others.

问题是,AIR圈养运行。它似乎没有使用HTTPS时工作。我不得不切换到它,因为我的第一个发展的硬件是一个烧火,和AIR运行时为$ P $上的Kindle Fire对安装,但我需要的是最新版本的AIR。所以,我就打开了圈养运行,并继续我的快乐的方式。

The problem is the AIR Captive Runtime. It doesn't seem to work when using HTTPS. I had to switch to it because my first development hardware was a Kindle Fire, and the AIR Runtime is pre-installed on the Kindle Fire, but I needed the most recent version of AIR. So, I just turned on the Captive Runtime and went on my merry way.

当我们去现场,我们改变了终点,以我们的HTTPS服务器和点燃继续工作,所有的其他平板电脑失败了。

When we went live, we changed the endpoint to our HTTPS server and the Kindles continued to work, where all other tablets failed.

要解决这个问题,我关掉圈养运行并重新编译,现在取消后/重新安装它适用于所有的平板电脑, 除了 Kindle Fire的,这是我'会只需要提供不同的安装对。

To fix this, I turned OFF Captive Runtime and recompiled, and now after un/reinstalling it works on all my tablets, except the Kindle Fire, which I'll just have to provide a different install for.

希望这有助于其他那里有同样的问题。

Hopefully this helps others out there having the same problem.

这篇关于当在Nexus平板电脑使用HTTPS Adob​​e AIR的移动应用程序出现故障,但它只是对Kindle的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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