IA S3 needs https now
authorJoey Hess <joeyh@joeyh.name>
Tue, 13 May 2025 14:23:56 +0000 (10:23 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 13 May 2025 14:23:56 +0000 (10:23 -0400)
doc/tips/Internet_Archive_via_S3.mdwn
doc/tips/Internet_Archive_via_S3/comment_4_2a2ccdfe41bc56c82eaea38fcffd1123._comment [new file with mode: 0644]

index 9bceeb34826fe89e40607e788230e0be9a2aadf5..b982588e4cf5ea3a54463544d969a75e65503262 100644 (file)
@@ -36,7 +36,7 @@ rather than having git-annex pick a random one; and you can optionally
 specify `x-archive-meta*` headers to add metadata as explained in their
 [documentation](http://www.archive.org/help/abouts3.txt).
 
-       # git annex initremote archive-panama type=S3 \
+       # git annex initremote archive-panama type=S3 protocol=https \
                host=s3.us.archive.org bucket=panama-canal-lock-blueprints \
                x-archive-meta-mediatype=texts x-archive-meta-language=eng \
                 x-archive-meta-collection=test_collection \
diff --git a/doc/tips/Internet_Archive_via_S3/comment_4_2a2ccdfe41bc56c82eaea38fcffd1123._comment b/doc/tips/Internet_Archive_via_S3/comment_4_2a2ccdfe41bc56c82eaea38fcffd1123._comment
new file mode 100644 (file)
index 0000000..6870bdf
--- /dev/null
@@ -0,0 +1,12 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 4"""
+ date="2025-05-13T14:22:17Z"
+ content="""
+After the 2025 compromise of archive.org and its subsequent rebuild, it
+seems they have changed to require http be used with their S3 API. I was
+getting error 404 when using my internet archive special remote because of
+that. I fixed it by running:
+
+       git annex enableremote archive.org protocol=https
+"""]]