Forums
« Back to Reference applications

I am not able to log in with Sample in Firefox and IE. Chrome is working.

Combination View Flat View Tree View
Threads [ Previous | Next ]
i followed the link  http://developer.cisco.com/web/jabber-developer/im-core-api-sample Its working fine in Chrome(v25.0) alone, but not working in firefox(v 20.0) or ie(v 9.0). Could any one help me run my sample in firefox and IE?

Hi Praveen,
Do you have more details about the actual error in Firefox and IE ? Does the browser console show anything wrong ? Is it a connection error ? 
What type of server (WebEx Connect or CUPS) are you using for testing ?
Thanks, Thomas

 
Hi Thomas,
I am trying to connect to sand box CUP and test(REf:http://developer.cisco.com/web/jabber-developer/testing/shared-sandbox).
I get the following error when i use the sample "Cisco AJAX XMPP Library 8.6.1 Debug/doc/examples/sampleclient.html" in Firefox(v 20.0)



Log
18:51:36:541
Note: Service discovery is disabled on the client.






Log
18:51:36:545
Cross site is true.


Log
18:51:36:548
Update _connectToNode = cup02


Log
18:51:36:555
Bosh URL is: http://cup02:7335/httpbinding


Log
18:51:36:598
network timeout retry 1


Log
18:51:37:143
network timeout retry 2


Log
18:51:37:656
network timeout retry 3


Log
18:51:38:184
Stream closedwith erroremoticonperation failed (<stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>)


Log
18:51:38:187
closed: <stream:error xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>



 
I get the following in IE 9.



Log
18:54:15:790
Note: Service discovery is disabled on the client.


Log
18:54:15:795
Cross site is true.


Log
18:54:15:797
Update _connectToNode = cup02


Log
18:54:15:800
Bosh URL is: http://cup02:7335/httpbinding



 
Works perfect in Chrome.
 
Thanks,
Praveen
 

Hi Praveen,

For IE, you have to run the sample from web server to make sure all BOSH requests (original or "see-other-uri") have the same protocol as the page origin.
In this case, the web server needs to be in "http". You should be able to get the page to work from the web server.
Hope this help
Howard