From 6f0d98f2abdc833764006d7de7aed0269ac288c4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 21 Jan 2019 14:43:32 -0400 Subject: [PATCH] analysis and close as misconfiguration --- ...__38___CDN__58___curl_does_not_follow.mdwn | 3 ++ ..._8ecc02cb75adfaf0c0aa2f642713ebf4._comment | 28 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow/comment_4_8ecc02cb75adfaf0c0aa2f642713ebf4._comment diff --git a/doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow.mdwn b/doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow.mdwn index b35bcd50df..b8f0d1281c 100644 --- a/doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow.mdwn +++ b/doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow.mdwn @@ -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]] diff --git a/doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow/comment_4_8ecc02cb75adfaf0c0aa2f642713ebf4._comment b/doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow/comment_4_8ecc02cb75adfaf0c0aa2f642713ebf4._comment new file mode 100644 index 0000000000..7a19b481a8 --- /dev/null +++ b/doc/bugs/git-annex_addurl___38___CDN__58___curl_does_not_follow/comment_4_8ecc02cb75adfaf0c0aa2f642713ebf4._comment @@ -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. +"""]]