[Incident][108dev] Questions API 500 due to Cosmos env drift (empty endpoint/database)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with related issue #139, then review the Cosmos environment baseline for the tutor-questions-108dev container apps. Re-validate GET /api/questions/questions and GET /api/questions/assemblies through APIM; done means both endpoints no longer return 500 errors and the remediation evidence is logged in #139.
Written by the indexing model from the issue text.
Description
Summary
Questions frontend is failing with internal server errors on:
- GET /api/questions/questions
- GET /api/questions/assemblies
Observed error
API payload returns:
- Invalid URL scheme or hostname: SplitResult(scheme='', netloc='', path='', query='', fragment='')
Root cause
COSMOS_ENDPOINT and COSMOS_DATABASE were empty in tutor-questions-108dev runtime environment.
Immediate remediation plan (live)
- Re-apply Cosmos env baseline to 108dev container apps.
- Re-validate Questions endpoints through APIM.
- Log actions and evidence in #139.
Related: #139
- Dominant language
- Python
- Stars
- 17
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure-Samples/tutor
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure-Samples/tutor#230 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Azure-Samples/tutor#229 · 1 comment ·
-
frontend priority:P2 type:tech-debt
Difficulty 5/5 Over a week Newbie friendliness 35/100
Azure-Samples/tutor#224 · 3 comments ·
-
component:ci-cd frontend priority:P1 type:tech-debt
Difficulty 5/5 Over a week Newbie friendliness 35/100
Azure-Samples/tutor#223 · 2 comments ·
-
frontend priority:P1 type:feature
Difficulty 5/5 Over a week Newbie friendliness 30/100
Azure-Samples/tutor#222 · 1 comment ·
All issues in Azure-Samples/tutor
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100