Skip to content

Crash when handling IPv6 requests #20

Description

@vovayartsev

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"}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions