LuaLS / vscode-lua

Release lua-language-server for VSCode
https://github.com/LuaLS/lua-language-server
MIT License
179 stars 49 forks source link

Unable to access - Connection was reset #102

Closed xdholy closed 1 year ago

xdholy commented 1 year ago

Which OS are you using?

Windows

Expected Behaviour

Retrieved Log ``` #### STARTUP #### [2023-03-07 10:24:04] | DEBUG | Filesystem | Created directory at "/C:/Users/admin/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager" [2023-03-07 10:24:26] | ERROR | Git | Failed to checkout repo! [2023-03-07 10:24:26] | ERROR | Git | fatal: unable to access 'https://github.com/LuaLS/LLS-Addons.git/': OpenSSL SSL_read: Connection was reset, errno 10054 ```

Actual Behaviour

...

I also see the following error:

[2023-03-07 10:24:26] |   ERROR   |         Git        | fatal: unable to access 'https://github.com/LuaLS/LLS-Addons.git/': OpenSSL SSL_read: Connection was reset, errno 10054

Reproduction steps

  1. Go to '...'
  2. Click '...'
  3. See error '...'

Additional Notes

No response

Log

No response

carsakiller commented 1 year ago

Hello :wave:. It looks like the addon manager was unable to connect to GitHub. I found some more info in a Stack Overflow post. This may be due to firewall issues.

carsakiller commented 1 year ago

This is likely caused by the China firewall, or if you are in Iran, I believe OpenSSL is banned there. I am not sure what I can reasonably do about this. All I can recommend is the use of a VPN, I suppose. The addon manager relies on Git (which relies on OpenSSL) to fetch addons. I have added some commits that will log this error and report it in a less dramatic and annoying way—these changes will hopefully be released soon.

xdholy commented 1 year ago

This is likely caused by the China firewall, or if you are in Iran, I believe OpenSSL is banned there. I am not sure what I can reasonably do about this. All I can recommend is the use of a VPN, I suppose. The addon manager relies on Git (which relies on OpenSSL) to fetch addons. I have added some commits that will log this error and report it in a less dramatic and annoying way—these changes will hopefully be released soon.

Thank you. I reckon it's caused by the China firewall. I have no problem using the addon(great work btw), just the pop-up error seems a little bit much.Thanks again.