Closed jroubi closed 2 years ago
I think your Docker setup is good.
I'll assume http://***
is http://something.com
. Please try from a terminal:
docker exec -it gluetun wget -qO- http://something.com
Does this output something or fail? Maybe that particular http server is down? 🤔
Thanks, I've just tried it. It returns a success from the terminal.
It's a tracker request. http://tracker.***.com:80/announce...
If I run the service through network_mode: "container:gluetun"
the requests are successful, but if I try to run them via the proxy I get the error.
Ah cool, it must be an error on the gluetun http proxy code then. It handles https correctly but probably doesn't with http. I'll fix it and get back to you.
I tried accessing http://www.wikidot.com/ (over http) and it works for me, so not a problem with the HTTP proxy so far.
Please try
docker pull qmcgaw/gluetun
(fixed reading the password and log environment variables for the proxy)
And then run gluetun with -e HTTPPROXY_LOG=on
; what are the logs for you?
Alternatively, email me your tracker http address so I can test it?
Hey @jroubi I think https://github.com/qdm12/gluetun/commit/bdc88176725690d3e9b2ec5130d91068a1fca83f should had fixed the http tracker issue with the redirection over http.
Have a go with :latest
or v3.15.0
or higher?
Hey ! Very nice.
I'm not at home for to moment, but I'll have a go at it very soon.
Thanks.
De : Quentin McGaw @.> Envoyé : 25 août 2021 13:10 À : qdm12/gluetun @.> Cc : Roub @.>; Mention @.> Objet : Re: [qdm12/gluetun] Help: Getting TCP timeouts with http proxy (#396)
Hey @jroubihttps://github.com/jroubi I think bdc8817https://github.com/qdm12/gluetun/commit/bdc88176725690d3e9b2ec5130d91068a1fca83f should had fixed the http tracker issue with the redirection over http.
Have a go with :latest or v3.15.0 or higher?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/qdm12/gluetun/issues/396#issuecomment-905718773, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS7J4PQ7Q6H4K4JXO73KIRDT6UPZBANCNFSM4YFDEHWQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.
I'm getting same : i/o timeout
when configured qbittorrent with http porxy as gluetun
2021/09/07 09:46:13 INFO storage: merging by most recent 11860 hardcoded servers and 11860 servers read from /gluetun/servers.json
========================================
========================================
=============== gluetun ================
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================
Running version latest built on 2021-09-05T22:58:18Z (commit f9cb710)
📣 Wireguard is now supported for Mullvad, IVPN and Windscribe!
🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
🐛 Bug? https://github.com/qdm12/gluetun/issues/new
✨ New feature? https://github.com/qdm12/gluetun/issues/new
☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
💻 Email? quentin.mcgaw@gmail.com
💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2021/09/07 09:46:13 INFO Alpine version: 3.14.2
2021/09/07 09:46:13 INFO OpenVPN 2.4 version: 2.4.11
2021/09/07 09:46:13 INFO OpenVPN 2.5 version: 2.5.2
2021/09/07 09:46:13 INFO Unbound version: 1.13.2
2021/09/07 09:46:13 INFO IPtables version: v1.8.7
2021/09/07 09:46:13 INFO Settings summary below:
|--VPN:
|--Type: openvpn
|--OpenVPN:
|--Version: 2.5
|--Verbosity level: 1
|--Network interface: tun0
|--Run as root: enabled
|--Encryption preset: strong
|--Nordvpn settings:
|--OpenVPN selection:
|--Protocol: udp
|--DNS:
|--Plaintext address: 1.1.1.1
|--DNS over TLS:
|--Unbound:
|--DNS over TLS providers:
|--Cloudflare
|--Listening port: 53
|--Access control:
|--Allowed:
|--0.0.0.0/0
|--::/0
|--Caching: enabled
|--IPv4 resolution: enabled
|--IPv6 resolution: disabled
|--Verbosity level: 1/5
|--Verbosity details level: 0/4
|--Validation log level: 0/2
|--Username:
|--Blacklist:
|--Blocked categories: malicious
|--Additional IP networks blocked: 13
|--Update: every 24h0m0s
|--Firewall:
|--Log:
|--Level: INFO
|--System:
|--Process user ID: 1000
|--Process group ID: 1000
|--Timezone: asia/kolkata
|--HTTP proxy:
|--Port: 8888
|--Log: enabled
|--Stealth: enabled
|--Health:
|--Server address: 127.0.0.1:9999
|--OpenVPN:
|--Initial duration: 6s
|--Addition duration: 5s
|--HTTP control server:
|--Listening port: 8000
|--Logging: enabled
|--Public IP getter:
|--Fetch period: 12h0m0s
|--IP file: /tmp/gluetun/ip
|--Github version information: enabled
2021/09/07 09:46:13 INFO routing: default route found: interface eth0, gateway 172.17.0.1
2021/09/07 09:46:13 INFO routing: local ethernet link found: eth0
2021/09/07 09:46:13 INFO routing: local ipnet found: 172.17.0.0/16
2021/09/07 09:46:13 INFO routing: default route found: interface eth0, gateway 172.17.0.1
2021/09/07 09:46:13 INFO routing: adding route for 0.0.0.0/0
2021/09/07 09:46:13 INFO firewall: firewall disabled, only updating allowed subnets internal list
2021/09/07 09:46:13 INFO routing: default route found: interface eth0, gateway 172.17.0.1
2021/09/07 09:46:13 INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
2021/09/07 09:46:13 INFO firewall: enabling...
2021/09/07 09:46:13 INFO firewall: enabled successfully
2021/09/07 09:46:13 INFO dns over tls: using plaintext DNS at address 1.1.1.1
2021/09/07 09:46:13 INFO http server: listening on :8000
2021/09/07 09:46:13 INFO healthcheck: listening on 127.0.0.1:9999
2021/09/07 09:46:13 INFO http proxy: listening on :8888
2021/09/07 09:46:13 INFO firewall: setting VPN connection through firewall...
2021/09/07 09:46:13 INFO vpn: OpenVPN 2.5.2 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 4 2021
2021/09/07 09:46:13 INFO vpn: library versions: OpenSSL 1.1.1l 24 Aug 2021, LZO 2.10
2021/09/07 09:46:13 WARN vpn: --ping should normally be used with --ping-restart or --ping-exit
2021/09/07 09:46:13 INFO vpn: TCP/UDP: Preserving recently used remote address: [AF_INET]185.240.244.251:1194
2021/09/07 09:46:13 INFO vpn: UDP link local: (not bound)
2021/09/07 09:46:13 INFO vpn: UDP link remote: [AF_INET]185.240.244.251:1194
2021/09/07 09:46:14 INFO vpn: [us8453.nordvpn.com] Peer Connection Initiated with [AF_INET]185.240.244.251:1194
2021/09/07 09:46:16 INFO vpn: TUN/TAP device tun0 opened
2021/09/07 09:46:16 INFO vpn: /sbin/ip link set dev tun0 up mtu 1500
2021/09/07 09:46:16 INFO vpn: /sbin/ip link set dev tun0 up
2021/09/07 09:46:16 INFO vpn: /sbin/ip addr add dev tun0 10.8.1.7/24
2021/09/07 09:46:16 INFO vpn: Initialization Sequence Completed
2021/09/07 09:46:16 INFO dns over tls: downloading DNS over TLS cryptographic files
2021/09/07 09:46:16 INFO healthcheck: healthy!
2021/09/07 09:46:21 INFO dns over tls: downloading hostnames and IP block lists
2021/09/07 09:46:24 INFO dns over tls: init module 0: validator
2021/09/07 09:46:24 INFO dns over tls: init module 1: iterator
2021/09/07 09:46:25 INFO dns over tls: start of service (unbound 1.13.2).
2021/09/07 09:46:26 INFO dns over tls: generate keytag query _ta-4a5c-4f66. NULL IN
2021/09/07 09:46:27 INFO dns over tls: ready
2021/09/07 09:46:30 INFO vpn: You are running 1 commit behind the most recent latest
2021/09/07 09:46:33 INFO ip getter: Public IP address is 185.240.244.254 (United States, New York, New York City)
2021/09/07 09:48:33 INFO http proxy: 127.0.0.1:53825 200 OK GET http://tracker.bt4g.com:2095/announce?info_hash=L%5c%b7%ee%e5%13%2b%2b%cdSs%2f%3d%0d%a9%e1%0c%ad%2b%d2&peer_id=-qB4370-*PAi6l0fL7K-&port=1&uploaded=0&downloaded=0&left=1403123871&corrupt=0&key=35227647&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0
2021/09/07 09:48:47 INFO http proxy: 127.0.0.1:47777 200 OK GET http://torrenttracker.nwc.acsalaska.net:6969/announce?info_hash=%02!S%9fr%97%8a%5c%06%2b%d6%9bx%fc%f5%2f%afR%5e%85&peer_id=-qB4370-IzA3OKh)(iDQ&port=1&uploaded=0&downloaded=0&left=16384&corrupt=0&key=987AA12B&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0
2021/09/07 09:48:53 WARN http proxy: cannot request http://tracker1.itzmx.com:8080/announce?info_hash=%f3%92%e2%fa%5b%ee%eb%2b%00%e32p%17%b1%98%d2%c1-%df%94&peer_id=-qB4370-8Yn(pb6ig2YD&port=1&uploaded=0&downloaded=0&left=1201248145&corrupt=0&key=5E48EDE5&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0 for client 127.0.0.1:43359: Get "http://tracker1.itzmx.com:8080/announce?info_hash=%f3%92%e2%fa%5b%ee%eb%2b%00%e32p%17%b1%98%d2%c1-%df%94&peer_id=-qB4370-8Yn(pb6ig2YD&port=1&uploaded=0&downloaded=0&left=1201248145&corrupt=0&key=5E48EDE5&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0": dial tcp 176.113.68.68:8080: i/o timeout
2021/09/07 09:48:53 WARN http proxy: cannot request http://tracker3.itzmx.com:6961/announce?info_hash=%f3%92%e2%fa%5b%ee%eb%2b%00%e32p%17%b1%98%d2%c1-%df%94&peer_id=-qB4370-8Yn(pb6ig2YD&port=1&uploaded=0&downloaded=0&left=1201248145&corrupt=0&key=5E48EDE5&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0 for client 127.0.0.1:49507: Get "http://tracker3.itzmx.com:6961/announce?info_hash=%f3%92%e2%fa%5b%ee%eb%2b%00%e32p%17%b1%98%d2%c1-%df%94&peer_id=-qB4370-8Yn(pb6ig2YD&port=1&uploaded=0&downloaded=0&left=1201248145&corrupt=0&key=5E48EDE5&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0": dial tcp 176.113.68.68:6961: i/o timeout
2021/09/07 09:48:59 WARN http proxy: cannot request http://tracker1.itzmx.com:8080/announce?info_hash=L%5c%b7%ee%e5%13%2b%2b%cdSs%2f%3d%0d%a9%e1%0c%ad%2b%d2&peer_id=-qB4370-*PAi6l0fL7K-&port=1&uploaded=0&downloaded=0&left=1403123871&corrupt=0&key=35227647&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0 for client 127.0.0.1:40869: Get "http://tracker1.itzmx.com:8080/announce?info_hash=L%5c%b7%ee%e5%13%2b%2b%cdSs%2f%3d%0d%a9%e1%0c%ad%2b%d2&peer_id=-qB4370-*PAi6l0fL7K-&port=1&uploaded=0&downloaded=0&left=1403123871&corrupt=0&key=35227647&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0": dial tcp 176.113.68.68:8080: i/o timeout
2021/09/07 09:48:59 WARN http proxy: cannot request http://tracker3.itzmx.com:6961/announce?info_hash=L%5c%b7%ee%e5%13%2b%2b%cdSs%2f%3d%0d%a9%e1%0c%ad%2b%d2&peer_id=-qB4370-*PAi6l0fL7K-&port=1&uploaded=0&downloaded=0&left=1403123871&corrupt=0&key=35227647&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0 for client 127.0.0.1:50877: Get "http://tracker3.itzmx.com:6961/announce?info_hash=L%5c%b7%ee%e5%13%2b%2b%cdSs%2f%3d%0d%a9%e1%0c%ad%2b%d2&peer_id=-qB4370-*PAi6l0fL7K-&port=1&uploaded=0&downloaded=0&left=1403123871&corrupt=0&key=35227647&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0": dial tcp 176.113.68.68:6961: i/o timeout
2021/09/07 09:48:59 WARN http proxy: cannot request http://tracker3.itzmx.com:6961/announce?info_hash=%02!S%9fr%97%8a%5c%06%2b%d6%9bx%fc%f5%2f%afR%5e%85&peer_id=-qB4370-IzA3OKh)(iDQ&port=1&uploaded=0&downloaded=0&left=16384&corrupt=0&key=987AA12B&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0 for client 127.0.0.1:53719: Get "http://tracker3.itzmx.com:6961/announce?info_hash=%02!S%9fr%97%8a%5c%06%2b%d6%9bx%fc%f5%2f%afR%5e%85&peer_id=-qB4370-IzA3OKh)(iDQ&port=1&uploaded=0&downloaded=0&left=16384&corrupt=0&key=987AA12B&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0": dial tcp 176.113.68.68:6961: i/o timeout
2021/09/07 09:48:59 WARN http proxy: cannot request http://tracker1.itzmx.com:8080/announce?info_hash=%02!S%9fr%97%8a%5c%06%2b%d6%9bx%fc%f5%2f%afR%5e%85&peer_id=-qB4370-IzA3OKh)(iDQ&port=1&uploaded=0&downloaded=0&left=16384&corrupt=0&key=987AA12B&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0 for client 127.0.0.1:58071: Get "http://tracker1.itzmx.com:8080/announce?info_hash=%02!S%9fr%97%8a%5c%06%2b%d6%9bx%fc%f5%2f%afR%5e%85&peer_id=-qB4370-IzA3OKh)(iDQ&port=1&uploaded=0&downloaded=0&left=16384&corrupt=0&key=987AA12B&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0": dial tcp 176.113.68.68:8080: i/o timeout
Hey @pratikbalar sorry for the long delay. I'm now looking into this.
Are you sure the URL is just not valid? I tried to access without vpn http://tracker1.itzmx.com:8080/announce?info_hash=%f3%92%e2%fa%5b%ee%eb%2b%00%e32p%17%b1%98%d2%c1-%df%94&peer_id=-qB4370-8Yn(pb6ig2YD&port=1&uploaded=0&downloaded=0&left=1201248145&corrupt=0&key=5E48EDE5&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0
and it hangs (hence the timeout).
Even http://tracker1.itzmx.com
hangs, maybe the tracker is just dead?
Closing due to inactivity, feel free to comment though.
Is this urgent?: No
Host OS (approximate answer is fine too): Raspberry Pi OS Lite (previously raspbian)
CPU arch or device name: Raspberry Pi 3B+
What VPN provider are you using: PIA
What is the version of the program (See the line at the top of your logs)
What's the problem 🤔
Hi ! Not new to dockers but can't say that I'm fluent in them. I'm trying for a bit now to connect a BitTorrent client via the http proxy, but i'm getting a tcp timeout. I'm wondering if I'm missing something obvious or if I could get someone's help. I'm guessing it's something to do with subnets, but can't find how to make it work. Thanks
Share your logs... (careful to remove in example tokens)
What are you using to run your container?: Docker Compose
Please also share your configuration file: