cloudflare / cloudflare/workers-sdk
deploy error
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.5k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 186
Description
### What versions & operating system are you using?
loudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
00:26:47.592
00:26:47.649
✘ [ERROR] A request to the Cloudflare API (/accounts/78591bd46b88ff5f89c946ce2d1caed6/workers/scripts/metaverse/versions) failed.
00:26:47.650
00:26:47.650
Invalid _redirects configuration:
00:26:47.650
Line 1: Infinite loop detected in this rule. This would cause a redirect to strip `.html` or `/index` and end up triggering this rule again. [code: 100324]
00:26:47.650
00:26:47.650
00:26:47.650
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
00:26:47.650
00:26:47.650
00:26:47.732
Failed: error occurred while running deploy command
[Support](https://support.cloudflare.com/)
[System status](https://www.cloudflarestatus.com/)
[Car](https://www.cloudflare.com/careers/)
### Please provide a link to a minimal reproduction
https://github.com/nishadddh/metaverse
### Describe the Bug
loudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
00:26:47.592
00:26:47.649
✘ [ERROR] A request to the Cloudflare API (/accounts/78591bd46b88ff5f89c946ce2d1caed6/workers/scripts/metaverse/versions) failed.
00:26:47.650
00:26:47.650
Invalid _redirects configuration:
00:26:47.650
Line 1: Infinite loop detected in this rule. This would cause a redirect to strip `.html` or `/index` and end up triggering this rule again. [code: 100324]
00:26:47.650
00:26:47.650
00:26:47.650
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
00:26:47.650
00:26:47.650
00:26:47.732
Failed: error occurred while running deploy command
[Support](https://support.cloudflare.com/)
[System status](https://www.cloudflarestatus.com/)
[Car](https://www.cloudflare.com/careers/)
### Please provide any relevant error logs
_No response_
Contributor guide
Research direction
Start by reproducing the deploy failure with the linked minimal reproduction and inspect its _redirects configuration. Trace how Wrangler handles that configuration during the deploy command, then verify that the reported infinite-loop error is handled correctly without breaking valid redirect rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100