Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include 'lib/XmppPrebind.php';
- $host = "http://192.168.1.104";
- $username = "xyz@192.168.1.104";
- $password = "YXJpaGFudC5qYWluQGNvbnZlcmdlbmNlc2VydmljZXMuaW4=";
- $boshURI = "http://192.168.1.104/xmpp-httpbind";
- $xmppPrebind = new XmppPrebind($host, $boshURI, "", false, true);
- $xmppPrebind->connect($username, $password);
- $xmppPrebind->auth();
- $sessionInfo = $xmppPrebind->getSessionInfo();
- Fatal error: Uncaught exception 'XmppPrebindConnectionException' with message 'Invalid challenge response received' in /Applications/XAMPP/xamppfiles/htdocs/xmpp-prebind-php-master/lib/XmppPrebind.php:491
- Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/xmpp-prebind-php-master/lib/XmppPrebind.php(452): XmppPrebind->replyToChallengeResponse('<body xmlns='ht...') #1 /Applications/XAMPP/xamppfiles/htdocs/xmpp-prebind-php-master/lib/XmppPrebind.php(208): XmppPrebind->sendChallengeAndBuildDigestMd5Auth(Object(Auth_SASL_DigestMD5)) #2 /Applications/XAMPP/xamppfiles/htdocs/xmpp-prebind-php-master/test.php(10): XmppPrebind->auth() #3 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/xmpp-prebind-php-master/lib/XmppPrebind.php on line 491
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement