electric-sql / electric-sql/electric

Sources with IPv4 address based hosts still attempt to connect over ipv6

Open
#3,130 2 comments 0 reactions 1 assignee Claimed by @magnetised View on GitHub
triage
Dominant language
TypeScript
Stars
10.4k
Forks
375
Avg merge
3d 1h
Merged PRs (30d)
18

Description

**Versions**

- Electric: main

**Bug description**

If you configure a db with host `127.0.0.1` the connection resolver treats it as a hostname and tries to connect over ipv6.

**Expected behavior**

The connection resolver should recognise an IP address and pre-emptively configure the ipv6 support based on the address class

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.