Aestratum server: reason: unexpected_msg

Same socket client sent the same jsonrpc requests to Aestratum server, but got different returns:

[email protected]:~/ae/fortuna33/log$ tail -f aestratum.log

2019-07-17 11:34:38.579 [info] <0.11592.0> new_client_connection, ip: {192,168,1,109}, port: 56001
2019-07-17 11:34:38.580 [info] <0.11592.0> recv_configure_req, req: #{id => 0,method => configure,params => [],type => req}
2019-07-17 11:34:38.580 [info] <0.11592.0> send_configure_rsp, rsp: #{id => 0,method => configure,result => [],type => rsp}
2019-07-17 11:34:38.582 [info] <0.11592.0> recv_subscribe_req, req: #{host => <<“192.168.1.111”>>,id => 1,method => subscribe,port => 9999,session_id => null,type => req,user_agent => <<“aeclient/1.0.0”>>}
2019-07-17 11:34:38.582 [info] <0.11592.0> send_subscribe_rsp, rsp: #{id => 1,method => subscribe,result => [null,<<“69f0df1d”>>],type => rsp}
2019-07-17 11:34:38.612 [info] <0.11592.0> handle_conn_timeout, phase: subscribed
2019-07-17 11:34:38.612 [info] <0.11592.0> close_session

============================================================

2019-07-17 11:35:40.388 [info] <0.11630.0> new_client_connection, ip: {192,168,1,109}, port: 56015
2019-07-17 11:35:40.388 [error] <0.11630.0> recv_msg, reason: unexpected_msg, msg: #{id => 0,method => configure,params => [],type => req}
2019-07-17 11:35:40.392 [info] <0.11630.0> send_unknown_error_rsp, rsp: #{data => <<“unexpected_msg”>>,id => 0,reason => unknown_error,type => rsp}
2019-07-17 11:35:40.422 [info] <0.11630.0> handle_conn_timeout, phase: connected
2019-07-17 11:35:40.423 [info] <0.11630.0> close_session

Regards,

Liu Yang