GoslingAllenLee / xmpphp

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

Will not authenticate #127

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $conn = new XMPPHP_XMPP('host.hopto.org', 5222, 'user', 'pass', 'xmpphp', 
'host.hopto.org', $printlog=true, $loglevel=4);
2. $conn->useEncryption(false);

What is the expected output? What do you see instead?
I expected Auth success! Instead I got Auth failed!

What version of the product are you using? On what operating system?
xmpphp-0.1rc2-r77

Please provide any additional information below.
I'm running an XAMPP server locally. On this server I have installed Openfire 
to run on host.hopto.org. In order to test the validity of this install I 
installed Spark. I am able to connect to Openfire on host.hopto.org just fine 
using Spark. 

I want to have a PHP script calling 
$conn->message('group@broadcast.host.hopto.org', 'This is a broadcast!'); which 
will use the broadcast plugin to send a broadcast to every person in that 
group. 

The code is a slight modification of sendmessage_example.php as noted in the 
steps to reproduce above. 

The PHP version is 5.3.5

Original issue reported on code.google.com by MajinSep...@gmail.com on 12 Feb 2013 at 11:09

GoogleCodeExporter commented 8 years ago
Apparently the user can't have capital letters .... that's the only reason I 
was failing authentication ...

Original comment by MajinSep...@gmail.com on 12 Feb 2013 at 11:23