cmullaparthi / ibrowse

Erlang HTTP client
Other
515 stars 191 forks source link

how to debug cause of crash #136

Closed shankardevy closed 8 years ago

shankardevy commented 8 years ago

I have a lot of crashes like below in my log. I am using HTTPotion for requesting about 5000 different urls every minute. The information in the log is not sufficient for me to see which url caused the error, at least that's how it looks for me.

Can anyone decipher the error log below for me?

** (exit) an exception was raised: ** (ArgumentError) argument error (kernel) gen_tcp.erl:148: :gen_tcp.connect/4 (ibrowse) src/ibrowse_http_client.erl:758: :ibrowse_http_client.send_req_1/8 (stdlib) gen_server.erl:629: :gen_server.try_handle_call/4 (stdlib) gen_server.erl:661: :gen_server.handle_msg/5 (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3 
=CRASH REPORT==== 19-Oct-2015::05:50:07 === crasher: initial call: ibrowse_http_client:init/1 pid: <0.10840.7> registered_name: [] exception exit: badarg in function gen_server:terminate/7 (gen_server.erl, line 826) ancestors: [<0.25175.0>,ibrowse,ibrowse_sup,<0.44.0>] messages: [] links: [] dictionary: [{my_trace_flag,false},{ibrowse_trace_token,["360",58,"80"]}] trap_exit: true status: running heap_size: 987 stack_size: 27 reductions: 636 neighbours:
cmullaparthi commented 8 years ago

Hi Shankar,

Is this still a problem for you?

cmullaparthi commented 8 years ago

Closing because of lack of information