Avatar

Level 4

ok this is plain frustrating now. i'm getting an authToken, passing to to my authenticationKey and calling connectsessioncontain.login(); and it just keep breaking, complaining about a userName and password

i have been deliberately leaving my ACTUAL authkey etc out of my post for security reasons but ours is only a two-day old test account that can be deleted and replaced at any time, so i'm posting the ACTUAL debug error output here in the hope that someone knows why this error is happening:

my trace output:

cocomoSession.roomURL: http://connectnow.acrobat.com/sequoya2/testing123
cocomoSession.authenticator.userName:
cocomoSession.authenticator.password:
cocomoSession.authenticator.authenticationKey: exx=eDpCaW5nbyBCYW5nbzo6c2VxdW95YTI6MTIzOnRlc3RpbmcxMjM6MTAwOjgwNDhlNTlkNzI0NzczYzQzZWYwZWFhYTA0MzkyOGE1ZDIwYThjMGI=
calling cocomoSession.login();...

cocomoSession is my instance of ConnectSessionContainer. this shows that userName and password are NULL, but roomURL is a valid cocomo roomURL and that i have a genuine authenticationKey from the back end.

then, the error that is immediately thrown:


AFCS Beta Build # : 0.92
requestInfo http://connectnow.acrobat.com/sequoya2/testing123?exx=eDpCaW5nbyBCYW5nbzo6c2VxdW95YTI6MTIzOnRlc3Rpbm...
#THROWING ERROR# bad authentication key
Error: Invalid username or password:Login again
    at com.adobe.rtc.authentication::AbstractAuthenticator/onLoginFailure()[/Users/richardwillis/Documents/Flex Builder 3/CocomoSDK_0.92/src/com/adobe/rtc/authentication/AbstractAuthenticator.as:182]

having just followed the vid tutorial at http://flashrealtime.com/tuts/external-authentication-afcs.html i don't seem to be doing anything different, but i must be somehow..........................