hackney icon indicating copy to clipboard operation
hackney copied to clipboard

Proxy configuration not used when using follow_redirect

Open edgurgel opened this issue 8 years ago • 10 comments

Apparently using follow_redirect and a proxy won't work for the following requests.

Initially reported by https://github.com/edgurgel/httpoison/issues/112

edgurgel avatar Jan 22 '16 08:01 edgurgel

@edgurgel I think I'm currently hitting this problem. I need HTTPoison to follow redirects as I get back a 302, but then I end up with a timeout as it can't follow the redirect.

cbarratt avatar Mar 02 '16 11:03 cbarratt

@edgurgel I need to write a test for it. Maybe we could use mitmproxy for it ? What do you think?

benoitc avatar Mar 02 '16 20:03 benoitc

Awesome idea. If you are busy I can set up a failing test and send a PR so we can investigate. I can send the PR this weekend!

edgurgel avatar Mar 02 '16 22:03 edgurgel

@edgurgel that would be very helpful. I will wait over the week-end then and work on other parts :)

benoitc avatar Mar 02 '16 23:03 benoitc

:ok_hand:

edgurgel avatar Mar 03 '16 00:03 edgurgel

Awesome stuff guys, now if I only was able to wrap my head around Erlang I'd attempt to fix this!

cbarratt avatar Mar 10 '16 11:03 cbarratt

i've run into this same issue

amokan avatar Feb 05 '17 19:02 amokan

Same issue here.

jechol avatar Apr 14 '17 07:04 jechol

Guys, any news?

atanych avatar Feb 07 '18 20:02 atanych

Can confirm the problem is still present as for 2022. Any progress?

howaboutlollmao avatar Oct 30 '22 11:10 howaboutlollmao