New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transmission says port is closed even though it is open #5459
Comments
Some other people having htis problem: https://forum.openwrt.org/viewtopic.php?id=62761 It is reallt not a matter of misconfiguration. |
It's probably an issue with the way transmission detects a closed port. It directs itself to visit a website and see the result. If anything fails, it reports a closed port. It should say unknown if the result from the website is not returned. |
What is weird is that it works when I install transmission on my PC and Transmission does not report an open port even when I try to use some scanner website and it says the port in question is open. |
Yeah. Like I said, transmission on OpenWrt cannot even get to the website due to some bug whereas it can on your computer. We'll see if I have time to investigate. |
Debugged this a little bit... transmission seems to require ca-bundle to work properly. Also CURL_CA_BUNDLE needs to be set. Once all that is done, it manages to connect to the test webpage with an HTTP code of 200. And fail to receive any data... This might need adjustments to curl. Will investigate. |
Thanks for investigation! |
Good news. I found the issue. The libcurl in OpenWrt is built by default with zlib and verbose error strings disabled. After enabling both, The port checking feature correctly shows open. I'll figure out which but in the meantime, just ignore what transmission tells you. |
@neheb If you really found the issue, you will please many people very much! I suppose the fix can be applied to LEDE, right? |
@vasilis74 pull request for transmission is here: transmission/transmission#495 Apply the patch to your local build. Or wait until I submit my version bump in 1 or 2 days. I'm testing out some stuff currently. |
Thanks again! I will wait for a method I can follow. |
Latest version fixes the issue. Please close. |
Thanks, taht was quick! |
Maintainer: (not sure, mupliple people editing the makefile
Environment: Any recent LEDE (17.0.4). It does not matter which router is used.
Description: Even when one opens a port for transmission running on the router itself, Transmission still claims the port is closed:
This is a longstanding issue as can be seen here: https://forum.lede-project.org/t/transmission-always-reports-listening-port-closed/2615/27
No matter what configuration we put into /etc/config/firewall, the port stays closed. There are no problems with running transmission on one's PC as opposed to the router itself.
The text was updated successfully, but these errors were encountered: