13/20
Sign inSign up free

1451. Retry a Flaky HTTP Call With Backoff

medium 20 XP ~15 minHands-on lab Pro

/home/student/net/fetch_status.py URL fetches a status page once. During deploys the service returns 503 for a few seconds and the script fails the whole pipeline. Make it resilient, using only the standard library (urllib).

This is a Pro problem

Pro unlocks every lab and quiz, all roadmaps and a full daily plan.

Unlock with Pro

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Pro lab

Upgrade to open a machine for this problem.

See Pro