analysis and close as misconfiguration
This commit is contained in:
parent
b7e1225d1e
commit
6f0d98f2ab
2 changed files with 31 additions and 0 deletions
|
@ -41,3 +41,6 @@ debian stretch, x64. git-annex as out-of-box
|
|||
|
||||
yes ! wunderful tool.
|
||||
managing my video, photo & music with it.
|
||||
|
||||
> Appears to have been a local misconfiguration, not a bug. [[done]]
|
||||
> --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 4"""
|
||||
date="2019-01-21T18:29:18Z"
|
||||
content="""
|
||||
allowed-url-schemes defaults to including https and http and ftp. This error
|
||||
message could only happen if you had earlier set allowed-url-schemes to something
|
||||
other than the default:
|
||||
|
||||
joey@darkstar:/tmp/xxx>git config annex.security.allowed-url-schemes "foo"
|
||||
joey@darkstar:/tmp/xxx>git annex addurl https://cdn.media.ccc.de/congress/2018/h264-sd/35c3-9462-eng-deu-fra-What_The_Fax_sd.mp4
|
||||
addurl https://cdn.media.ccc.de/congress/2018/h264-sd/35c3-9462-eng-deu-fra-What_The_Fax_sd.mp4 Configuration does not allow accessing https://cdn.media.ccc.de/congress/2018/h264-sd/35c3-9462-eng-deu-fra-What_The_Fax_sd.mp4
|
||||
|
||||
download failed: Configuration does not allow accessing https://cdn.media.ccc.de/congress/2018/h264-sd/35c3-9462-eng-deu-fra-What_The_Fax_sd.mp4
|
||||
failed
|
||||
git-annex: addurl: 1 failed
|
||||
joey@darkstar:/tmp/xxx>git config --unset annex.security.allowed-url-schemes
|
||||
joey@darkstar:/tmp/xxx>git annex addurl https://cdn.media.ccc.de/congress/2018/h264-sd/35c3-9462-eng-deu-fra-What_The_Fax_sd.mp4
|
||||
addurl https://cdn.media.ccc.de/congress/2018/h264-sd/35c3-9462-eng-deu-fra-What_The_Fax_sd.mp4
|
||||
0% 735.48 KiB 96 KiB/s 33m53s
|
||||
|
||||
Whatever redirect might be involved in that url is not relevant because
|
||||
this error message only occurs when the url you provided does not use an
|
||||
allowed url scheme. If it had started to download and then redirected to
|
||||
some other scheme, that would have resulted in a different error message.
|
||||
|
||||
So, this was a local misconfiguration not a bug.
|
||||
"""]]
|
Loading…
Add table
Reference in a new issue