Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 4th, 2011, 02:19 AM
Registered User
 
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Smacked down before I could start

So am a bit new to XMPP, but your book gave me a much better understanding about it. Apparently not enough, cause I've hit a bit of a wall...

Debug log is as follows:

Code:
Connecting...System, 12-03-2011 22:12:42
LOG: _throttledRequestHandler called with 1 requestsSystem, 12-03-2011 22:12:42
LOG: request id 1.0 postingSystem, 12-03-2011 22:12:42
LOG: request id 1.0 state changed to 1System, 12-03-2011 22:12:42
LOG: request id 1.0 state changed to 1System, 12-03-2011 22:12:42
SEND: <body rid='4205512361' xmlns='jabber.org/protocol/httpbind'; to='xxxxxx.com:7070' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>System, 12-03-2011 22:12:42
LOG: request id 1.1 state changed to 2System, 12-03-2011 22:12:42
LOG: request id 1.1 state changed to 3System, 12-03-2011 22:12:42
LOG: request id 1.1 state changed to 4System, 12-03-2011 22:12:42
LOG: removing requestSystem, 12-03-2011 22:12:42
LOG: _throttledRequestHandler called with 0 requestsSystem, 12-03-2011 22:12:42
LOG: request id 1 should now be removedSystem, 12-03-2011 22:12:42
LOG: request id 1.1 error 404 happenedSystem, 12-03-2011 22:12:42
LOG: request errored, status: 404, number of errors: 1System, 12-03-2011 22:12:42
Disconnecting...System, 12-03-2011 22:12:42
LOG: _doDisconnect was calledSystem, 12-03-2011 22:12:42


Can you tell me possibly what I've done wrong? I'm getting disconnected before I even get a chance to attempt a test message.
 
Old February 5th, 2012, 08:14 PM
Wrox Author
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

It appears your to attribute is getting set to xxxxx.com:7070, which is the BOSH endpoint, not the XMPP endpoint. In that case, a 404 seems to make sense.

Can you post the code you are using to make the connection?





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Add the 'Start Without Debugging' icon next to 'Start With Debugging' icon btcomp BOOK: Beginning ASP.NET 4 : in C# and VB 1 August 1st, 2010 03:41 PM
don't know where to start timbal25 Access VBA 1 October 18th, 2007 02:17 PM
how to start MunishBhatia ASP.NET 3.5 Basics 3 October 1st, 2007 01:54 PM
New Start ztch BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 28th, 2007 01:03 AM
Don't know where to start......... Geneine Bugg BOOK: Beginning ASP 3.0 0 December 20th, 2006 12:00 PM





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