p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional XMPP Programming with JavaScript and jQuery (http://p2p.wrox.com/forumdisplay.php?f=542)
-   -   source code problem (http://p2p.wrox.com/showthread.php?t=78379)

cometta February 27th, 2010 03:33 AM

source code problem
 
i like your book very much. i able to connect properly on chapter 8 to jabber.org but for chapter 9 ,chapter 7, chapter 11, my firebug give me below error

15, securityError, A security sandbox error occured with the flXHR request.
http://10.1.1.2/~user/metajack/scripts/flensed.js
Line 12

is there something wrong with the code?

metajack March 10th, 2010 07:54 PM

What BOSH service URL are you attempting to use? The one in the book (http://bosh.metajack.im:5280/xmpp-httpbind)?

This looks like a simple security policy violation. Did the other chapters work just not this one?

cometta March 10th, 2010 09:33 PM

hi
 
Yup, i'm using the default bosh you specified. I use it to connect to jabber.org. for chapter 8, it's ok, but other 7,9,11 chapters not ok. how to troubleshoot this?

metajack April 14th, 2010 06:53 PM

It appears you are accessing you application from http://10.1.1.2/~user/metajack/foo

Is that correct? The flash plugin will not work if you attempt to access the app from a file:// URL.


All times are GMT -4. The time now is 05:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.