dholesaurabhm / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

xmpphp won't connect to jabberd #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installed jabberd and create a user
2. Change the login info in sendmessage_example.php
3. Run sendmessage_example.php

What is the expected output? What do you see instead?

A message is not sent, it hangs after connecting to the server. The following 
output is see:

php sendmessage_example.php
1245261237 [INFO]: Connecting to tcp://localhost:5222
1245261237 [VERBOSE]: Socket is ready; send it.
1245261237 [VERBOSE]: SENT: <stream:stream to="harveybirdman" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" 
version="1.0">
1245261237 [VERBOSE]: Successfully sent 118 bytes.
1245261237 [VERBOSE]: RECV: <?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' id='4A392DB5' 
xmlns='jabber:client' from='harveybirdman'>

What version of the product are you using? On what operating system?

0.1 RC 1 rev 70
Ubuntu 9.04

Please provide any additional information below.

Original issue reported on code.google.com by fig...@gmail.com on 17 Jun 2009 at 5:57

GoogleCodeExporter commented 9 years ago
I switched my server to prosody and it works fine. Apparently jabberd is 
non-compliant.

Original comment by fig...@gmail.com on 18 Jun 2009 at 5:40

GoogleCodeExporter commented 9 years ago
You could also use the XMPPHP_Old class instead to work with non-XMPP 1.0 
compliant
servers.

Original comment by nathanfr...@gmail.com on 3 Aug 2009 at 10:10