Created
December 23, 2020 17:22
-
-
Save kell05/9dd3ce3a52c09dd4ad003e70baee32f2 to your computer and use it in GitHub Desktop.
Error: HTTPoison error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Request | |
:hackney_trace.enable(:max, :io) | |
result = HTTPoison.get("https://www.mybramble.co.uk",[], [ssl: [{:versions, [:"tlsv1.2"]}]]) | |
# Hackney trace | |
[hackney trace 80 <0.252.0> 2020:12:23 16:40:27 4121] request | |
Content: [{module,hackney}, | |
{line,313}, | |
{method,get}, | |
{url,{hackney_url,hackney_ssl,https,<<"www.mybramble.co.uk">>, | |
<<>>,<<>>,<<>>,<<>>,"www.mybramble.co.uk",443, | |
<<>>,<<>>}}, | |
{headers,[]}, | |
{body,<<>>}, | |
{options,[{ssl_options,[{versions,['tlsv1.2']}]}]}] | |
[hackney trace 60 <0.252.0> 2020:12:23 16:40:27 4121] request without proxy | |
Content: [{module,hackney},{line,685}] | |
[hackney trace 60 <0.252.0> 2020:12:23 16:40:27 4121] connect | |
Content: [{module,hackney_connect}, | |
{line,32}, | |
{transport,hackney_ssl}, | |
{host,"www.mybramble.co.uk"}, | |
{port,443}, | |
{dynamic,true}] | |
[hackney trace 80 <0.448.0> 2020:12:23 16:40:27 4126] no socket in the pool | |
Content: [{module,hackney_pool},{line,101},{pool,default}] | |
[hackney trace 80 <0.448.0> 2020:12:23 16:40:27 4210] connect error | |
Content: [{module,hackney_pool},{line,121}] | |
{:error, %HTTPoison.Error{id: nil, reason: :closed}} | |
[hackney trace 80 <0.252.0> 2020:12:23 16:40:27 4210] connect error | |
Content: [{module,hackney_connect},{line,233}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment