Giter Site home page Giter Site logo

Comments (4)

iwannet avatar iwannet commented on June 3, 2024

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.

iwannet avatar iwannet commented on June 3, 2024

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.

iwannet avatar iwannet commented on June 3, 2024

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.

iwannet avatar iwannet commented on June 3, 2024

Not really a fix, but good enough for me

from viewtube.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.