{"action":"created","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/5445","repository_url":"https://api.github.com/repos/qbittorrent/qBittorrent","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/5445/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/5445/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/5445/events","html_url":"https://github.com/qbittorrent/qBittorrent/issues/5445","id":162407419,"number":5445,"title":"[Bug] Enabling proxy in the settings causes incoming port=0","user":{"login":"nostalgicamigo","id":17032479,"avatar_url":"https://avatars.githubusercontent.com/u/17032479?v=3","gravatar_id":"","url":"https://api.github.com/users/nostalgicamigo","html_url":"https://github.com/nostalgicamigo","followers_url":"https://api.github.com/users/nostalgicamigo/followers","following_url":"https://api.github.com/users/nostalgicamigo/following{/other_user}","gists_url":"https://api.github.com/users/nostalgicamigo/gists{/gist_id}","starred_url":"https://api.github.com/users/nostalgicamigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostalgicamigo/subscriptions","organizations_url":"https://api.github.com/users/nostalgicamigo/orgs","repos_url":"https://api.github.com/users/nostalgicamigo/repos","events_url":"https://api.github.com/users/nostalgicamigo/events{/privacy}","received_events_url":"https://api.github.com/users/nostalgicamigo/received_events","type":"User","site_admin":false},"labels":[{"id":30571077,"url":"https://api.github.com/repos/qbittorrent/qBittorrent/labels/Network","name":"Network","color":"02d7e1","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/milestones/34","html_url":"https://github.com/qbittorrent/qBittorrent/milestones/v3.3.8","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/milestones/34/labels","id":1997008,"number":34,"title":"v3.3.8","description":"","creator":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":7,"state":"open","created_at":"2016-09-11T22:40:00Z","updated_at":"2016-11-03T13:16:17Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-06-27T09:18:04Z","updated_at":"2016-11-03T14:07:58Z","closed_at":null,"body":"1st bug:\n  When enabling a proxy in the settings, e.g. HTTP proxy, qB starts to make announces to trackers with port=0 instead of the incoming port,e.g. 6881 (see the GET request).\nThis bug was just on the announce, qB still opens the incoming port, e.g. 6881 for listening and does the UPnP/NAT-PMT with this port too.\n\n2nd bug:\n  Now, in version > 3.3.4, the behavior is even worse. port=0 isn't just on the announce, now it's also the port qB tries to open for listening, despite whatever incoming port was configured. Since 0 is not a valid port, the program will not be able to open an incoming port - you can see the \"open port icon\" on the bottom being red.\n\nSettings for reproducing (at least in my case, pretty sure it happens with different settings too):\nPort used for incoming connections: 6881, UPnP/NAT enabled, random port disabled\nProxy Type: HTTP (and fill in the proxy IP and port)\n[OFF] Use proxy for peer connections\n[ON] Disable connections not supported by proxies\n"},"comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments/258152039","html_url":"https://github.com/qbittorrent/qBittorrent/issues/5445#issuecomment-258152039","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/5445","id":258152039,"user":{"login":"nostalgicamigo","id":17032479,"avatar_url":"https://avatars.githubusercontent.com/u/17032479?v=3","gravatar_id":"","url":"https://api.github.com/users/nostalgicamigo","html_url":"https://github.com/nostalgicamigo","followers_url":"https://api.github.com/users/nostalgicamigo/followers","following_url":"https://api.github.com/users/nostalgicamigo/following{/other_user}","gists_url":"https://api.github.com/users/nostalgicamigo/gists{/gist_id}","starred_url":"https://api.github.com/users/nostalgicamigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostalgicamigo/subscriptions","organizations_url":"https://api.github.com/users/nostalgicamigo/orgs","repos_url":"https://api.github.com/users/nostalgicamigo/repos","events_url":"https://api.github.com/users/nostalgicamigo/events{/privacy}","received_events_url":"https://api.github.com/users/nostalgicamigo/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T14:07:58Z","updated_at":"2016-11-03T14:07:58Z","body":"A proxy always listens on a port so that clients connect to it and then traffic is forwarded through it, e.g. 1234, and this port and the proxy's IP is used in the client settings.\r\nqB also has a listening port, for incoming torrent connections, e.g. 33300.\r\n\r\nFor a SOCKS5 proxy, I believe incomming connections can be received through it. However I don't know the extent to which this setting enabled can make support for incoming connections on a HTTP proxy.\r\n\r\nHTTP proxy is ideal for ISP's that block the announce GET request but don't block the bittorrent traffic.\r\nSOCKS5 proxy is for overcoming both.\r\n\r\nI think this setting shouldn't apply if the selected proxy is type HTTP (i.e., ProxyForce always be \"false\" when using an HTTP proxy)."}}
{"actor":{"display_login":"nostalgicamigo"}}