Skip to content

Seemingly random failures to download attachments #2

Open

Description

@jmtayloruk

Hi, I don't know how much you're intending to actively maintain this migration tool. It's super-helpful with bitbucket sunsetting "issues", but I appreciate that also makes it tool with time-limited usefulness, so I don't know if you're planning on doing more with it. Anyway, I'll raise a few issues here flagging things that I have encountered, just in case that's helpful for you.

Sometimes I hit seemingly-random errors when trying to download attachments, for example this error below. Other times when I run the migration tool it will fetch that attachment without any trouble at all, so I don't know if just retrying the URL request on failure might succeed...? I haven't tried to find any workaround, I am just fixing the problem manually if/when it arises.

2026-04-12 12:42:48 - INFO - Migrating issue #198: Python sync update code crashes if camera RoI changed
2026-04-12 12:42:51 - INFO -   Migrating 1 attachments...
2026-04-12 12:42:51 - INFO -     Downloading 2018-02-07 11.08.54.stderr.txt...
2026-04-12 12:42:51 - INFO -     Selected URL from single-item list for 2018-02-07 11.08.54.stderr.txt
2026-04-12 12:42:51 - ERROR - Failed to download attachment 2018-02-07 11.08.54.stderr.txt: 400 Client Error: Bad Request for url: https://bitbucket-assetroot.s3.amazonaws.com/spim/spim-interface/1518435209.75/198/2018-02-07%2011.08.54.stderr.txt?AWSAccessKeyId=<access key> (Context: filename=2018-02-07 11.08.54.stderr.txt, error=400 Client Error: Bad Request for url: https://bitbucket-assetroot.s3.amazonaws.com/spim/spim-interface/1518435209.75/198/2018-02-07%2011.08.54.stderr.txt?AWSAccessKeyId=<access key>)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions