Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

I can't enter room

Avatar

Former Community Member

hello,

I create 4 room .

I can enter  room anyone by connectnow ,but if I use Flex, only one can enter  room ,another can't.

why?

7 Replies

Avatar

Level 3

I am having similar problems for over a week. Every third connection just hangs after getting the auth token through php and then initiating the

cSession.login(). I can connect through the dev console fine mostly. At least every second connection connects but does not display the displayName I have set, it just uses my generic name with increments of one and assigning the role of owner.

I am not sure if this will always be the case in beta or this is something that we should be highlighting. It is mostly in the last the week since my last post about "Is there server updating?"

So guys let us know if this is something you would like us to report or will it be just ongoing through the beta phase.

Just something unusual to note also. I have just switched to using Chrome browser from IE 8 and the connection success seems to have improved slightly. Still to early to be sure.

Keith

Avatar

Employee

cha yi,

can you give us more information about your app ? or, can you send the traces you see in your console window ?

Avatar

Employee

ukkpower,

you problem seems to be that your are not actully logging in multiple times, but just entering the room multiple time with the same credentials.

you mention you are using the auth token from php, so I am assuming you are trying to use external authentication. Can you post the snipped of code where you set the authenticator parameters and login ? Or, can you post the debug trace ?

Avatar

Level 3

It has happened again where after a couples of login's during testing it does not set the my inputted username but instead uses the default and always gives me a role of 100 not matter what I have passed to the php auth.

I then tried it in Chrome and it worked fine. So strangely it is only affecting my IE broswer. I am assuming now that it is not an AFCS server issue but something to do with the way IE is passing data to my php server running from my test machine.

I can see that after my first connection it is caching the auth token details.

Here is the php code:

function loginCocomo() {

  #
  # Enter your authentication details below:
  #
  $account = "hidden for this post";
  $room    = "hidden for this post";
  $devuser = "hidden for this post";
  $devpass = "hidden for this post";
  $secret  = "hidden for this post";
 
  $host  = "http://connectnow.acrobat.com";
  $accountURL = "{$host}/{$account}";
  $roomURL = "{$accountURL}/{$room}";

  session_start();
 
    $user = $_REQUEST["Cocomousername"];
    $role = $_REQUEST["role"];

    if (isset($_SESSION["XSESSION"])) {
      $session = $_SESSION["XSESSION"];
    } else {
      $am = new CocomoAccount($accountURL);
      $am->login($devuser, $devpass);
      $session = $am->getSession($room);
   
      $_SESSION["XSESSION"] = $session;
    }

$token = $session->getAuthenticationToken($secret, $user, $user, $role);

$toret = array(
  "data" => array("roomURL" => $roomURL,
      "token" => $token
  ),
  "metadata" => array()
);


return $toret;
}

Is there something I can do to prevent this do you think? Although from a users perspective they will not be logging in so many times in a short space of time. Sometimes I have multiple windows running swf file, all with different userID's.

Avatar

Former Community Member

Raff,

This question has solved by myself,because I create room only by default before.Yesterday, I try to save as template and name is "board". In board,
I create two room ,and can enter room anyone by flex. But I have three questions.
First, if I can enter room , host certain log in ? Sometime if  host don't  log in ,guest can't enter.
Second, I use FileShare ,upload  a flie show
but can upload.
Third, since I use flash player 10 , I  connect to afcs have error by internet explorer 7 .error is
ReferenceError: Error #1065: 變數 flash.media::SoundCodec 未定義。
at com.adobe.rtc.clientManagers::MicrophoneManager/get selectedMic()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:160]
at com.adobe.rtc.clientManagers::MicrophoneManager/set _1703516469micIndex()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:126]
at com.adobe.rtc.clientManagers::MicrophoneManager/set micIndex()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:122]
at com.adobe.rtc.clientManagers::MicrophoneManager()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:81]
at com.adobe.rtc.clientManagers::MicrophoneManager$/getInstance()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:93]
at com.adobe.rtc.sharedManagers::StreamManager/findCodec()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:1871]
at com.adobe.rtc.sharedManagers::StreamManager/onUserAdd()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:1843]
what happened?

Avatar

Former Community Member

Hi Cha yi -

One thing I just tried is searching the forum for this error - I hit search, then chose "more options" then chose "Adobe Flash Collaboration Service", then entered "Error #1065". This brought up the following thread :

http://forums.adobe.com/thread/40100

I also tried googling "Error #1065 AFCS", which brought up the following thread :

http://forums.adobe.com/thread/40100

That thread's got your answers!

nigel

Avatar

Former Community Member

hi nigel,

Thank you very much.I change Require Flash Player Version unser Project->Properties->Flex Compiler in Flex Builder and put that to 10.0.0  and install flex bulider 3 updates 3.2.0 ,open  internet explorer doesn't error . I so happy . Thanks.^ ^