Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with hackney 1.6.6 #226

Closed
raymondboswel opened this issue Feb 27, 2017 · 7 comments
Closed

Issue with hackney 1.6.6 #226

raymondboswel opened this issue Feb 27, 2017 · 7 comments

Comments

@raymondboswel
Copy link

I noticed that my external calls on our development server started failing. After some head scratching and posting to requestb.in I noticed that the content-type header is duplicated as follows:

Content-Type: application/json, application/json

When I updated my local hackney to 1.6.6 I found the same behaviour. I'm not sure if this is a bug with HTTPoison or hackney, so posting here first.

My project uses Elixir 1.4.2 and HTTPoison 0.9.2.

@nlap
Copy link

nlap commented Feb 28, 2017

Looks like a fix is coming at benoitc/hackney#388

To get up an running in the meantime I set {:hackney, "1.6.5", override: true}

@xinz
Copy link
Contributor

xinz commented Feb 28, 2017

@nlap, thanks for your rollback suggestion before fix in the hackney 1.6.6

@raymondboswel
Copy link
Author

That's what I also ended up doing. Thanks!

@fpalluel
Copy link

Whoah, this one made me sweat a lot !!! A project suddenly stopped sending mail through Bamboo, had to debug it down to hackney...
Thanks @nlap !

@xinz
Copy link
Contributor

xinz commented Mar 2, 2017

This issue has been fixed by hackney benoitc/hackney#388 , please upgrade to hackney 1.7.0 to verify your case.

@xinz
Copy link
Contributor

xinz commented Mar 2, 2017

Before the PR #228 is accepted, if we want to choose the upgrade solution to fix this issue, we can manually upgrade with the hackney fixing in the mix projectmix.exs as:

 {:hackney, "~> 1.7.0", override: true},

@edgurgel
Copy link
Owner

edgurgel commented Mar 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants