User buckets: URLs for brows/thumbnail images, products, and logs may 403

Open
#3,112 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
aws, python
Domain
backend, cloud

Research direction

The issue proposes documenting that URLs for browse images, thumbnails, products, and logs can return 403 when user buckets are private. Read the job response handling and the get-files step mentioned in the issue to confirm which bucket, prefix, and key details are provided. Done means the behavior and its implications for clients are documented, with the issue marked wontfix.

Written by the indexing model from the issue text.

Description

wontfix

We include URLs for browse/thumbnail images, product files, and log files, but they will return 403 - Access Denied errors when end-user buckets are not public.

The S3 bucket and prefix are provided in the job response, and for product files, the S3 bucket and Key is also specified, so users with private buckets should still know where the products are and how to access them.

Clients like Vertex, however, will need to handle 403 - Access Denied errors when accessing these URLs.

We could, alternatively, copy browse images/thumbnails/logs to the HyP3 content bucket in the get-files step and provide those URLs in the jobs response, but then we'd report different locations for files, which could be confusing, or more importantly, expiration times of these files may not match the reported expiration time.

So I'm inclined to leave this as open with a 'wontfix` label to document this behavior for users.

Dominant language
Python
Stars
53
Forks
13
Avg merge
1d 2h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ASFHyP3/hyp3

All issues in ASFHyP3/hyp3

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.