Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > BOOK: Professional XMPP Programming with JavaScript and jQuery
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 23rd, 2010, 05:35 PM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default flXHR Security Exception with Dig

Hi,

I have worked my way to Chapter 7 with little issues till now. I am getting a flXHR security exception when I try to login to my XMPP account with Dig.

- The code is from the download and is unchanged.
- I have tried two different accounts and both give me the same error.
- My accounts are at chatmask.com and programmer-art.org.

Any idea what the problem might be?

(I am enjoying the book, BTW).

-Grant
  #2 (permalink)  
Old February 24th, 2010, 12:21 AM
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

I'm glad you're enjoying the book!

A first thing to try would be to check that the latest version of the code has the same problem. You can find it at http://github.com/metajack/profxmpp.

The next thing to check is what is the BOSH service URL you are using? Is it http://bosh.metajack.im:5280/xmpp-httpbind? Or is it something else?

Next, remember that flXHR-using code must be run from an http:// URL. It won't work if you run it file file:// URLs due to Flash security policy.

It sounds like a browser or flash security policy violation.

jack.
  #3 (permalink)  
Old February 24th, 2010, 12:35 AM
Registered User
 
Join Date: Feb 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried your latest code - same problem.

Some more info. I am running Windows 7/IE8 and have the same problem with Firefox. With Firefox, the status says "Connecting to localhost..." and never gets any further.

I am using your BOSH service as you point to it - unchanged.

I am using IIS as my webserver. However, I have the XMPP test site over at port 8080 as my mainline development is on 80. This has not been a problem till chapter 7.

Thanks,
Grant
  #4 (permalink)  
Old April 15th, 2010, 01:09 AM
Wrox Author
Points: 702, Level: 10
Points: 702, Level: 10 Points: 702, Level: 10 Points: 702, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

And the test setup on 8080 is the same that you used for all the previous chapters?

A flxhr exception should only happen if you use a file:// URL or you use a BOSH connection manager which is not serving crossdomain.xml.

What version of IE is this?
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Exception aliusmankhan ASP.NET 2.0 Professional 6 July 21st, 2008 11:21 AM
Security Exception Rubie .NET Framework 1.x 0 April 18th, 2006 01:34 PM
Security exception akibaMaila VB.NET 2002/2003 Basics 3 June 30th, 2005 01:29 PM
Security Exception skyler ASP.NET 1.0 and 1.1 Professional 0 June 24th, 2005 12:47 AM
Security Exception shahchi1 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 April 24th, 2005 07:08 PM



All times are GMT -4. The time now is 02:21 PM.


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