mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Using HTTP Proxy: Retrieved Host is IP Address instead of Domain in HTTPS Tracker URL #15545
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#15545
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bearx3f on GitHub (Mar 5, 2024).
qBittorrent & operating system versions
qBittorrent: 4.6.3 x64
Operating system: Ubuntu 22.04.3 LTS
Qt: 6.6.2
libtorrent-rasterbar: 2.0.10.0
What is the problem?
I'm monitoring announcement request & response but does not works on https tracker because qbittorrent already resolve hostname
I already try my hypothesis with curl by
curl --proxy http://127.0.0.1:8080 https://www.google.comand It's works (i can see request body and response body as expected)update:
My proxy server got IP Address from Host Header instead of Domain Name then proxy server has a problem to sign https connect with out domain name
Steps to reproduce
Additional context
No response
Log(s) & preferences file(s)
updated
@glassez commented on GitHub (Mar 14, 2024):
Could you explain it in such a way that someone besides yourself understands the essence of the problem?
@bearx3f commented on GitHub (Mar 14, 2024):
Sorry for too confuse information.
My proxy server expected Host from HTTPS Header to be hostname form Tracker URL but got IP Address instead
@glassez commented on GitHub (Mar 14, 2024):
What are your qBittorrent proxy settings? (You can provide a screenshot of corresponding part of Preferences dialog.)
@bearx3f commented on GitHub (Mar 14, 2024):
I already update the original descritpion
@glassez commented on GitHub (Mar 15, 2024):
Maybe the problem is not exactly using a Proxy? Maybe
libtorrentalways uses an IP address instead of a domain name in Host header?Could you enable Proxy in qBittorrent settings for everything else and see how other qBittorrent subsystems send their requests (for example, when it downloads tracker icons)?
@bearx3f commented on GitHub (Mar 15, 2024):
Unfortunately my tracker does not have an icons, or RSS subscription
FYI when announce http tracker Proxy Server got domain name as expected
@glassez commented on GitHub (Mar 15, 2024):
But qBittorrent still tries to download the icons of all trackers, if this is not disabled.
@glassez commented on GitHub (Mar 15, 2024):
This is libtorrent's area of responsibility, so you'd better go there on this matter.
@bearx3f commented on GitHub (Mar 16, 2024):
Thank for your response