ink0gnito
(Ink0gnito)
September 21, 2021, 2:22pm
1
What is the problem you are having with rclone?
Hello, I have a question about rclone serve http and authorization. I generated a htpasswd, when I start rclone serve I can access the files but without authorization.
Can someone tell me why the htpasswd does not take effect?
What is your rclone version (output from rclone version
)
rclone v1.56.1
os/version: debian 10.10 (64 bit)
os/kernel: 4.19.0-17-amd64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.16.8
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone serve http --addr :8080 --htpasswd /path/to/htpasswd gdrive:
The rclone config contents with secrets removed.
Paste config here
A log from the command with the -vv
flag
2021/09/21 17:05:13 DEBUG : rclone: Version "v1.56.1" starting with parameters ["rclone" "serve" "http" "--htpasswd" ".htpasswd" "--addr" ":8088" "gcrypt:Transfer" "-vv"]
2021/09/21 17:05:13 DEBUG : Creating backend with remote "gcrypt:Transfer"
2021/09/21 17:05:13 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2021/09/21 17:05:13 DEBUG : Creating backend with remote "gd:encrypt/0sep0d0emqbogqhua85g1rs1qc"
2021/09/21 17:06:12 INFO : : 178.162.111.30:47815: Serving directory
2021/09/21 17:06:13 INFO : favicon.ico: 178.162.111.30:47815: File not found
2021/09/21 17:06:16 INFO :
That happens every time the help and support template is not used.
1 Like
ncw
(Nick Craig-Wood)
September 23, 2021, 1:46pm
3
I think this is a bug as it works if I try with v1.55.1
Can you open a new issue on Github please
It looks like it is only rclone serve http
which is broken rclone serve webdav
is OK.
ink0gnito
(Ink0gnito)
September 24, 2021, 8:40am
4
Okay have created an issue on github.
opened 08:31AM - 24 Sep 21 UTC
<!--
We understand you are having a problem with rclone; we want to help you … with that!
**STOP and READ**
**YOUR POST WILL BE REMOVED IF IT IS LOW QUALITY**:
Please show the effort you've put in to solving the problem and please be specific.
People are volunteering their time to help! Low effort posts are not likely to get good answers!
If you think you might have found a bug, try to replicate it with the latest beta (or stable).
The update instructions are available at https://rclone.org/commands/rclone_selfupdate/
If you can still replicate it or just got a question then please use the rclone forum:
https://forum.rclone.org/
for a quick response instead of filing an issue on this repo.
If nothing else helps, then please fill in the info below which helps us help you.
**DO NOT REDACT** any information except passwords/keys/personal info.
You should use 3 backticks to begin and end your paste to make it readable.
Make sure to include a log obtained with '-vv'.
You can also use '-vv --log-file bug.log' and a service such as https://pastebin.com or https://gist.github.com/
Thank you
The Rclone Developers
-->
#### The associated forum post URL from `https://forum.rclone.org`
#### What is the problem you are having with rclone?
I generated a htpasswd, when I start rclone serve I can access the files but without authorization.
I posted this problem also in rclone forum. NCW replied to me that he thinks the version has a bug and I should create an issue in github.
#### What is your rclone version (output from `rclone version`)
rclone v1.56.1
os/version: debian 10.10 (64 bit)
os/kernel: 4.19.0-17-amd64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.16.8
go/linking: static
go/tags: none
#### Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Debian 10
#### Which cloud storage system are you using? (e.g. Google Drive)
GoogleDrive
#### The command you were trying to run (e.g. `rclone copy /tmp remote:tmp`)
rclone serve http --addr :8080 --htpasswd /path/to/htpasswd gdrive:
#### A log from the command with the `-vv` flag (e.g. output from `rclone -vv copy /tmp remote:tmp`)
#### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
1 Like
system
(system)
Closed
October 24, 2021, 8:41am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.