Wrox Programmer Forums

Need to download code?

View our list of code downloads.

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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 29th, 2016, 02:05 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
Reply


Thread Tools
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
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 07:10 PM
Establishing XMPP connection badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 0 January 20th, 2011 05:27 PM
XMPP server authentication badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 1 January 17th, 2011 12:50 PM
What about NoSQL over xmpp? flossy BOOK: Professional XMPP Programming with JavaScript and jQuery 2 June 28th, 2010 02:22 PM



All times are GMT -4. The time now is 08:22 AM.


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