PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /var/www/ws/vendor/workerman/workerman/Connection/TcpConnection.php on line 729
Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /var/www/ws/vendor/workerman/workerman/Connection/TcpConnection.php on line 729
SSL Handshake fail as server.
Buffer:4c4953480d0a2431370d0a736f636b65742e696f23656d69747465720d0a2435330d0a9283a47479706502a46461746192a56576656e74ab7061796c6f616420737472a36e7370a12f82a5726f6f6d7390a5666c616773900d0a
/var/www/wsClient # php test.php
PHP Fatal error: Uncaught exception 'RedisException' with message 'read error on connection' in /var/www/wsClient/src/Emitter.php:131
Stack trace:
#0 /var/www/wsClient/src/Emitter.php(131): Redis->publish('socket.io#emitt...', '???type??data??...')
#1 /var/www/wsClient/test.php(9): SocketIO\Emitter->emit('event', 'payload str')
#2 {main}
thrown in /var/www/wsClient/src/Emitter.php on line 131
// Below initialization will create a phpredis client, or a TinyRedisClient depending on what is installed
$emitter = new SocketIO\Emitter(array('port' => '6379', 'host' => '127.0.0.1'));
// broadcast can be replaced by any of the other flags
$emitter->broadcast->emit('other event', 'such data');
Press Ctrl+C to stop. Start success.
PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /var/www/ws/vendor/workerman/workerman/Connection/TcpConnection.php on line 729
Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /var/www/ws/vendor/workerman/workerman/Connection/TcpConnection.php on line 729
SSL Handshake fail as server.
Buffer:6c6973680d0a2431370d0a736f636b65742e696f23656d69747465720d0a2436380d0a9283a47479706502a46461746192ab6f74686572206576656e74a9737563682064617461a36e7370a12f82a5726f6f6d7390a5666c61677381a962726f616463617374c30d0a
static void snd_timer_notify1(struct snd_timer_instance *ti, int event)
{
struct snd_timer *timer;
unsigned long flags;
unsigned long resolution = 0;
struct snd_timer_instance *ts;
struct timespec tstamp;
if (timer_tstamp_monotonic)
do_posix_clock_monotonic_gettime(&tstamp);
else
getnstimeofday(&tstamp);
if (tu->last_resolution != resolution || ticks > 0) {
if (timer_tstamp_monotonic)
do_posix_clock_monotonic_gettime(&tstamp);
else
getnstimeofday(&tstamp);
}