RC job/stop doesn't stop/cancel the transfer

Summary

What is the problem you are having with rclone?

The command job/stop doesn't stop/cancel the transfer.

What is your rclone version (output from rclone version)

rclone v1.51.0
- os/arch: linux/arm
- go version: go1.13.7

Which OS you are using and how many bits

Raspbian GNU/Linux 10 (buster)
Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
32 bit

Which cloud storage system are you using?

SFTP and local disk.

The command you were trying to run

I am trying to stop ongoing operations/copyfile by sending job/stop.

A log from the command with the -vv flag

rclone log
DEBUG : rclone: Version "v1.51.0" starting with parameters ["/usr/bin/rclone" "rcd" "-vv" "--rc-web-gui-no-open-browser" "--rc-addr" ":8998" "--rc-htpasswd" "/home/pi/.htpasswd" "--transfers" "1" "--multi-thread-streams" "1" "/var/www/rclone-rc-web-gui/"]
INFO  : Using "/home/pi/.htpasswd" as htpasswd storage
NOTICE: Serving files from "/var/www/rclone-rc-web-gui/"
NOTICE: Serving remote control on http://[::]:8998/
NOTICE: Web GUI is not automatically opening browser. Navigate to http://[::]:8998/ to use.
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/version": with parameters map[]
DEBUG : rc: "core/version": reply map[arch:arm decomposed:1.51.0 goVersion:go1.13.7 isGit:false os:linux version:v1.51.0]: <nil>
DEBUG : rc: "config/listremotes": with parameters map[]
DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
DEBUG : rc: "config/listremotes": reply map[remotes:[seedbox disk]]: <nil>
DEBUG : rc: "operations/about": with parameters map[fs:disk:/some/path]
DEBUG : rc: "operations/about": with parameters map[fs:disk:/some/path]
DEBUG : rc: "operations/about": reply map[free:5.2762247168e+10 total:2.000395698176e+12 used:1.947633451008e+12]: <nil>
DEBUG : rc: "operations/about": reply map[free:5.2762247168e+10 total:2.000395698176e+12 used:1.947633451008e+12]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "operations/list": with parameters map[fs:seedbox:/ remote:files]
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : sftp://SOME-NAME@SOME-NAME.SOME-HOST:22//: New connection SOME-IP:37480->ANOTHER-IP:22 to "SSH-2.0-mod_sftp/0.9.9"
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "operations/list": with parameters map[fs:disk:/some/path/ remote:_downloads]
DEBUG : rc: "operations/list": reply map[list:[0x1d0e9a0 0x1d0ea10]]: <nil>
DEBUG : rc: "operations/list": reply map[list:[0x1e5e3f0 0x1e5e620 0x1e5e690 0x1e5e700 0x1e5e770 0x1e5e7e0 0x1e5e930 0x1e5eb60 0x1e5ebd0 0x1e5ee00 0x1e5ee70 0x1e5f500 0x1e5f6c0 0x1e5f730 0x1e5f8f0 0x1e5f960 0x1e5f9d0 0x1e5fa40 0x1e5fab0 0x1e5fb20 0x1e5fc70 0x1e5fce0 0x1e5fd50 0x1e5ff10 0x1e5ff80 0x2082150 0x2082230 0x20822a0 0x2082310 0x20824d0 0x2082540 0x20825b0 0x2082620 0x2082690 0x2082700 0x2082770 0x20827e0 0x2082850 0x20828c0 0x2082930 0x20829a0 0x2082a10 0x2082a80 0x2082af0 0x2082b60 0x2082bd0 0x2082c40 0x2082cb0 0x2082d20 0x2082d90 0x2082e00 0x2082e70 0x2082ee0 0x2082f50 0x2082fc0 0x2083030 0x20830a0 0x2083110 0x2083180 0x20831f0 0x2083260 0x20832d0 0x2083340 0x20833b0 0x2083420 0x2083490 0x2083500 0x2083570 0x20835e0 0x2083650 0x20836c0 0x2083730 0x20837a0 0x2083810 0x2083880 0x20838f0 0x2083960 0x20839d0 0x2083a40 0x2083ab0 0x2083b20 0x2083b90 0x2083c00 0x2083c70 0x2083ce0 0x2083d50 0x2083dc0 0x2083e30 0x2083ea0 0x2083f10 0x2083f80 0x1c36070 0x1c360e0 0x1c36150 0x1c361c0 0x1c36230 0x1c362a0 0x1c36310 0x1c36380 0x1c363f0 0x1c36460 0x1c36a10 0x1c36a80 0x1c36af0 0x1c36b60 0x1c36bd0 0x1c36c40 0x1c36cb0 0x1c36d20 0x1c36d90 0x1c36e00 0x1c36e70 0x1c36ee0 0x1c36f50 0x1c36fc0 0x1c37030 0x1c370a0 0x1c37110 0x1c37180 0x1c371f0 0x1c37260 0x1c372d0 0x1c37340 0x1c373b0 0x1c37420 0x1c37490 0x1c37500 0x1c37570 0x1c375e0 0x1c37650 0x1c376c0 0x1c37730 0x1c377a0 0x1c37810 0x1c37880 0x1c378f0 0x1c37960 0x1c379d0 0x1c37a40 0x1c37ab0 0x1c37b20 0x1c37b90 0x1c37c00 0x1c37c70 0x1c37ce0 0x1c37d50 0x1c37dc0 0x1c37e30 0x1c37ea0 0x1c37f10 0x1c37f80 0x20b4000 0x20b4070 0x20b40e0]]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "operations/copyfile": with parameters map[dstFs:disk:/some/path/_downloads/ dstRemote:2019-09-26-raspbian-buster-lite.zip srcFs:seedbox:/files/ srcRemote:2019-09-26-raspbian-buster-lite.zip]
DEBUG : rc: "operations/copyfile": reply map[jobid:29]: <nil>
DEBUG : sftp://SOME-NAME@SOME-NAME.SOME-HOST:22//files/: New connection SOME-IP:37482->ANOTHER-IP:22 to "SSH-2.0-mod_sftp/0.9.9"
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:0 checks:0 deletes:0 elapsedTime:0 errors:0 fatalError:false retryError:false speed:0 transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : 2019-09-26-raspbian-buster-lite.zip: Need to transfer - File not found at Destination
DEBUG : preAllocate: got error on fallocate, trying combination 1/2: operation not supported
DEBUG : preAllocate: got error on fallocate, trying combination 2/2: operation not supported
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:6287360 checks:0 deletes:0 elapsedTime:1.499284904 errors:0 fatalError:false retryError:false speed:4.1935725379650723e+06 transferring:[map[bytes:6287360 eta:142 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:1 size:454279954 speed:4.3003022176063135e+06 speedAvg:3.1394163725921246e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:18870272 checks:0 deletes:0 elapsedTime:3.498330419 errors:0 fatalError:false retryError:false speed:5.394079386416014e+06 transferring:[map[bytes:18870272 eta:83 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:4 size:454279954 speed:5.452063507817615e+06 speedAvg:5.241789317671423e+06]] transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:31453184 checks:0 deletes:0 elapsedTime:5.5257647720000005 errors:0 fatalError:false retryError:false speed:5.692096080415635e+06 transferring:[map[bytes:31453184 eta:74 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:6 size:454279954 speed:5.730665154695759e+06 speedAvg:5.661637527125731e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "job/stop": with parameters map[jobid:29]
DEBUG : rc: "job/stop": reply map[]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:37744640 checks:0 deletes:0 elapsedTime:6.578116663 errors:0 fatalError:false retryError:false speed:5.737909789940738e+06 transferring:[map[bytes:37744640 eta:72 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:8 size:454279954 speed:5.770546160477549e+06 speedAvg:5.7666014614287885e+06]] transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:44036096 checks:0 deletes:0 elapsedTime:7.50773159 errors:0 fatalError:false retryError:false speed:5.865432917001765e+06 transferring:[map[bytes:44036096 eta:70 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:9 size:454279954 speed:5.894636757015671e+06 speedAvg:5.841582488673741e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:55570432 checks:0 deletes:0 elapsedTime:9.517076835 errors:0 fatalError:false retryError:false speed:5.839023154214138e+06 transferring:[map[bytes:55570432 eta:67 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:12 size:454279954 speed:5.861408836303123e+06 speedAvg:5.941526897513815e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:68153344 checks:0 deletes:0 elapsedTime:11.671198181 errors:0 fatalError:false retryError:false speed:5.8394470681638755e+06 transferring:[map[bytes:68153344 eta:65 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:15 size:454279954 speed:5.858113067074437e+06 speedAvg:5.909819369630266e+06]] transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:79294464 checks:0 deletes:0 elapsedTime:13.510598626 errors:0 fatalError:false retryError:false speed:5.869056301280725e+06 transferring:[map[bytes:79294464 eta:63 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:17 size:454279954 speed:5.885262281245223e+06 speedAvg:5.887889530677105e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "job/stop": with parameters map[jobid:29]
DEBUG : rc: "job/stop": reply map[]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:85979136 checks:0 deletes:0 elapsedTime:14.581580769 errors:0 fatalError:false retryError:false speed:5.896420790178596e+06 transferring:[map[bytes:85979136 eta:62 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:18 size:454279954 speed:5.911506035685728e+06 speedAvg:5.916724521560056e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:91222016 checks:0 deletes:0 elapsedTime:15.504714851 errors:0 fatalError:false retryError:false speed:5.883501688140785e+06 transferring:[map[bytes:91222016 eta:61 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:20 size:454279954 speed:5.897646875578913e+06 speedAvg:5.87180234688036e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:102756352 checks:0 deletes:0 elapsedTime:17.511764696 errors:0 fatalError:false retryError:false speed:5.86784677522942e+06 transferring:[map[bytes:102756352 eta:60 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:22 size:454279954 speed:5.880342181352965e+06 speedAvg:5.857081122927854e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:114290688 checks:0 deletes:0 elapsedTime:19.571770417 errors:0 fatalError:false retryError:false speed:5.839568192600877e+06 transferring:[map[bytes:114290688 eta:58 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:25 size:454279954 speed:5.850690256260145e+06 speedAvg:5.844123636057632e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "job/stop": with parameters map[jobid:29]
DEBUG : rc: "job/stop": reply map[]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:120025088 checks:0 deletes:0 elapsedTime:20.594975559 errors:0 fatalError:false retryError:false speed:5.827882031525357e+06 transferring:[map[bytes:120057856 eta:56 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:26 size:454279954 speed:5.840012226614218e+06 speedAvg:5.872099738812351e+06]] transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:124776448 checks:0 deletes:0 elapsedTime:21.52559069 errors:0 fatalError:false retryError:false speed:5.796656166000896e+06 transferring:[map[bytes:124776448 eta:56 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:27 size:454279954 speed:5.8066855976586165e+06 speedAvg:5.832763445997064e+06]] transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:137359360 checks:0 deletes:0 elapsedTime:23.58304872 errors:0 fatalError:false retryError:false speed:5.824495451409134e+06 transferring:[map[bytes:137359360 eta:54 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:30 size:454279954 speed:5.833408999935646e+06 speedAvg:5.823465841929472e+06]] transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:148893696 checks:0 deletes:0 elapsedTime:25.502641702 errors:0 fatalError:false retryError:false speed:5.838363638552914e+06 transferring:[map[bytes:148893696 eta:52 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:32 size:454279954 speed:5.8468900389880845e+06 speedAvg:5.8188522213750435e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:161476608 checks:0 deletes:0 elapsedTime:27.523377143 errors:0 fatalError:false retryError:false speed:5.866889341414566e+06 transferring:[map[bytes:161476608 eta:49 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:35 size:454279954 speed:5.874826746863156e+06 speedAvg:5.8760848904883545e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>
DEBUG : rc: "core/stats": reply map[bytes:173010944 checks:0 deletes:0 elapsedTime:29.504722615 errors:0 fatalError:false retryError:false speed:5.863839028672732e+06 transferring:[map[bytes:173010944 eta:47 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:38 size:454279954 speed:5.871244190250623e+06 speedAvg:5.864947045877414e+06]] transfers:0]: <nil>
DEBUG : rc: "core/stats": with parameters map[]
DEBUG : rc: "core/stats": reply map[bytes:184545280 checks:0 deletes:0 elapsedTime:31.504295217 errors:0 fatalError:false retryError:false speed:5.857781573238233e+06 transferring:[map[bytes:184545280 eta:45 group:job/29 name:2019-09-26-raspbian-buster-lite.zip percentage:40 size:454279954 speed:5.864708273311352e+06 speedAvg:5.916594094792356e+06]] transfers:0]: <nil>
DEBUG : rc: "core/transferred": with parameters map[]
DEBUG : rc: "core/transferred": reply map[transferred:[]]: <nil>

More details

I am running rclone rcd on a remote Linux ARM host (to be specific, a Raspberry Pi 3 Model B with Raspbian).

The issue I am having is that I cannot cancel an ongoing transfer. I am sending commands over the network (XMLHttpRequest) from my Windows machine.

Here's the workflow. First I get a list of current transfers:

http://SOME-IP:8998/core/stats

{
    ...
    "transferring": [
        {
            "bytes": 191885312,
            "eta": 93,
            "group": "job/31",
            "name": "some-file.mkv",
            "percentage": 46,
            "size": 446388267,
            "speed": 2750878.5798009364,
            "speedAvg": 2595620.440967448
        },
        {
            "bytes": 212856832,
            "eta": 97,
            "group": "job/29",
            "name": "2019-09-26-raspbian-buster-lite.zip",
            "percentage": 42,
            "size": 454279954,
            "speed": 2537641.0826345356,
            "speedAvg": 2609023.91652754
        }
    ],
    ...
}

I want to cancel 2019-09-26-raspbian-buster-lite.zip, so the jobid is 29:

http://SOME-IP:8998/job/stop
{"jobid":"29"}

Request is executed successfully (status 200, no error in any output), but the job is not cancelled. You can see in the attached rclone log above that I've sent job/stop several times (with some interval), but none of them had any effect.

But what's weird is that when I run rclone rcd on my localhost (Windows 10 x64, OneDrive and local disk), then this command works fine, and the job gets cancelled.

Ah, job/stop relies on context propagation, however the sftp backend does not support context propagation yet according to the master ticket

This is because the library rclone uses github.com/pkg/sftp does not suport context for client requests :frowning:

It might be possible to fix this for transfers though

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.