Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What should I write in terminal to send message? #95

Open
kagulik opened this issue Nov 22, 2017 · 0 comments
Open

What should I write in terminal to send message? #95

kagulik opened this issue Nov 22, 2017 · 0 comments

Comments

@kagulik
Copy link

kagulik commented Nov 22, 2017

All I am trying to do is send message.

Command in terminal is php -f echobot.php [email protected] 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...

What should I write to send message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant