fix: add timeout handling for unreachable registry URLs#2094
fix: add timeout handling for unreachable registry URLs#2094K09-0 wants to merge 1 commit intoasyncapi:masterfrom
Conversation
- Add 5-second timeout with AbortController - Use HEAD request instead of GET for lightweight check - Provide meaningful error messages on timeout/failure - Fixes asyncapi#2027
|
There was a problem hiding this comment.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
|
|
rtm |
|
@K09-0, please read asyncapi/community#2295 (comment). Note that #2039 is already assigned and participates in a mutex-like Bounty Program: pull requests from GitHub users other than the assigned Bounty Program Participant will not be reviewed. This Bounty Issue is assigned via two mechanisms:
You are welcome to choose another GitHub issue to contribute to. |



Description
This PR fixes the issue where CLI hangs indefinitely when --registry-url points to an unreachable host.
Changes
Related Issue
Fixes #2027
Testing
Checklist
Bounty Program
This PR is part of the Bounty Program 2026-04 as defined in #2039.