IPV6 connectivity issues #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix IPV6 connectivity.
Alternatively, work with only IPV4:
IPv6 connection timeouts are causing the delay. I tested the hostname from this machine:
Synchronous HTTPX tries these addresses sequentially. Your timeout=10.0 applies to each connection attempt—not the whole request—so the two failed IPv6 attempts explain the ~20 seconds.
Curl uses Happy Eyeballs, trying IPv4 shortly after IPv6 rather than waiting for those timeouts.
To force IPv4 in src/vikunja_mcp/client.py:
transport = httpx.HTTPTransport(
local_address="0.0.0.0",
trust_env=False,
)
with httpx.Client(
transport=transport,
timeout=10.0,
trust_env=False,
) as client:
response = client.get(API_URL, headers=headers)
This bypasses the broken IPv6 connectivity without changing your system settings.