vscode-kotlin icon indicating copy to clipboard operation
vscode-kotlin copied to clipboard

Could not update/download Kotlin Debug Adapter

Open siwei-lu opened this issue 5 years ago • 4 comments

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:

  1. Just install it

Expected behavior I hope it works.

Extension version v0.2.10

Additional context Nothing else

siwei-lu avatar Oct 15 '19 07:10 siwei-lu

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.

sandorfr avatar Feb 17 '20 00:02 sandorfr

any solution on this?

bhargavms avatar Sep 03 '20 08:09 bhargavms

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

ryjo1026 avatar Sep 15 '21 20:09 ryjo1026

firstly install older version of this extension (i've installed 0.2.26) then update the extension. Working pretty fine for me

k-gopi-krishna avatar Sep 04 '23 16:09 k-gopi-krishna