問題タブ [wasabi]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
379 参照

python - boto3 upload_file() 403 forbidden with Wasabi S3

I've worked through all the threads concerning this problem but haven't found anything.

Whenever I try to download a file from Wasabi S3, I get a 403 forbidden error. The file is uploaded with a pre-signed url that was signed with the same access key as the one I am using for the download request.

For the signed url I tried setting the ACL to "private" as well as "public-read". But that hasn't changed anything. I did also experiment with different access keys with different permissions for signing and downloading. But also no change.

Any more suggestions would be highly appreciated.

0 投票する
0 に答える
32 参照

amazon-s3 - S3 から返されたヘッダーにメタデータが表示されない

私は Wasabi DB を使用しています。正しく理解すれば、Amazon の S3 と基本的に同じように動作します。しかし、私はそれについてあまり経験がありません。

現在、クラウド機能を使用してヘッダーに「安全な検索」メタデータを追加しています。したがって、これは新しい画像がアップロードされるたびに呼び出され、コードの最後の行でメタデータが正常に追加されたことを確認します。

私の問題は、フェッチ要求を作成してこの新しいメタデータにアクセスしようとするときに、クライアント側で発生します。基本的に、メタデータが返されていないようです (または、表示/検索できません)。

私の発信フェッチリクエストオブジェクトの本体は

ここに画像の説明を入力

そして、私が返している応答は

ここに画像の説明を入力

また、Service Worker を使用してリクエストを行っていることにも言及する価値があるため、CORS の問題が発生している可能性があります。

どんな助けでも大歓迎です。