On Tue, 2008-12-02 at 23:48 +0000, Darren wrote:
> I'm trying to connect to an SSL server, but I keep on getting these errors:
> ---------
> PHP Warning:  stream_socket_accept(): SSL operation failed with code 1. 
> OpenSSL Error messages:
> error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in 
> C:\scripts\bouncer.php on line 273
> PHP Warning:  stream_socket_accept(): Failed to enable crypto in 
> C:\scripts\bouncer.php on line 273
> PHP Warning:  stream_socket_accept(): accept failed: The operation 
> completed successfully.
>   in C:\scripts\bouncer.php on line 273
> ---------
> 
> Line 273: while ($client = stream_socket_accept($srv_socket)) {
> 
> Over the past few days of searching I've found a lot of people asking a 
> similar thing but without any answers. I've tried the latest PHP 
> snapshot too.
> 
> Can anyone here give any insight to these errors??
> 
> Thanks for any help
> Darren
> 
I believe this shares something in common with another thread [Slow File
Download]. Sockets on IIS using SSL has some problems. It's possible
that the one you're suffering here is where IIS closes the connection
prematurely. I have no idea how to solve this, but there are a number of
answers to something similar on the PHP manual pages as far as I know.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to