Avatar

Level 3

I know that you guys don't support Flex 4.5 yet, but, I know that eventually you will, ...

, so, I'm getting an strange error using the same code that works using Android (i.e. Air 2.5) but, does not using compiled iPhone code.

I know there's a lot going on "under the covers", but, thought you might be interested in what's occurring here and might be able to shed some light on it.

I have a room that has auto-promote turned on, and I'm logging in as a guest (i.e. no password).

I've pasted the trace (works) from Air 2.5 (Android build), and iPhone build (fails) below.  As you'll see, I get the error below (I've masked the my actual room with MYACCT/MYROOM) :

Sat Mar 12 17:35:11 GMT-0500 2011 LCCS SDK Version : 1.3.7.1 Player Version : IOS 10,2,152,2217:35:11 GMT-0500 requestInfo http://connectnow.acrobat.com/MYACCT/MYROOM?guk=ZzpHdWVzdDo=&mode=xml&x=0.38963465951383114

17:35:13 GMT-0500 LCCS SDK Version : 1.3.7.1 Player Version : IOS 10,2,152,2217:35:13 GMT-0500 requestInfo http://connectnow.acrobat.com/MYACCT/MYROOM?guk=ZzpHdWVzdDo=&mode=xml&x=0.76667327852919717:35:13 GMT-0500 #THROWING ERROR# onStatus from URLLoader. Error.: <401>17:35:13 GMT-0500 #THROWING ERROR# onError from URLLoader. Error.: <[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032" errorID=2032]>17:35:13 GMT-0500 #THROWING ERROR# onStatus from URLLoader. Error.: <401>17:35:13 GMT-0500 #THROWING ERROR# onError from URLLoader. Error.: <[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032" errorID=2032]>

The error occur below after calling cSession.login() of this code:

auth = new AdobeHSAuthenticator();
auth.userName ="Guest";
auth.requireRTMFP=false;
auth.userName ="Guest";
cSession = new ConnectSession();
cSession.authenticator = auth;
cSession.roomURL=http://collaboration.adobelivecycle.com/MYACCT/MYROOM;
cSession.login();

Also, I've tried setting requireRTMFP to true, no change in the result.  And, I've tried using "connectnow.acrobat.com" instead of "collaboration.adobelifecycle.com", with no change in result.

This is with using the 10.1 Flash-only swc, but, I've also tried the 10.0 Flash-only swc, same results.  I get the same error in the iPhone both with and without wi-fi.

Any idea why this might occur?

Here's the trace output that works from Air 2.5:

Sat Mar 12 20:16:08 GMT-0500 2011    LCCS SDK Version : 1.3.7.1    Player Version : AND 10,2,152,22
20:16:08 GMT-0500    requestInfo http://collaboration.adobelivecycle.com/MYACCT/MYROOM?guk=ZzpHdWVzdDo=&mode=xml&x=0.1332407137379050...
After login
20:16:09 GMT-0500    #TicketService# ticket received: 1mo05u9uiul9b
20:16:09 GMT-0500    Getting FMS at https://na2.collaboration.adobelivecycle.com/fms?ticket=1mo05u9uiul9b&proto=rtmfp, attempt #1/3
20:16:09 GMT-0500    result: <fms>
  <origin>fms1.acrobat.com</origin>
  <proto_ports>rtmfp:1935,rtmps:443</proto_ports>
  <retry_attempts>2</retry_attempts>
</fms>/n20:16:09 GMT-0500    protocols: [object ProtocolPortPair],[object ProtocolPortPair]/n20:16:09 GMT-0500   
[attempt 1 of 2] Connecting to 0/1: rtmfp://fms1.acrobat.com/cocomo/na2-sdk-ee3b168c-e033-482b-9aba-9c5cea3e9abc/remedy #startProtosConnect#
20:16:10 GMT-0500    tempNetStatusHandler 0/2,NetConnection.Connect.Success
20:16:10 GMT-0500    isTunneling? false
20:16:10 GMT-0500    is using RTMPS? false
20:16:10 GMT-0500    RECEIVED LOGIN AT SESSION
20:16:10 GMT-0500      .user descriptor from server [object]
20:16:10 GMT-0500        \\
20:16:10 GMT-0500        .affiliation [number]= 5
20:16:10 GMT-0500        .role [number]= 50
20:16:10 GMT-0500        .displayName [string]= Guest
20:16:10 GMT-0500        .userID [string]= GUEST-1332027F-EEED-4715-8BE7-93666E813A96/n20:16:10 GMT-0500    RECEIVENODES UserManager
20:16:10 GMT-0500    receiveAllSynchData UserManager
20:16:10 GMT-0500    RECEIVENODES FileManager
20:16:10 GMT-0500    receiveAllSynchData FileManager
20:16:10 GMT-0500    checkManagerSync:[object FileManager]
20:16:10 GMT-0500    RECEIVENODES AVManager
20:16:10 GMT-0500    receiveAllSynchData AVManager
20:16:10 GMT-0500    checkManagerSync:[object StreamManager]
20:16:10 GMT-0500    RECEIVENODES RoomManager
20:16:10 GMT-0500    receiveAllSynchData RoomManager
20:16:10 GMT-0500    checkManagerSync:[object RoomManager]
20:16:10 GMT-0500    checkManagerSync:[object UserManager]