http poll

hi everybody,

i have just installed my first ejabberd, works great. i understand it comes bundled with http poll which is my specific interest at the moment. im trying to understand the inside of http poll, not just the concept of it but the protocol and what actually goes thru the wire. read thru the jabber jep-0025 http poll documentation, not much in there, so started reading the xmpp rfc 3920 and 3921, a bit too much in there. does anyone know of any documentation like 'xmpp protocol for dummies' kind of thing with reference to http poll. like: what does the http poll client send to the server to login what comes back, and so on.

still reading the rfcs and trying to make heads or tails of it, but if anyone can point me to a simpler documentation, much appreciated.

tia,
nazri shuib

If you just want to see what

If you just want to see what are the messages exchange between client and server, you only need a Jabber client with http-poll capability that allows you to see raw XML (like Tkabber, Psi, Exodus...). This way you can see XML messages on live, while you use the client.

hi badlop, thx for the rep

hi badlop,

thx for the reply.

i hv installed ejabberd with http-poll. i can go to web admin at localhost:5280. web browser at localhost:5280/http-poll/ returns an empty xml string. so i assume the http-poll is running. i hv psi running and can connect direct to localhost:5222. silly q: do i need to hv a web server running at port 80 or can psi connect direct to localhost:5280? i cannot find much info on the http-poll setup.

i tried setting up psi to go http-poll host=localhost port=5280 url=http-poll but keep getting error during proxy negotiation. im not getting the setup correct. tried changing url to localhost:5280/http-poll but still same error.

any suggestions?

tia
nazri shuib

HTTP-poll in Psi (tested with

HTTP-poll in Psi (tested with Psi 0.9.3). In Proxy Profiles:

  • Name: it isn't important
  • Type: HTTP Polling
  • Host: leave it blank
  • Port: leave it at 0
  • Polling URL: depends, but probably: http://localhost:5280/http-poll
  • Use authentication: disabled

yep that did it, thanks a mil

yep that did it, thanks a million. i thought host and port would would be the most important info but not leaving it blank to make it work..;)

regards,
nazri shuib

Syndicate content