codalab / codalab/codabench

Azure storage issue

Open
#1,192 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Setup
Dominant language
Python
Stars
176
Forks
74
Avg merge
5d 3h
Merged PRs (30d)
21

Description

When using the Azure storage option with the develop branch, I get the following error:

<Error>
<Code>AuthenticationFailed</Code>
<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:baf1715f-f01e-007c-0f5d-04a6b5000000 Time:2023-10-21T20:32:44.9273803Z</Message>
<AuthenticationErrorDetail>sp is mandatory. Cannot be empty</AuthenticationErrorDetail>
</Error>

In Azure, it does create folders in bundles when I try to upload an example competition, but the zip file has 0kb everytime I try a new one and I get the above error in the browser.

I have checked the AZURE_ACCOUNT_NAME and AZURE_ACCOUNT_KEY environment variables. Everything is in line with the Azure storage keys.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the Azure storage upload on the develop branch using the reported AZURE_ACCOUNT_NAME and AZURE_ACCOUNT_KEY settings. Trace the upload and authorization path for competition bundle ZIP files, then verify the generated request satisfies Azure's authentication requirements and that the uploaded ZIP is non-empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.