Skip to content

iox-sql: IPv6 address parser defect #11

@lmangani

Description

@lmangani

The current implementation of the iox sql dataSourceName parameter doesn't support parsing IPv6 addresses with ports.
When a domain resolving to an IPv6 address is used the function works as expected, confirming underlying IPv6 works fine.

Opening this issue to track and provide a fix.

Example

When configuring an IPv6 address

  dataSourceName: "iox://[xxxx:yyyy:1:::zzzz]:8082/company_sensors?secure=false",
"transport: Error while dialing dial tcp: address xxxx:yyyy:1:::zzzz:8082: too many colons in address"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions