Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Force ipv4 for youtube-dl

Chocobozzz782720031a7a
diff --git a/config/default.yaml b/config/default.yaml
index 8d3a5cd969..4d1a0961ff 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -843,7 +843,7 @@ import:
python_path: '/usr/bin/python3'
# IPv6 is very strongly rate-limited on most sites supported by youtube-dl
- force_ipv4: false
+ force_ipv4: true
# By default PeerTube uses HTTP_PROXY and HTTPS_PROXY environment variables
# But you can specify custom proxies for youtube-dl because remote websites (like YouTube) may block your server IP address
diff --git a/config/production.yaml.example b/config/production.yaml.example
index f9bb033f0d..18ceae8377 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -853,7 +853,7 @@ import:
python_path: '/usr/bin/python3'
# IPv6 is very strongly rate-limited on most sites supported by youtube-dl
- force_ipv4: false
+ force_ipv4: true
# By default PeerTube uses HTTP_PROXY and HTTPS_PROXY environment variables
# But you can specify custom proxies for youtube-dl because remote websites (like YouTube) may block your server IP address