How to use the remote/HTTP API properly

What is the problem you are having with rclone?

Can't use the remote API neither with rclone rc... nor with Postman (HTTP).
In both cases connections are refused and I'm trying to reach the API from localhost to localhost.

What is your rclone version (output from rclone version)

rclone v1.57.0

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone --rc --rc-no-auth -vv

A log from the command with the -vv flag

2021/12/12 17:21:40 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "--rc" "--rc-no-auth" "-vv"]
2021/12/12 17:21:40 NOTICE: Serving remote control on http://localhost:5572/

I tried it on one of my Raspberry PIs with the same result

hello and welcome to the forum,

not sure how you got that command to work, i would think it should be
rclone rc --rc-no-auth -vv

when i try rclone --rc --rc-no-auth -vv, the command seems to work and then fails.

rclone --rc --rc-no-auth -vv
2021/12/12 11:37:08 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "--rc" "--rc-no-auth" "-vv"]
2021/12/12 11:37:08 NOTICE: Serving remote control on http://localhost:5572/
Usage:
  rclone [flags]
  rclone [command]

You need to give it something to do.

rclone rcd

rclone serve

GUI (rclone.org)

1 Like

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