You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rc-serve and serve restic answer unsatisfiable Range requests with a malformed 206 #10140
I have searched the forum and the existing issues for this problem.
I have tested with the latest beta or stable release and can still reproduce the problem.
This is a reproducible bug, not a usage question.
Associated forum post URL
None.
What is the problem you are having with rclone?
rclone rcd --rc-serve and rclone serve restic answer a Range request that can't be satisfied with a 206 and a malformed Content-Range instead of 416 Range Not Satisfiable. Both go through lib/http/serve.Object. rclone serve http uses http.ServeContent and gets this right.
With a 10 byte file:
Range
--rc-serve
serve http
bytes=10-
206, Content-Range: bytes 10-9/10
416, Content-Range: bytes */10
bytes=20-
206, Content-Range: bytes 20-9/10, no Content-Length
416
bytes=5-2
206, serves bytes 5-9
416
bytes=10- is what curl -C - and wget -c send to resume a download that is already complete; they rely on the 416 to know the file is done.
Activity
ncw commentedon Oct 29, 2026
I've merged @r0h1tb fix for this to master now which means it will be in the latest beta in 15-30 minutes and released in v1.76
lib/http: return 416 for ranges --rc-serve and serve restic can't sat…