jayswalvishwas / jaxl

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

PHP Warning: stream_socket_enable_crypto(): this stream does not support SSL/cr #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download 1.0.3 source, setup db jaxl, configure db settings.
2. Configure gmail username/pass for account.
3. run PHP index.php [command line]

What is the expected output? What do you see instead?
A connection made to the gtalk servers and bot logs in, shows online.

Currently I see the following, and do not see the bot come online, nor log
message that I have sent while it is shown as offline:

php index.php
Starting TLS Encryption...
PHP Warning:  stream_socket_enable_crypto(): this stream does not support
SSL/cr
ypto in C:\WWW\sandbox.webmojo.ca\googleBot\xmpp.class.php on line 335

Warning: stream_socket_enable_crypto(): this stream does not support SSL/crypto
in C:\WWW\sandbox.webmojo.ca\googleBot\xmpp.class.php on line 335

What version of the product are you using? On what operating system?
1.0.3 on Windows Server 2003, PHP 5.2.X.

Please provide any additional information below.
Plain vanilla code of 1.0.3 does not seem to build connection.  I do not
see the 'bot' user come online, nor do I get any other output / log.
However, in the LOG I do see:

Original issue reported on code.google.com by jakub.bi...@gmail.com on 18 Jan 2009 at 1:50

GoogleCodeExporter commented 9 years ago
hmm okay, I waited to post this issue, but after much more digging, I found the 
answer:

The error I was getting:
stream_socket_enable_crypto(): this stream does not support SSL/cr

Was cause due to not having extension=php_openssl.dll enabled in PHP.INI 
[windows]

It now works, And the client successfully connected! Thanks!

Original comment by jakub.bi...@gmail.com on 18 Jan 2009 at 1:56

GoogleCodeExporter commented 9 years ago
Marking the issue as Invalid, since you seem to have found the answer yourself.

Original comment by mailsfor...@gmail.com on 29 Jan 2009 at 1:00

GoogleCodeExporter commented 9 years ago
 jakub - my problem is okey - i stated wamp -> php_openssl

Original comment by thiwank...@gmail.com on 14 Jul 2009 at 11:36

GoogleCodeExporter commented 9 years ago
thanks  jakub.biernacki, for your post. 

Original comment by chvenka...@gmail.com on 12 Feb 2010 at 1:06

GoogleCodeExporter commented 9 years ago
D:\php5>php d:\html\jaxl\index.php
Starting TLS Encryption...
Attempting PLAIN Authentication...
Starting Session...
Requesting Feature List...
Requesting Roster List...
Setting Status...
Done

thanks for advance...!! :)

Original comment by aginda...@gmail.com on 13 Feb 2010 at 7:03

GoogleCodeExporter commented 9 years ago
ya it worked thanks dude

Original comment by chockali...@gmail.com on 11 Nov 2010 at 10:08

GoogleCodeExporter commented 9 years ago
hi,look i have the same error, and i have active the library php_openssl.dll
i use wampserver 2.1 with php 5.3.5, apache 2.2.17

PHP Warning:  stream_socket_enable_crypto(): this stream does not support SSL/cr
ypto in C:\wamp\www\Proyectos\jaxl\xmpp\xmpp.get.php on line 113
PHP Stack trace:
PHP   1. {main}() C:\wamp\www\Proyectos\jaxl\env\jaxl.php:0
PHP   2. XMPP->getXML() C:\wamp\www\Proyectos\jaxl\env\jaxl.php:53
PHP   3. XMPP->handler() C:\wamp\www\Proyectos\jaxl\xmpp\xmpp.class.php:177
PHP   4. XMPPGet::proceed() C:\wamp\www\Proyectos\jaxl\xmpp\xmpp.class.php:255
PHP   5. stream_socket_enable_crypto() C:\wamp\www\Proyectos\jaxl\xmpp\xmpp.get.
php:113

Warning: stream_socket_enable_crypto(): this stream does not support SSL/crypto
in C:\wamp\www\Proyectos\jaxl\xmpp\xmpp.get.php on line 113

Call Stack:
    0.0003     327464   1. {main}() C:\wamp\www\Proyectos\jaxl\env\jaxl.php:0
    1.1093    1161576   2. XMPP->getXML() C:\wamp\www\Proyectos\jaxl\env\jaxl.ph

please helpme!!!

Original comment by jreyne...@gmail.com on 17 Mar 2011 at 7:12

GoogleCodeExporter commented 9 years ago
thanks

Original comment by thera...@gmail.com on 22 Apr 2011 at 1:52

GoogleCodeExporter commented 9 years ago
Hi

i had enable this extension=php_openssl.dll even though i got the following 
error please help me what to do

Warning: stream_socket_enable_crypto(): this stream does not support SSL/crypto
in C:\wamp\www\Proyectos\jaxl\xmpp\xmpp.get.php on line 113

Original comment by shaik.am...@gmail.com on 16 Jul 2012 at 12:04

GoogleCodeExporter commented 9 years ago
Hi Shaik,

What version of library are you using?
Have you already switched to v3.x?

Original comment by mailsfor...@gmail.com on 17 Jul 2012 at 5:26

GoogleCodeExporter commented 9 years ago
Thankyou so much! I getter a little freak by the trouble and you clean my mind. 
Thanks!

Original comment by xanat.li...@gmail.com on 17 Jul 2012 at 2:09

GoogleCodeExporter commented 9 years ago
thanks a lot. its really helpful

Original comment by ARIFPLA...@gmail.com on 1 Dec 2012 at 11:40

GoogleCodeExporter commented 9 years ago
yes

Original comment by laksanan...@gmail.com on 18 Nov 2013 at 7:55