Replies: 6 comments 6 replies
-
Thanks for the report. I'll check to see if there's anything I could have changed. |
Beta Was this translation helpful? Give feedback.
-
Could it be this: 5998465#diff-5bbc0182584739004c6ad9b1479cfd3dd1c31e43db4bf8a51da3045f4ff2228dR80 And probably this subsequent call: It might not work on your Linux for some reason. Since I removed TCP dialling out from specific addresses, it's possible this is no longer needed. It can at least just be a log message, or ignored completely if it fails. |
Beta Was this translation helpful? Give feedback.
-
@anacrolix builded TorrServer with torrent v1.52.4 and mentioned lines commented - there is no error: |
Beta Was this translation helpful? Give feedback.
-
I'm not sure commenting those 2 lines is a proper way to fix this issue, because it will disable REUSEPORT for all linuxes. |
Beta Was this translation helpful? Give feedback.
-
@anacrolix hm, I have the same error with this branch:
probably because of this config: Lines 40 to 53 in cc4a8a4 but after commenting only 1 line 23 at unix socket code ( Line 23 in cc4a8a4
|
Beta Was this translation helpful? Give feedback.
-
now it's OK without any local changes:
|
Beta Was this translation helpful? Give feedback.
-
@anacrolix, we use anacrolix@torrent as library in TorrServer project. After last library changes and added holepunching support, here is error on sockets open with linux binary running on old Android 4.3 device:
BTS.Connect() error! first listen: listen tcp4 :32000: protocol not available
TorrServer code: https://github.com/YouROK/TorrServer/blob/b355c95296cb987747d24c0244ff3f626edc2ca6/server/web/server.go#L37-L41
torrent library part:
torrent/socket.go
Lines 121 to 123 in b730a99
so it fails on listenAll and listenAllRetry after. What can cause such error? port 32000 not used according netstat. And there is no such error on other Devices with android binary. Older anacrolix@torrent worked on this TV.
p.s. last working library version on this device is torrent v1.50.0. it doesn't work since torrent v1.51.0 release
Probably those TorrServer issues also related: YouROK/TorrServer#269 YouROK/TorrServer#270
Beta Was this translation helpful? Give feedback.
All reactions