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

Crash when handling IPv6 requests #20

Open
vovayartsev opened this issue May 6, 2020 · 0 comments
Open

Crash when handling IPv6 requests #20

vovayartsev opened this issue May 6, 2020 · 0 comments

Comments

@vovayartsev
Copy link

Version: v0.3.1 (from hex.pm)

Environment: Phoenix app in Kubernetes, behind CloudFlare CDN

Problem:
IPv6 requests end up crashing on this line:

(reverse_proxy) lib/reverse_proxy/runner.ex:91: ReverseProxy.Runner.ip_to_string({0, 0, 0, 0, 0, 65535, 2624, 62194})

Solution
It seems to have been fixed in 36efe89 - it's just a matter of releasing it to Hex?

Temporary workaround
I switched to using this in my mix.exs

{:reverse_proxy, github: "slogsdon/elixir-reverse-proxy"}
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

1 participant