Asynchronous, non-blocking I/O, event based PHP library for writing custom TCP/IP client and server implementations. From it's previous versions, library inherits a full blown stable support for XMPP protocol stack. In v3.0, support for HTTP protocol stack was also added.
Command in terminal is php -f echobot.php user@domain.com password and every time library sends me to jaxl.php:564, where print_r(eval($_raw)); happens.
In terminal I get this
jaxl:203 - 2017-11-22 18:52:25 - created pid file /var/www/site1/.jaxl/run/jaxl_14077.pid
jaxl:214 - 2017-11-22 18:52:25 - dns srv lookup for jabb3r.de
jaxl_socket_client:110 - 2017-11-22 18:52:25 - trying tcp://[sender_domain]:5222
jaxl 1> jaxl_socket_server:64 - 2017-11-22 18:52:25 - socket ready to accept on path unix:///var/www/site1/.jaxl/sock/jaxl_14077.sock
PHP Warning: stream_socket_enable_crypto(): Peer certificate CN=`[receiver_domain]' did not match expected CN=`[sender_domain]' in /var/www/site1/vendor/jaxl/jaxl/src/JAXL/core/jaxl_socket_client.php on line 175
PHP Warning: stream_socket_enable_crypto(): SSL/TLS already set-up for this stream in /var/www/site1/vendor/jaxl/jaxl/src/JAXL/core/jaxl_socket_client.php on line 177
PHP Warning: stream_socket_enable_crypto(): SSL/TLS already set-up for this stream in /var/www/site1/vendor/jaxl/jaxl/src/JAXL/core/jaxl_socket_client.php on line 179
PHP Warning: stream_socket_enable_crypto(): SSL/TLS already set-up for this stream in /var/www/site1/vendor/jaxl/jaxl/src/JAXL/core/jaxl_socket_client.php on line 185
jaxl_echo_bot_default:120 - 2017-11-22 18:52:25 - got on_auth_failure cb with reason tls-negotiation-failed
jaxl_socket_client:221 - 2017-11-22 18:52:25 - socket eof, disconnecting
WHAT TO WRITE HERE?
PHP Parse error: syntax error, unexpected 'TO' (T_STRING) in /var/www/site1/vendor/jaxl/jaxl/src/JAXL/jaxl.php(563) : eval()'d code on line 1
jaxl:250 - 2017-11-22 18:53:00 - cleaning up pid and unix sock files
jaxl_socket_server:75 - 2017-11-22 18:53:00 - shutting down socket server
jaxl_clock:58 - 2017-11-22 18:53:00 - shutting down clock server...
All I am trying to do is send message.
Command in terminal is
php -f echobot.php user@domain.com password
and every time library sends me tojaxl.php:564
, whereprint_r(eval($_raw));
happens.In terminal I get this
What should I write to send message?