eclipse / openvsx

An open-source registry for VS Code extensions
https://open-vsx.org/
Eclipse Public License 2.0
1.26k stars 142 forks source link

Unable to publish "large"(16MB) extension using ovsx - "Socket hang up" #544

Closed DanTup closed 2 years ago

DanTup commented 2 years ago

I was able to publish the (very small) Flutter extension without any issues, but I'm unable to publish the Dart one (it's about 16MB).

danny@Dannys-MacBook-Pro Dart-Code % npx ovsx publish -p xxxxxxxxxxxxxxx dart-code-3.50.0.vsix 

❌  socket hang up
See the documentation for more information:
https://github.com/eclipse/openvsx/wiki/Publishing-Extensions

According to #448, the limit was 32MB, which seems almost double the size of this extension.

DanTup commented 2 years ago

Actually, despite the error - it seems like this may have been published. I tried it again this morning and got:

❌ Extension Dart-Code.dart-code 3.50.0 is already published.

And when I checked the website, it was now showing. I was able to download the vsix and unzip it, and the filesize matches, so whatever went wrong probably did so after the publish had already worked. Sorry for the noise!