Skip to content

Binding to IPv6 ports prevents start #546

Closed
@BenIsenstein

Description

@BenIsenstein

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The edge runtime server fails to run when receiving an IPv6 host from the --ip option. Ex. "::", "::1"
The error logged is Error: invalid IPv4 address syntax

To Reproduce

git clone https://github.com/BenIsenstein/supabase-edge-runtime-ipv6-bug && \
cd supabase-edge-runtime-ipv6-bug && \
docker build -t supabase-edge-runtime-ipv6-bug . && \
docker run -p 9000:9000 supabase-edge-runtime-ipv6-bug

Expected behavior

The server is able to run listening for IPv6 connections.

Screenshots

No screenshots.

System information

  • OS: MacOS working in Docker
  • Edge Runtime Version: v1.67.4

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions