connection problems with an authentication token.

I have a test application that creates a House of Java. It generates the following authentication token.

String roomName = "dynamically_created_room1";

Contact collabAcctMngr = new AccountManager (CollaborationConstants.COLLABORATION_ACCT_URL);
collabAcctMngr.login (CollaborationConstants.COLLABORATION_ACCT_ID, CollaborationConstants. COLLABORATION_ACCT_PASSWORD);
collabAcctMngr.createRoom (roomName, true); / /: removes the room to the exit
Session collabSession = collabAcctMngr.getSession (roomName);
collabSession.secret = CollaborationConstants.COLLABORATION_ACCT_SHARED_SECRET;

String token = collabSession.getAuthenticationToken (CollaborationConstants.COLLABORATION_ACCT_SHARED_SEC PENSION,
("jeff -" + "-phelps", "uid1", UserRoles.PUBLISHER);

log.info ("token =" + token);

The room is created fine.

I then run my flex app CollaborationTest

" < = xmlns:fx s:WindowedApplication ' http://ns.Adobe.com/MXML/2009 "
xmlns:s = "library://ns.adobe.com/flex/spark".
                       xmlns:rtc=" http://ns.Adobe.com/RTC "
xmlns:MX = "library://ns.adobe.com/flex/mx" >
< fx:Declarations >
<! - Place non-visual elements (e.g., services, items of value) here - >
"< rtc:AdobeHSAuthenticator id ="auth"userName =" "password =" "protocol ="rtmfp"authenticationKey ="{AUTH_KEY}"/ >
< rtc:RoomSettings id = "roomSettings" self-promotion = "true" guestsMustKnock = "false" / >
< / fx:Declarations >

< fx:Script >

<! [CDATA]

public const COLLABORATION_ACCT_URL:String = " " https://collaboration.adobelivecycle.com/endlessmind ";

public const AUTH_KEY:String = 'exx = eDpqZWZmLS1waGVscHM6OmVuZGxlc3NtaW5kOnVpZDE6ZHluYW1pY2FsbHlfY3JlYXRlZF9yb29tMTo1MDo 0YTI4NmFjN2FkYzk4ZTI3YTZkNWYwMmVhYWE5ZTgwNzUwYjRiZjFl';

private var testRoomURL:String = " " https://collaboration.adobelivecycle.com/endlessmind/dynamically_created_room1 ";

protected function button1_clickHandler(event:MouseEvent):void {}
cSession.roomURL = testRoomURL;
cSession.login ();
}

[]] >
< / fx:Script >

< mx:Panel title = "Test the ability to connect to a room with an authentication key" >
< s:Button label = "PUSH THE LOGIN" click = "button1_clickHandler (event)" / >
< rtc:ConnectSessionContainer authenticator = initialRoomSettings '{auth}"="{roomSettings}"id ="cSession' width = '100% '.
Height = "100%" autoLogin = "false" >

< / rtc:ConnectSessionContainer >
< / mx:Panel >

< / s:WindowedApplication >

When I push the button to connect, I got the following exception

requestInfo https://collaboration.adobelivecycle.com/endlessmind/dynamically_created_room1?Exx=eDpqZWZ mLS1waGVscHM6OmVuZGxlc3NtaW5kOnVpZDE6ZHluYW1pY2FsbHlfY3JlYXRlZF9yb29tMTo1MDo0YTI4NmFjN2FkY zk4ZTI3YTZkNWYwMmVhYWE5ZTgwNzUwYjRiZjFl & mode = x & xml = 0.6030149115249515
11:51:46 GMT - 0600 #THROWING ERROR # bad authentication key
Error: Invalid username or password: login again
at com.adobe.rtc.authentication::AbstractAuthenticator/onLoginFailure() [/ users/arun/work/apo nnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1104/cocomoPlayer10.1/src/com/ado be/rtc/authentication/AbstractAuthenticator.as:200]
at com.adobe.rtc.authentication::AbstractAuthenticator/onAuthorizationFailure() [/ Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1104/cocomoPlayer10.1/src com/adobe/rtc/authentication/AbstractAuthenticator.as:215]
at com.adobe.rtc.session.sessionClasses::MeetingInfoService/onComplete() [/ users/arun/work/ap onnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1104/cocomoPlayer10.1/src/com/ad obe/rtc/session/sessionClasses/MeetingInfoService.as:331]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()

Any help is greatly appreciated.

Thank you.

Jeff

I watched the news and I see a lot of message about invalid tokens. The main reason is usually that the 'shared secret' you use is bad. If please, check the value for the secret shared in the DevPortal and make sure it is what you use in your application.

Also, remember that the external authentication tokens are 'one shot': they are valid for the duration of a single session of the specified room, so if you start a room, stop it and start it again, you will have to generate new tokens.

Tags: Adobe LiveCycle

Similar Questions

  • I have connection problems with Skype video chat (Internet Explorer 8 - Windows XP pro). What I haveto do to fix this?

    I have connection problems with Skype video chat (IE 8 - XP pro.) What should I do to correct this?

    Hello

    go to skype.com and make sure you have the latest version of their software.

    Kind regards.

  • Connection problems with atheros ar9002wb-1ng

    I have 2 computers laptop toshiba satellite.  I just updated my router to Belkin ac1200 wireless router.  I'm having connection problems with my satellite l750, with atheros ar9002wb-1ng wireless network adapter - keeps disconnecting with a signal strength low however the other satellite I with a realtek rtl8188ce wireless lan has an excellent signal strength and works very well - how to fix this?   I'm not very techno so easy instructions please.  Thank you.

    Hi Jak,

    Welcome to Microsoft communities.

    I understand that the wireless connection is disconnected.

    1. don't you make recent changes that caused the problem?
    2. any message/error code?

    Try the steps in the following methods and check the status of the issue.

    Method 1:

    Using the troubleshooter from network in Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7

    Method 2:

    Configure the computer to clean start State to check software conflicts and check the status.
    http://support.Microsoft.com/kb/929135

    Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 of the article mentioned above.

    Method 3:

    Wi - Fi and in Windows network connection issues.
    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Please report if you are still having the problem. I'll be happy to provide you with additional options available that you can use to get this problem is solved.

  • connection problem with screen

    I bought a compaq presario cq61-421sa about 18 months ago, so it is now out of warranty, and I have a connection problem with my screen. the entire right is taken up by different colored about vertical lines 1 pixel everywhere and therefore can not see half the screen.

    any idea how much it would cost to get HP support to do a repair on it? as I don't have the confidence to do it myself

    Hello

    Thre are 2 things that are likely

    the video card

    (b) the screen itself

    To check this, simply connect the laptop to an external monitor (from a friend, parent,...) If nothing wrong with the external monitor, which means that the screen of the laptop is faulty, if the video card is faulty. I don't know the cost but I charge $640 plus a party; Sometiomes my recommendation is to buy a new machine.

    Kind regards.

  • Connection problems with repo SVN after SDDM 4.0.2

    Hello

    After you have installed the developer SQL 4.0.2 and import preferences. We are not able to connect to the SVN repository.

    Repository connections are preserved, but we cannot connect to the repository. We tried the condensation and creating new repository connection, but still, we cannot connect to SVN.

    Since we are able to connect with the version 4.0 and earlier, this isn't a problem with privileges on the repository.

    The error we get is svn:E200015:authentication has failed. Please check the user name and password stored in the subversion log.

    We would be very grateful response of SDDM team.

    Thank you

    Zafar

    I solved the problem by editing

    sqldeveloper\sqldeveloper\bin\sqldeveloper.conf

    adding the line

    AddVMOption - Dsvnkit.http.methods = Basic, Digest, Negotiate, NTLM,

    Thank you

  • Connection problem with the satellite C660 - 24L

    Hello world

    I have a Toshiba satellite c660 - 24L running windows 7 and have had a problem with internet connection in the last two days.

    Marketing, the internet works very well for around a minute and then I lose the connection. The computer says still connected but the network map displays a problem between the computer and the Wi - Fi router. After that restart the internet works fine again, and then disconnects after ~ 1 min.

    A few times, the computer froze, and gave me a blue screen and memory dump, and then a forced restart.

    Computer behaving the same way when connected and disconnected from the mains.

    All other devices will connect to the router talk-talk with no problems.

    Any help is appreciated, thank you in advance.

    Lewis.

    Post edited by: lewlew

    Have you noticed a few problems if you use the local network connection?
    Original Toshiba WLAN driver is pre-installed on your computer?

    To be honest, it is not easy to say why this show is starting to happen so suddenly.
    Try to back up OS to an earlier time using System Restore tool just to see if the problem will still be there.

  • Satellite L100 - connection problems with a wireless internet connection

    Hello

    I had some of my Satellite L100 connection problems to my sky wireless broadband connection. My laptop detects the connection and I have a bubble appears confirming that the wireless connection is connected. However, when I open internet explore it appears with 'cannot display the page'.

    Now, the wireless works with our other non-Toshiba laptop so I know that the connection is ok but it does not connect with my Satellite. Is there something I can do?

    Try reboot you the router. In many similar situations, it helps me.

  • NETGEAR D7000 - Mode Access Point - connection problems with iOS Devices

    Hello

    Having a problem with my Netgear D7000 in mode access point.

    My laptop (MacBook Pro) can successfully connect to WiFi and my PC connects fine cable using the D7000 as a switch.

    iOS devices, however, hurt that is to get or maintain a connection - even if they connect to and then some time later they will fall the network. Go to settings shows the client attempts to connect, but seems to be stuck with an assigned random IP (not on the subnet of law), no gateway by default, etc..

    iOS clients are an iPad 3, iPhone 5 & iPhone 5 c. All about the latest version of iOS.

    Other access points by train (Belkin, billion) that's fine.

    DHCP etc. everything is managed by my router which is a constant for all devices and access points - but I tried to change that, and he has not made a difference also.

    D7000 is on the latest firmware (v28), I tried to reset it and setting up from scratch, but no joy.

    Any ideas?

    Change the channel seems to resolved this problem.

  • Connection problems with M6 1205-dx

    I recently bought a 1205dx M6 model and am enjoy, but I'm having a problem with connectivity to the internet.

    Sometimes, the wifi adapter will totally fall signal. My laptop is about 5 feet from the router so it isn't falling because of a problem of distance it disconnects sometimes just the router for no reason. I can't click on network settings and reconnect quickly without problem, but if I'm in the middle of a Skype call or an online game it disconnects me and is aggrivating.

    The card built into the system is an AR9485 of Qualcomm Atheros 802.11b/g/n WiFi Adapter and I have everything from the BIOS updated for specific drivers for the card itself, and she continues to perform. Does anyone else know this or have a fix for this, I'd be more than happy to give it a try. Thank you!

    EDIT: I also tried the fix listed on the sticky at the top of the page, but it did not help.

    You are the very welcome.

    If all goes well, it will go around.

  • OfficeJet 6600 - reports HP Connect "problem with the printer.

    I just bought an all-in-one OfficeJet 6600 and immediately installed on my MacBook Pro. Installation went smoothly, and I used it for scanning and printing. I am very happy. However, I noticed that HP Connect reports "Issue with printer." Well, it worked fine, so I ignored the error and continued to work.

    Tonight, I have installed the printer on a Windows 7 laptop. At HP Connect, it is always now reports "Problem with printer." That's it - no further details and no symptoms of any kind of problem. How to diagnose the 'problem' and how to fix it?

    Hi there, I know this may seem illogical, but I wouldn't worry too much about the problem with the printer State message in connected HP. I saw myself sometimes, and I was able to print successfully from a mobile device to the printer which connected HP indicated that there is a problem. Have you tried to send a job by using either the application mobile ePrint or to the e-mail address of printers for the printer in question?

    On the Windows 7 machine, you can also download and run the HP print and Scan Doctor to confirm there is no problem with the connection to the computer on which is installed the software of the printer or the printer hardware. Be aware, however, that the application is compatible with the Windows operating system only, so you cannot run it on the Mac computer, but unless you are having problems printing from Mac to the printer, there is no reason to suspect that anything is wrong.

    Hope that makes sense, but post comes back with other questions.

    Best.

  • Nook Color ereader &amp; connectivity problems with router WRT610N

    I recently bought a new Nook color ereader for my wife. As long as a network administrator, I thought that this would be an easy task to configure the ereader to connect with my Linksys WRT610N router on the 2.4 Ghz band. But I'm running problems when connecting. The question seems to have intermittent connection problems where the meals seem to see the wireless network, authenicates, tries to get an IP address, then connects for a short period or removes the signal very quickly while being right on top of the router with the device.

    By the recommendations of various forums of Nook, I had the best luck with the following...

    2.4 Ghz band settings

    SSID: NookNetwork

    Channel width: 20 GHZ

    Standard channel: 9

    SSID Broadcast: enabled

    Security mode: WPA2 Personal

    Encryption: AES

    Passphrase: set out

    Key renewal: 3600

    UPNP: disabled

    RTS: default

    Defragmentation: default

    Tag: default

    However, the problem still resides in an intermittent connection to the wireless network. I also tried various arrangements of the channel to both channels 1, 6 and 11 with my best cponnecting chance to channel 9. I also played with the security and disabled all together and have plugged but always file (will not however run the unsecured network). Also try a tag value of 75, a framework of fragmentation of 2306 and 2307 RTS setting. My computer laptop while run and connect properly.

    I use the latest software updated both on the color of the corner. I am at the end and have searched high and low to get suggestions, and have not yet reached a compatible connection. Please help... Thank you! And my wife thank you in advance! Smiles!

    Mike

    Hi death,

    Thanks again for your comments and your concerns. Really appreciated!

    I took your advice and contacted Barnes & Noble for a new replacement and am waiting for the reception of the new unit as I type. If all goes well, we have reduced the problem and the replacement ends at our misfortunes... smiles!

    I'll let you know...

    Mike

  • Connection problem with Pavilion dv6 Windows 7-64 finger print

    I'm having a problem with my finger printing system, it does not allow me to connect to windows, I tried to reload new software for the management of access software and driver updates. It is telling me that my fingerprint has not been registered, and yet I go to the application and it shows that it is registered, any side application seems to work very well. Any suggestions would be helpful.

    Problem solved, restored to an earlier point even then has been tried before.

  • Software BlackBerry made Blackberry connection problems with Outlook 2003?

    I tried to look through the forums to see if theres any other mention of this but could not find something but it definitely seems to be a problem with one of our PC

    My wife has a Win XP SP3 system and running Office 2003 and 2003 Ourlook which, until the installation of Blackberry link worked fine.  When she installed link BB and hung the BB Z10, there was questions first with him saying she had no Media Player installed... She did it... Finally after reinstalling the BB link a few times he seemed to get the message and was able to see Media Player... everything seemed fine, but I was puzzled as to why the link / Unit decided to create a new network icon for Blackberry virtual private network?  After using the link and its Z10 a few days ago she noticed that when she ran outlook 2003 on the system for some reason, she was unable to receive the incoming pop3 to his two accounts mail. She got the following error message...

    Task 'pop.gmail.com - receiving ' reported an error (0x800408FC): "the specified server name is found on the network (it might be down temporarily).» Please check that you are connected and that the server name is correct. »

    I messed around with the system for a few hours Googling the problem and changing the settings and then change their return but nothing seems to change... and then, after a restart (with not really changed parameters), he started working again?  Last night she again connected the Z10 and ran link synchronized music to his device and then tried to collect e-mails via outlook and he starts again giving an error?

    Although I am very HE warned I have only a limited knowledge of the comms etc but I think it might be something to do with the use of IPv6, we use Plusnet as an ISP and according to me, they work mainly on IPv4 currently, while we have installed IPv6 protocols check States online do not use us actually use IPv4 instead.

    I have so far not been able to solve the last problem that outlook always gives the show of error above, although on the verification of the account set up, it shows that it is configured properly and always allows him to send an email from outlook and she can always send and receive on the Z10

    Any advice on what to try to resolve this situation would be received with gratitude...

    Savel'evna

    Hey Savel'evna,

    Thanks for the quick response.

    I am pleased to see that we have highlighted in this one machine, if you will not tie the Z10 BlackBerry as modem then you can keep the VPN BlackBerry off.

    Another that what could it be causing a conflict with the BlackBerry VPN, to be honest, I have an application that causes problems with the BlackBerry VPN connection and I have to turn off sometimes.

    Feel free to let me know if you have any other questions.

    See you soon.

  • Connection problems with O2/UK

    Hi all

    II having connection problems when running my application on the network O2/UK. It is specific to the said operator then please don't direct me to General articles on connection settings (I have a simple library for dealing with this).

    I first tried WAP2, which I think I read was the best option, and it failed with the following text: "java.io.IOException: APN is not specified." Connection parameters used were: «;» ConnectionUID = WAP2 + trans"(extract from the records of service). This indicates to me that the settings in the service record are not OK...

    Then I tried wap1 with the following settings found on the web (pinstack.com):

    Gateway IP: 192.113.200.195
    Port: 9201
    APN: wap.o2.co.uk
    username: o2wap
    password: password

    with this, I have net.rim.device.cldc.io.waphttp.WAPIOException. The parameters can of course be wrong (that's the point of not having them in the camera, as do all other manufacturers, BTW...). Y at - there someone here who has done other app works with o2 UK without resorting to the BIS? Any help is appreciated.

    Thank you

    Laszlo

    1. If you try WAP 2.0 TCP, then instead of '+' it probably should be a space in the ConnectionUID. It should read "ConnectionUID = WAP2 trans. You probably get a sign '+' because you think you need exhaust URL parameters, which is not the specific case for RIM connection settings.

    2. If you try Direct TCP (aka carrier TCP today), then take a look here: http://www.filesaveas.com/gprs.html I got a card SIM O2 (contract) and the "Mobile Web" APN settings worked very well.

  • iPhone/iPad connectivity problem with of 5508 WLC

    Hello

    We are implementing a new Cisco 5508 WLC and C3602I LWAP corporate wireless network. Us are not running no matter what RADIUS or EAP for now and start with WPA2 / AES with a pre-shared to start flying.

    The question that we are conducting is based iOS devices (iPhone/iPad) don't seem to want to connect. We just get one couldn't enter wireless messages. We had success with several portable Windows-based, my MacBook connects, as well as several different Android devices.

    Looking at the logs on the WLC I see those entries that correspond to the MAC address of my iPhone.

    * apfMsConnTask_6: 17:25:20.620 Jul 17: % CSA-3-CHECK_SUPP_RATES_FAILED: apf_utils.c:376 could not check support rate. Lack of support rate. Length: 0 mobile MAC: 24:ab:81:92:4 d: 97.

    Does anyone has any ideas or have encountered this problem before?

    Any help would be greatly appreciated.

    Thank you!

    Andrew

    What is happening with several iDevices?  Can you try to restart one of these iDevices, because there seems to be a problem with the unit and not the wireless.

Maybe you are looking for

  • 4MOT/4 Error Code / 40000003:HDD - 1229

    I ran AHT and has got a unique error code- 4MOT/4 / 40000003:HDD - 1229 Disk utility does not show a problem. It is a mid 2010 27 "iMac. Do I need to have the hard drive replaced?

  • Cover of podcast not updated

    Hi, my Podcast cover photo does not update. We changed it weeks and we followed the size 1400 x 1400 and is 300 KB. The episode is updated with the exception of the cover photo You can help me solve this problem. Thank you! https://iTunes.Apple.com/a

  • Password locked phone

    MY mother had forgotten the code and locked phone.  Any way to fix without going to the Apple Store?

  • Cannot start my Satellite A100 - 1 G - the battery light just flashes

    I have a laptop A100 - 1 G. Indicator of battery showed low and I plugged the power supply for the laptop and he showed the connection was made, later she flashed low battery connect to the power (although it was still connected) and then he would fl

  • Traffic lights for Multisim project

    Hello, I am designing a traffic light work for the sides both n/s and E/S of traffic (i.e. six lights). I'll build it later, for real, using the model of Elvis II. I was looking around other patterns on the web, I attracted many of these about Multis