vscode-kotlin
vscode-kotlin copied to clipboard
Could not update/download Kotlin Debug Adapter
Describe the bug I just installed the extension, but soonly got an error like
Could not update/download Kotlin Debug Adapter: Error: Could not fetch from GitHub releases API: StatusCodeError: 403 - "{\"message\":\"API rate limit exceeded for 202.66.38.130. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)\",\"documentation_url\":\"https://developer.github.com/v3/#rate-limiting\"}".
It seems that the API of Github the extension calling met some trouble.
To Reproduce Steps to reproduce the behavior:
- Just install it
Expected behavior I hope it works.
Extension version v0.2.10
Additional context Nothing else
Faced the same issue, large orgs will run into this with rate limiting.
Workaround Used my personal 4G to do the setup. I guess you can also manually install it.
Solution ideas I think this needs a better error message. It could offer the option to actually login as a user. You could probably also offer the downloads via a CloudFlare Cdn.
any solution on this?
Very late response to this but if anyone runs into this issue I solved it by downloading then building the extension: https://github.com/fwcd/kotlin-debug-adapter/blob/main/BUILDING.md. Then manually specifying kotlin.debugAdapter.path
in settings.json.
The same goes for the language server: https://github.com/fwcd/kotlin-language-server/blob/main/BUILDING.md
firstly install older version of this extension (i've installed 0.2.26) then update the extension. Working pretty fine for me