Comments (4)
Okay, i looked at the code and found that you use the ProxyAgent class from the undici library. This class supports HTTP and HTTPS proxies but no SOCKS proxies.
from viewtube.
Now when i try wget --no-check-certificate -e use_proxy=yes -e http_proxy=172.17.0.1:1080 -O output.txt https://api.ipify.org/
it returns my normal ip, not the ip of the proxy
While wget --no-check-certificate -e use_proxy=yes -e https_proxy=172.17.0.1:1080 -O output.txt https://api.ipify.org/
returns Connecting to 172.17.0.1:1080... failed: Connection refused.
from viewtube.
Okay i fixed it by using cmj2002/warp-docker#7
I added this to my services:
warp-viewtube: image: caomingjun/warp container_name: warp-viewtube restart: always ports: - '1080:1080' environment: - WARP_SLEEP=2 - WARP_LICENSE_KEY=key cap_add: - NET_ADMIN sysctls: - net.ipv6.conf.all.disable_ipv6=0 - net.ipv4.conf.all.src_valid_mark=1 volumes: - ./warp-data/cloudflare-warp:/var/lib/cloudflare-warp networks: - viewtube
and then i changed the proxy url to http://warp-viewtube:1080
from viewtube.
Not really a fix, but good enough for me
from viewtube.
Related Issues (20)
- Request to youtube failed with status 400 HOT 1
- GET "/api/videos/[......]" :500 HOT 1
- Unable to Input YouTube Shortcut Keys During Account Login or Registration While Video Plays in Background HOT 1
- Allow to run as non-root user in docker HOT 1
- The video doesnโt play on IOS, but the audio plays.
- Error building a development branch HOT 2
- Raspberry pi and mongodb HOT 1
- Error 500 on a livestream HOT 1
- Disable recommended videos
- Add Admin option to enable/disable the proxy
- Error 500 on some videos and channels HOT 1
- Video player stopped working on latest dev version
- Add contributors HOT 4
- Video stuck loading with unreliable internet connection
- Does not play on iOS
- Does viewtube support ipv6? HOT 2
- Unsubscribe doesn't work as expected
- Search returns 0 results
- Compile error '@/buildMetadata.json' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewtube.