We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when I connect emqx server using error information . emqx server logs encounter error .
I want to receive the on_client_connack message in the event of a client connection error so that we can troubleshoot client error messages
using emqx:4.4.14 in docker
send an incorrect connection message to the server
# other http action request is normal using this url web.hook.url = http://10.30.4.2:8090/call web.hook.headers.content-type = application/json web.hook.body.encoding_of_payload_field = plain web.hook.pool_size = 32 web.hook.rule.client.connect.1 = {"action": "on_client_connect"} web.hook.rule.client.connack.1 = {"action": "on_client_connack"} web.hook.rule.client.connected.1 = {"action": "on_client_connected"} web.hook.rule.client.disconnected.1 = {"action": "on_client_disconnected"} web.hook.rule.client.subscribe.1 = {"action": "on_client_subscribe"} web.hook.rule.client.unsubscribe.1 = {"action": "on_client_unsubscribe"} web.hook.rule.session.subscribed.1 = {"action": "on_session_subscribed"} web.hook.rule.session.unsubscribed.1 = {"action": "on_session_unsubscribed"} web.hook.rule.session.terminated.1 = {"action": "on_session_terminated"} # web.hook.rule.message.publish.1 = {"action": "on_message_publish"} # web.hook.rule.message.delivered.1 = {"action": "on_message_delivered"} # web.hook.rule.message.acked.1 = {"action": "on_message_acked"}
No response
emqx:4.4.14 in docker
$ cat /etc/os-release
NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"
$ uname -a
Linux sit 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
2023-05-06T12:10:34.862791+00:00 [error] AF02013FF66B1600P@119.123.79.47:60710 [Hooks] Failed to execute {emqx_web_hook,on_client_connack,[{undefined}]}: {error,{badkey,connected_at},[{erlang,map_get,[connected_at,#{clean_start => true,clientid => <<"AF02013FF66B1600P">>,conn_mod => emqx_connection,conn_props => #{'Session-Expiry-Interval' => 0},expiry_interval => 0,keepalive => 60,peercert => nossl,peername => {{119,123,79,47},60710},proto_name => <<"MQTT">>,proto_ver => 5,receive_maximum => 32,sockname => {{10,30,4,2},1883},socktype => tcp,username => <<"BL1032DZXTPXN4AMss">>}],[{error_info,#{module => erl_erts_errors}}]},{emqx_web_hook,on_client_connack,4,[{file,"emqx_web_hook.erl"},{line,112}]},{emqx_hooks,safe_execute,2,[{file,"emqx_hooks.erl"},{line,214}]},{emqx_hooks,do_run_fold,3,[{file,"emqx_hooks.erl"},{line,193}]},{emqx_channel,handle_out,3,[{file,"emqx_channel.erl"},{line,1837}]},{emqx_connection,with_channel,3,[{file,"emqx_connection.erl"},{line,688}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,388}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,394}]},{emqx_connection,handle_recv,3,[{file,"emqx_connection.erl"},{line,352}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}]}
The text was updated successfully, but these errors were encountered:
没人理我。。
Sorry, something went wrong.
Will be fixed in v4.4.19
thanks for you reply , we are very much looking forward to emqx 4.4.19
terry-xiaoyu
No branches or pull requests
What happened?
when I connect emqx server using error information .
emqx server logs encounter error .
What did you expect to happen?
I want to receive the on_client_connack message in the event of a client connection error so that we can troubleshoot client error messages
How can we reproduce it (as minimally and precisely as possible)?
using emqx:4.4.14 in docker
send an incorrect connection message to the server
Anything else we need to know?
No response
EMQX version
emqx:4.4.14 in docker
OS version
$ cat /etc/os-release
$ uname -a
Log files
The text was updated successfully, but these errors were encountered: