« Back to Installation

Unable to Login on CAXL Core API Sample Client in IE9

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi
   I found problem when try to login to CAXL Core API Sample Client in IE9. I used local ip to create httpBindingURL and used https,
   For example, httpBindingURL is https://xx.xx.xx.225:7335/httpbinding. when I type this url on IE9, I found certificate error.
   IF I used default httpBindingUR, I'm not found this problem. How to solve this problem?
Thank you for help and suggestion
 Trinnachart

Trinnachart,
You have to generate a self-signed server certificate on your local server since your are using https (SSL).
Hope this help,
Howard

Thank you Ting-Hao Chen
             This is more information
             Web Server IP: http:xx.xx.xx.230:8080/ ==> local ip
             BOSH Server IP: https://xx.xx.xx.225:7335/httpbinding ==> local ip
             If I install web server and BOSH server on same server, Can I solve this problem?

Hi Ting-Hao Chen,
I installed self-signed server certificate but I can't solve the problem, I think IE have problem about "Ajax Cross Domain" in file "Stream.js".

What response did you get when you put your BOSH server IP "https://xx.xx.xx.225:7335/" into browser?
you should get soemthing like below...If yes, then just put this as your httpbinding address.

This URI is for XMPP communication via the BOSH protocol.
Please reference the following protocols:

RFC 3920: Extensible Messaging and Presence Protocol (XMPP): Core
RFC 3921: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence
XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH)
XEP-0206: XMPP Over BOSH

Hi Ting-Hao Chen
            I got message like your post, when I put BOSH server ip into browser. If I try to login to CAXL Core API Sample Client in IE9, I found problem, then I'm debugging into sourcecode, I found error on file "Steam.js" at line 388 >>> var xhr = jabberwerx.$.ajax(setup);. I think the problem arises because ajax call to other ip (BOSH server ip) and IE think it's unsafe.

trinnachart ngakhaw:
Hi Ting-Hao Chen
            I got message like your post, when I put BOSH server ip into browser. If I try to login to CAXL Core API Sample Client in IE9, I found problem, then I'm debugging into sourcecode, I found error on file "Steam.js" at line 388 >>> var xhr = jabberwerx.$.ajax(setup);. I think the problem arises because ajax call to other ip (BOSH server ip) and IE think it's unsafe.

I am finding the EXACT same problem. It fails on the ajax call, but only in IE 9. The exact same html works fine in Firefox.
I am hoping someone can help here.
 

I'm checking on the compatibility now, will update you once confirmed...
 
Howard

For IE8/IE9, all BOSH requests (original or "see-other-uri") MUST have the same protocol as the page origin.

If the page was loaded from "http", all BOSH requests MUST go to "http" URLs; if the page was loaded from "https", all BOSH requests MUST to go "https" URLS.
This is a restriction Microsoft has placed into their support for CORS, and cannot be bypassed.
Please try setting up a local webserver to host the CAXL sample and you should be able to get it connected without problem.
Thanks,
Howard