Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #126 - Azure --list-remote and Azure --download not possible due duplicated container in URL #128

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

dpunkturban
Copy link

@dpunkturban dpunkturban commented Aug 11, 2024

--list-remote and --download didn't work (reported by #126 , verified by testing it) with Azure because the container was already in the connection URL, leading to the download URL looking as follows:

GET https://<account>.blob.core.windows.net/<container>/<container>

Error-Message:

2024/08/11 18:28:32 FATAL: could not list contents of remote location: could not fully list Azure container database: GET <redacted>
--------------------------------------------------------------------------------
RESPONSE 400: 400 The requested URI does not represent any resource on the server.
ERROR CODE: InvalidUri
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<Error><Code>InvalidUri</Code><Message>The requested URI does not represent any resource on the server.
RequestId:4134700b-901e-0037-580b-ec33c1000000
Time:2024-08-11T16:28:32.9107968Z</Message></Error>
--------------------------------------------------------------------------------

Tested:

  • Upload
  • Download
  • List-Remote

@dpunkturban dpunkturban changed the title Fix Fix #126 Aug 11, 2024
@dpunkturban dpunkturban changed the title Fix #126 Fix #126 - Azure --list-remote and Azure --download not possible due duplicated container in URL Aug 11, 2024
@dpunkturban dpunkturban marked this pull request as ready for review August 11, 2024 16:37
@orgrim
Copy link
Owner

orgrim commented Aug 16, 2024

Hi, the CI test fail on missing modules sums at build time, a go mod tidy fixes the issue

@dpunkturban
Copy link
Author

Hi, the CI test fail on missing modules sums at build time, a go mod tidy fixes the issue

Sorrry, done!

Signed-off-by: Dennis Urban (github@dennisurban.de)
@orgrim orgrim merged commit 6f26d59 into orgrim:master Aug 17, 2024
4 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants