Adobe AIR application does not work when using HTTPS on a Nexus tablet, but works on a Kindle

Okay, 4 hours burned, so I turn to SO in the hope of help.

Here are the facts so you can quickly understand:

  • We have an existing AIR Mobile application that works fine on my laptop and on every Android device we tested in HTTP mode (Kindle, Nexus, Asus A100).

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

  • On other devices, I return FaultEvent, and the error says: "Failed to send. Channel.Connect.Failed error NetConnection.Call.Failed https://www.example.com/flex2gateway/cfamfsecure/ "

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

  • Flex-based applications using the same connection have been without problems for many years - this is the first AIR application using this HTTPS connection, however

  • I am using the Captive Runtime function

  • ColdFusion 9 backend

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

I will provide any other information that you need, and as soon as possible - just let me know.

In addition to the above, I also considered several other things, such as: Make sure the crossdomain.xml file exists and is configured correctly, change the setting in the CF services-config.xml file, etc.

, , , - SSL - , , Root CA Nexus - ? ( GlobalSign Root CA) - , , Flex IE/?

, , .

[]: , : https://www.dropbox.com/s/5nmilo3tbwr2k8d/HTTPTestSource.zip

, : , .AIR( ), .APK( android). HTTP HTTPS, APK HTTP. CFC , .

, !

+5
3

[]

, - , .

- AIR Captive Runtime. , HTTPS. , Kindle Fire, AIR Runtime Kindle Fire, AIR. , Captive Runtime .

, HTTPS-, Kindles , .

, Captive Runtime , / , Kindle Fire, .

, , .

+4

,

, , . , crossdomain.xml, . adobe, - HTTPS, flex HTTPS.

secure = "false" allow-access-from.

<cross-domain-policy>
    <allow-access-from domain="*.mydomain.com" secure="false"/>
</cross-domain-policy>

http://livedocs.adobe.com/flex/3/html/help.html?content=security2_15.html.

, . WSDL HTTPS, WSDL HTTP://, HTTPS://, HTTP, HTTPS.

-

, , - flex http- , AIR , , flex , Air . , ( http-) ( HTTP- ).

+1

Thanks for updating your question. This certainly helped me find a solution to the problem. I installed AIR 3.7 along with the Flex 4.10 build from Apache Flex and was able to successfully connect to the https connection (using Captive runtime after exporting the release build to Flash Builder). Therefore, anyone working on this issue should just use one of the new AIR SDKs and they should solve it.

+1
source

All Articles