Cannot finish downl...
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

Cannot finish downloading updates

25 Posts
4 Users
5 Reactions
893 Views
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2117
 

@tomasz86 as above, check with netstat or Desktop Info or resource monitor to see what network on which it is listening. v2.0.5 has the additional sdio.cfg options as noted above, did you look at that?


This post was modified 4 weeks ago by Glenn

   
ReplyQuote
(@mh825)
Active Member Registered
Joined: 1 month ago
Posts: 7
 

@glenn

Checked with PowerShell (Get-NetTCPConnection, Get-NetUDPEndpoint, netstat -ano) and adapter/route info.

Findings:

  • Process: SDIO_x64_R888 (PID varies)
  • Default route is correctly on the physical Ethernet adapter:
    192.168.0.xxx (Ethernet) → gateway 192.168.0.xxx
  • The only active TCP connection observed is using LocalAddress 192.168.0.xxx (correct interface) to an HTTP endpoint on port 80.
  • However, there is also a listening socket bound to 0.0.0.0:59027 (all interfaces).
  • No UDP endpoints are open at the moment.
  • Virtual adapters are present (Hyper-V Default Switch, WSL, Tailscale) but the observed traffic is not bound to them.

I also tried the new options in sdio.cfg:

text

 
-bind-listen:192.168.0.xxx:50666
-bind-outgoing:192.168.0.xxx
-enc-policy-in:1
-enc-policy-out:1

They do not appear to be taking effect on this R888 build — it is still listening on 0.0.0.0 on a random high port instead of the specified IP:port, and nothing is listening on 50666.

Summary: Outbound HTTP is using the correct network, but the torrent listen socket is still bound to all interfaces (0.0.0.0) and the new bind options are ignored on this build.



   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2117
 

@mh825 maybe add the -preservecfg option to the cfg to stop it reverting.



   
ReplyQuote
(@mh825)
Active Member Registered
Joined: 1 month ago
Posts: 7
 

@glenn

Tried the new options in sdio.cfg (with -preservecfg added so it wouldn’t get overwritten):

text

 
-preservecfg
-bind-listen:192.168.0.xxx:50666
-bind-outgoing:192.168.0.xxx
-enc-policy-in:1
-enc-policy-out:1

Still not taking effect on this R888 build.

  • No UDP endpoints open for the process
  • Nothing listening on port 50666
  • Still seeing a socket bound to 0.0.0.0 on a random high port

Outbound HTTP continues to use the correct physical Ethernet interface, but the torrent listen socket ignores the bind settings.



   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2117
 

@mh825 add the following to the cfg. This will show the console windows with torrent debug output

 

-verbose:8576

-showconsole


This post was modified 4 weeks ago by Glenn

   
ReplyQuote
(@mh825)
Active Member Registered
Joined: 1 month ago
Posts: 7
 

@glenn

SDIO Diagnostic Report

Application: Snappy Driver Installer Origin (SDIO_x64_R888.exe)
Date/time: 16 October 2026, 23:06 BST
Operating system: Windows 11, build 26200
Local bind address: 192.168.0.xxx
Detected external IP: 88.97.203.xxx
Log source: SDIO console output.

Launch configuration

SDIO was launched with:

text

 
 
-preservecfg
-bind-listen:192.168.0.xxx:50666
-bind-outgoing:192.168.0.xxx
-enc-policy-in:1
-enc-policy-out:1
-verbose:8576
-showconsole

The application started successfully and created its torrent session. It bound both TCP and UDP listeners to the requested local address and port 50666.

Critical issue

sdio.cfg could not be opened

text

 
 
Opening 'sdio.cfg'
Failed to open 'sdio.cfg'

SDIO could not locate or open sdio.cfg. This is the main configuration failure and should be fixed first. The file must exist in SDIO’s expected working directory, normally alongside the executable, or be supplied with an explicit path using -cfg:.

Recommended fix:

powershell

 
 
& "C:\tools\Snappy drivers\SDIO_x64_R888.exe" -cfg:"C:\tools\Snappy drivers\sdio.cfg" -preservecfg -bind-listen:192.168.0.xxx:50666 -bind-outgoing:192.168.0.xxx -enc-policy-in:1 -enc-policy-out:1 -verbose:8576 -showconsole

Network status

Item Result
Torrent session Started successfully.
TCP listener Successfully listening on 192.168.0.xxx:50666.
UDP listener Successfully listening on 192.168.0.xxx:50666.
External IP detection Detected 88.97.203.xxx.
DHT Failed with hostname_lookup error 11001: No such host is known.
Update torrent SDIO_Update was added, checked, resumed, and entered downloading state.

The local binding and port configuration are working. However, DHT name resolution failed, which may prevent SDIO from discovering update peers reliably.

Recurring network errors - it was caused by firewall 🙂

The log contains many repeated UDP errors:

text

 
 
Torrent: UDP error: An existing connection was forcibly closed by the remote host
from: 192.168.0.xxx op: sock_read

This indicates repeated UDP socket read failures on the local interface. Possible causes include firewall or security-software interference, router/NAT handling of UDP traffic, VPN or network-adapter conflict, or an issue with the SDIO torrent peer connection.

There was also one data-integrity warning:

text

 
 
Torrent: SDIO_Update hash for piece 73778 failed

A failed piece hash means downloaded torrent data did not match its expected checksum. SDIO should normally redownload that piece, but repeated UDP failures may slow or disrupt this process.

Missing UI assets

SDIO reported two missing theme images:

text

 
 
ERROR in image_loadFile(): file 'tools\SDIO\themes\clean\unchecked.webp' not found
ERROR in image_loadFile(): file 'tools\SDIO\themes\clean\checked.webp' not found

These are non-fatal interface errors, but they indicate the themes\clean folder or its image files are missing from the SDIO installation. Re-extracting the complete SDIO package into the existing folder should restore them.

Indexing and state

SDIO indexed drivers\etc\hosts.7z, wrote the index successfully, and saved application state files under logs\. No driver-indexing failure was shown.


This post was modified 4 weeks ago by mh825
This post was modified 4 weeks ago by Glenn

   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2117
 

@mh825 TLDR;  does it work?



   
ReplyQuote
(@mh825)
Active Member Registered
Joined: 1 month ago
Posts: 7
 

@glenn

Hi Glenn,

Thanks for adding the new -bind-listen, -bind-outgoing, and -enc-policy switches!

I tested them, but the download still stayed at 0 bytes (Seeds: 0, Peers: 0) until I completely turned off Windows Defender Firewall. As soon as the firewall was disabled, the index download started immediately.

Here is what is happening:

  1. Firewall Blocks Inbound P2P Handshakes by Default:

    When SDIO launches, Windows Firewall either does not prompt or only allows outbound connections. BitTorrent requires unsolicited inbound TCP/UDP packets on the listening port (50171 or custom). Windows silently drops these incoming peer connections, preventing DHT bootstrapping and handshakes.

  2. Network Profile Mismatch (Public vs Private):

    Many Windows 11 systems default the active Ethernet connection to a "Public" profile. Windows Firewall drops nearly all inbound traffic on Public networks unless an explicit rule covers it.

Suggestions to make this seamless for users:

  • Auto-Register Firewall Rules: Have SDIO automatically register Windows Firewall inbound/outbound rules for its executable on startup (similar to how modern torrent clients handle it).

  • HTTPS Fallback for Indexes: Allow SDIO to fetch the small 22 MB indexes file via regular HTTPS if no BitTorrent seeds connect within 30–60 seconds. Since indexes are tiny, direct HTTP bypasses all torrent firewall and ISP throttling issues completely.

Thanks again for your work on SDIO!



   
Glenn reacted
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 2117
 

I'll work on the firewall stuff.  Regarding the indexes, I wonder if it's enough to add them to the webseed which is a http connection.



   
ReplyQuote
(@mh825)
Active Member Registered
Joined: 1 month ago
Posts: 7
 

Yes, adding webseed support (BEP 19 / Hoffman or BEP 17) to the torrent would solve the index bootstrapping problem, but with two important requirements:

  1. Use HTTPS over port 443 (not plain HTTP):

    Standard HTTP over port 80 can still be intercepted, filtered, or cached improperly by certain ISP middleboxes. An https:// webseed URL ensures the payload is encrypted in transit and bypasses general P2P port blocking.

  2. Webseed fallback behavior in libtorrent:

    libtorrent natively pulls pieces from webseed URLs when peer counts are low or zero. As long as the file layout on the web server mirrors the torrent root (e.g. [ https://your-server.com/SDIO_Update/indexes/ ]( https://your-server.com/SDIO_Update/indexes/)... ), libtorrent will download the missing index pieces seamlessly via standard TCP 443 without requiring incoming ports.

  3. Piece boundary alignment:

    Because the index files are small (~22 MB total) while the overall torrent is ~72 GB, make sure the torrent’s piece size isn't so large that individual driver packs overlap pieces with the index files. Keeping the index files isolated to dedicated pieces ensures clean, fast webseed retrieval.

Adding the webseed will give everyone an automatic, transparent fallback to HTTP(S) when firewalls or ISP blocks prevent peer-to-peer discovery.



   
Glenn reacted
ReplyQuote
Page 2 / 2
➤ Glenn's Page