tldr-pages/tldr-python-client

TLDR doesn't work if have IPv6 address but no ipv6 connectivity

metronidazole opened this issue · 2 comments

Title explains all. tldr should either fall back to IPv4 or include a "-4" option to force IPv4 connections for accessing the data.

This was also a problem for me. Sadly my internet provider does not facilitate IPv6 yet. Disabling IPv6 fixes the issue (this page helps for arch-based distros)

And, it will get stuck without any output. Maybe a message should be output when updating the cache (just like the tldr-node-client ), and allow to set the timeout period.