Closed
Description
I have upgraded hackney from 1.20 to 1.23 and I noticed some of my http requests are failing with nxdomain
in my gitlab ci job. I am using hackney through tesla lib.
Trace
[hackney trace 80 <0.798.0> 2025:02:27 10:33:43 4446] request
Content: [{module,hackney},
{line,313},
{method,get},
{url,{hackney_url,hackney_tcp,http,<<"rabbitmq:15672">>,
<<"/api/vhosts">>,<<"/api/vhosts">>,<<>>,<<>>,
"rabbitmq",15672,<<>>,<<>>}},
{headers,[{<<"authorization">>,<<"Basic Z3Vlc3Q6Z3Vlc3Q=">>},
{<<"content-type">>,<<"application/json">>}]},
{body,[]},
{options,[{pool,default}]}]
[hackney trace 60 <0.798.0> 2025:02:27 10:33:43 4447] no proxy env setup, request without proxy
Content: [{module,hackney},{line,695}]
[hackney trace 60 <0.798.0> 2025:02:27 10:33:43 4448] connect
Content: [{module,hackney_connect},
{line,32},
{transport,hackney_tcp},
{host,"rabbitmq"},
{port,15672},
{dynamic,true}]
[hackney trace 80 <0.798.0> 2025:02:27 10:33:43 4450] no socket in the pool
Content: [{module,hackney_pool},{line,88},{pool,default}]
[hackney trace 60 <0.798.0> 2025:02:27 10:33:43 4452] happy eyeballs, try to connect using IPv6
Content: [{module,hackney_happy},
{line,32},
{hostname,"rabbitmq"},
{port,15672},
{timeout,8000}]
[hackney trace 80 <0.798.0> 2025:02:27 10:33:43 4464] connect error
Content: [{module,hackney_pool},
{line,108},
{pool,default},
{error,{error,nxdomain}}]
[hackney trace 80 <0.798.0> 2025:02:27 10:33:43 4464] connect error
Content: [{module,hackney_connect},{line,238}]
Metadata
Metadata
Assignees
Labels
No labels