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 |



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.