jaxl / JAXL

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.
http://jaxl.readthedocs.org/
Other
379 stars 121 forks source link

Unnecessary loading of the file #70

Open bhavikdesai94 opened 8 years ago

bhavikdesai94 commented 8 years ago

i am using jaxl library in my project on mac os and set up all configuration but when i am running that project at that time its continue loading and not connecting to the server so how can i solve my problem? In my error_log file it's write like this :

27-May-2016 06:34:37 UTC] jaxl:238 - 2016-05-27 06:34:37 - strict mode enabled, adding exception handlers. Set 'strict'=>TRUE inside JAXL config to disable this [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: priv_dir, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 168 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: bosh_url, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 207 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: stream_context, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 214 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: resource, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 223 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: force_tls, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 224 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: bosh_url, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 373 [27-May-2016 06:34:38 UTC] jaxl_fsm:61 - 2016-05-27 06:34:38 - calling state handler 'setup' for incoming event 'connect' [27-May-2016 06:34:38 UTC] jaxl_socket_client:95 - 2016-05-27 06:34:38 - trying tcp://192.168.1.13:5222 [27-May-2016 06:34:38 UTC] jaxl_socket_client:104 - 2016-05-27 06:34:38 - connected to tcp://192.168.1.13:5222 [27-May-2016 06:34:38 UTC] jaxl_loop:82 - 2016-05-27 06:34:38 - active read fds: 1, write fds: 0 [27-May-2016 06:34:38 UTC] jaxl_fsm:71 - 2016-05-27 06:34:38 - current state 'connected' [27-May-2016 06:34:38 UTC] jaxl_fsm:61 - 2016-05-27 06:34:38 - calling state handler 'connected' for incoming event 'start_stream' [27-May-2016 06:34:38 UTC] jaxl_loop:82 - 2016-05-27 06:34:38 - active read fds: 1, write fds: 1 [27-May-2016 06:34:38 UTC] jaxl_fsm:71 - 2016-05-27 06:34:38 - current state 'wait_for_stream_start' [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: --with-debug-shell, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 408 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 8, Undefined index: --with-unix-sock, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 409 [27-May-2016 06:34:38 UTC] jaxl_socket_client:201 - 2016-05-27 06:34:38 - sent 177/177 of data [27-May-2016 06:34:38 UTC] jaxl_socket_client:202 - 2016-05-27 06:34:38 -  [27-May-2016 06:34:38 UTC] jaxl_loop:104 - 2016-05-27 06:34:38 - active read fds: 1, write fds: 0 [27-May-2016 06:34:38 UTC] jaxl_socket_client:188 - 2016-05-27 06:34:38 - read 257/257 of data [27-May-2016 06:34:38 UTC] jaxl_socket_client:189 - 2016-05-27 06:34:38 - <?xml version='1.0'?>stream:error/stream:error/stream:stream [27-May-2016 06:34:38 UTC] jaxl_fsm:61 - 2016-05-27 06:34:38 - calling state handler 'wait_for_stream_start' for incoming event 'start_cb' [27-May-2016 06:34:38 UTC] jaxl_fsm:71 - 2016-05-27 06:34:38 - current state 'wait_for_stream_features' [27-May-2016 06:34:38 UTC] jaxl_fsm:61 - 2016-05-27 06:34:38 - calling state handler 'wait_for_stream_features' for incoming event 'stanza_cb' [27-May-2016 06:34:38 UTC] xmpp_stream:468 - 2016-05-27 06:34:38 - no catch [27-May-2016 06:34:38 UTC] xmpp_stream:112 - 2016-05-27 06:34:38 - got invalid return value from state handler 'wait_for_stream_features', sending end stream... [27-May-2016 06:34:38 UTC] jaxl_loop:82 - 2016-05-27 06:34:38 - active read fds: 1, write fds: 1 [27-May-2016 06:34:38 UTC] xmpp_stream:115 - 2016-05-27 06:34:38 - state handler 'logged_out' returned N;, kindly report this to developers [27-May-2016 06:34:38 UTC] jaxl_fsm:71 - 2016-05-27 06:34:38 - current state 'logged_out' [27-May-2016 06:34:38 UTC] jaxl_fsm:61 - 2016-05-27 06:34:38 - calling state handler 'logged_out' for incoming event 'end_cb' [27-May-2016 06:34:38 UTC] jaxl_loop:104 - 2016-05-27 06:34:38 - active read fds: 0, write fds: 0 [27-May-2016 06:34:38 UTC] jaxl_fsm:71 - 2016-05-27 06:34:38 - current state 'disconnected' [27-May-2016 06:34:38 UTC] jaxl_loop:115 - 2016-05-27 06:34:38 - no more active fd's to select [27-May-2016 06:34:38 UTC] sendmessage:28 - 2016-05-27 06:34:38 - got on_disconnect cb [27-May-2016 06:34:38 UTC] jaxl_exception:83 - 2016-05-27 06:34:38 - got shutdown handler [27-May-2016 06:34:38 UTC] jaxl:230 - 2016-05-27 06:34:38 - cleaning up pid and unix sock files [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 2, unlink(/Applications/MAMP/htdocs/cslink/JAXL/.jaxl/run/jaxl_693.pid): No such file or directory, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 231 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 2, unlink(/Applications/MAMP/htdocs/cslink/JAXL/.jaxl/sock/jaxl_693.sock): No such file or directory, /Applications/MAMP/htdocs/cslink/JAXL/jaxl.php, 232 [27-May-2016 06:34:38 UTC] jaxl_loop:104 - 2016-05-27 06:34:38 - active read fds: 0, write fds: 0 [27-May-2016 06:34:38 UTC] jaxl_exception:66 - 2016-05-27 06:34:38 - error handler called with 2, fclose() expects parameter 1 to be resource, null given, /Applications/MAMP/htdocs/cslink/JAXL/core/jaxl_socket_client.php, 126 [27-May-2016 06:34:38 UTC] jaxl_clock:55 - 2016-05-27 06:34:38 - shutting down clock server...