yuce / teacup_nats

Teacup based NATS client for Erlang
Apache License 2.0
17 stars 9 forks source link

Error info #16

Open wwhai opened 2 years ago

wwhai commented 2 years ago

Hello yuce, I fond an error when I sub a topic:

nats:sub(Conn, <<"topic">>),

Error msg:

2021-11-29T18:26:35.062380+08:00 [error] Generic server <0.1598.0> terminating. Reason: {nats@teacup,buffer_overflow}. Last message: {'$gen_cast',{sub,<<"downstream.services.publish">>,#{},<0.1597.0>}}. State: #{auth_token => undefined,batch => [],batch_size => 0,batch_timer => undefined,buffer_size => 0,callbacks@ => #{teacup@call => fun 'nats@teacup':'teacup@call'/3,teacup@cast => fun 'nats@teacup':'teacup@cast'/2,teacup@error =>
fun 'nats@teacup':'teacup@error'/2,teacup@info => fun 'nats@teacup':'teacup@info'/2,teacup@init => fun 'nats@teacup':'teacup@init'/1,teacup@status => fun 'nats@teacup':'teacup@status'/2},data_acc => <<>>,from => undefined,handler@ => nats@teacup,key_to_sid => #{{<<"downstream.services.publish">>,<0.1597.0>} => <<"0">>},lang => <<"erlang">>,max_batch_size => 100,name => <<"teacup_nats">>,next_sid => 1,parent@ => <0.1597.0>,pass => <<"Pwa43zr2kS">>,pedantic => false,ready => false,reconnect => 5000,reconnect_try => 0,ref@ => {teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91966>},send_timeout => 10,server_info => #{},sid_to_key => #{<<"0">> => {<<"downstream.services.publish">>,<0.1597.0>}},socket@ => #Port<0.25>,ssl_required => false,transport => #{host => <<"10.55.16.242">>,options => [binary,{packet,0}],port => 4222,timeout => 1000,tls => false},user =>
<<"nats_client">>,verbose => false,version => <<"0.4.1">>}.

..........
2021-11-29T18:26:35.063877+08:00 [error] Supervisor: {local,teacup_server_sup}. Context: child_terminated. Reason: {nats@teacup,buffer_overflow}. Offender: id={teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91921>},pid=<0.1568.0>.
2021-11-29T18:26:35.063933+08:00 [error] Supervisor: {local,teacup_server_sup}. Context: child_terminated. Reason: {nats@teacup,buffer_overflow}. Offender: id={teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91936>},pid=<0.1578.0>.
2021-11-29T18:26:35.063984+08:00 [error] Supervisor: {local,teacup_server_sup}. Context: child_terminated. Reason: {nats@teacup,buffer_overflow}. Offender: id={teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91972>},pid=<0.1602.0>.
2021-11-29T18:26:35.064035+08:00 [error] Supervisor: {local,teacup_server_sup}. Context: child_terminated. Reason: {nats@teacup,buffer_overflow}. Offender: id={teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91960>},pid=<0.1594.0>.
2021-11-29T18:26:35.064076+08:00 [error] Supervisor: {local,teacup_server_sup}. Context: child_terminated. Reason: {nats@teacup,buffer_overflow}. Offender: id={teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91978>},pid=<0.1606.0>.
2021-11-29T18:26:35.064164+08:00 [error] Supervisor: {local,teacup_server_sup}. Context: child_terminated. Reason: {nats@teacup,buffer_overflow}. Offender: id={teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91929>},pid=<0.1574.0>.
2021-11-29T18:26:35.064203+08:00 [error] Supervisor: {local,teacup_server_sup}. Context: child_terminated. Reason: {nats@teacup,buffer_overflow}. Offender: id={teacup@ref,nats@teacup,#Ref<0.3896812446.1954545668.91966>},pid=<0.1598.0>.

Nats Version

"2.6.4"