Skip to content

GCE_METADATA_HOST env does not work with IPv6 addresses #2591

Open
@marqc

Description

@marqc

Steps to reproduce

  1. Set custom GCE_METADATA_HOST env variable to IPv6 address, i.e. ::1
  2. Observe application is trying to call invalid URL http://::1 instead of expected http://[::1]

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