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 August 29th, 2016, 02:05 AM
Registered User
 
Join Date: Aug 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default set up xmpp server

hello everyone,

I am following the book professional programming with jquery and javascript. The hello example is working fine . But when I try to change the URL "http://bosh.metajack.im:5280/xmpp-httpbind" with my local server http://localhost:7070/http-bind/ nothing is happening.

I have installed openfire and using the built BOSH connection manager. I have defined the crossdomain.xml file also.

when I run hello.html on browser I see only three xml response

first response -
<body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" from="10.222.12.73" authid="14h3ztjg0o" sid="14h3ztjg0o" secure="true" requests="2" inactivity="30" polling="5" wait="60" hold="1" ack="3247935772" maxpause="300" ver="1.6">
<stream:features>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>DIGEST-MD5</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>ANONYMOUS</mechanism>
<mechanism>CRAM-MD5</mechanism>
</mechanisms>

second response
<body xmlns="http://jabber.org/protocol/httpbind" ack="3247935773">
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09IjEwLjIyMi4xMi43MyIsbm9uY2U9IjVTdU03 U2VCYzIrck9qS0NRY3lxSndYWko4OTdtcWV5WFFuVlRtZFkiLH FvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1 LXNlc3M=</challenge>
</body>

third response
<body xmlns='http://jabber.org/protocol/httpbind' ack='3247935774'><failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure></body>


Can someone help me how to configure the server. I am using apache server





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to transfer information with XMPP François BOOK: Professional XMPP Programming with JavaScript and jQuery 1 August 6th, 2015 09:40 AM
Openfire and xmpp:restart sarahgt BOOK: Professional XMPP Programming with JavaScript and jQuery 1 February 5th, 2012 08:10 PM
Establishing XMPP connection badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 0 January 20th, 2011 06:27 PM
XMPP server authentication badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 1 January 17th, 2011 01:50 PM
What about NoSQL over xmpp? flossy BOOK: Professional XMPP Programming with JavaScript and jQuery 2 June 28th, 2010 02:22 PM





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