Homas / ioc2rpz

ioc2rpz is a place where threat intelligence meets DNS.
Apache License 2.0
105 stars 17 forks source link

TCP connection closed by the remote system. #4

Closed Homas closed 2 years ago

Homas commented 6 years ago

We see the following error in case if the connection was terminated on the other side (e.g. FW). We need to implement "nice error handling". 16:48:14 exception error: no match of right hand side value {error,closed} 16:48:14 in function ioc2rpz:send_dns_tcp/3 (src/ioc2rpz.erl, line 88) 16:48:14 in call from ioc2rpz:send_cached_zone/7 (src/ioc2rpz.erl, line 538) 16:48:14 in call from ioc2rpz:parse_dns_request/3 (src/ioc2rpz.erl, line 208) 16:48:14 in call from ioc2rpz:handle_info/2 (src/ioc2rpz.erl, line 58) 16:48:14 in call from gen_server:try_dispatch/4 (gen_server.erl, line 637) 16:48:14 in call from gen_server:handle_msg/6 (gen_server.erl, line 711) 16:48:14 in call from gen_server:handle_msg/6 (gen_server.erl, line 711) 16:48:14 ancestors: [ioc2rpz_sup,<0.75.0>]