Error during publishPlugins-Task: Unexpected end of file from server


I’m getting the following Error during publishPlugins-Task execution:

Execution failed for task ':publishPlugins'.
> Unexpected end of file from server

When I try it again, I get an error message saying the version is up-to-date, which obviously implicates that the upload was successful. But I cannot find the plugin in the plugin portal, so there must be an issue here.

What should I do?

Ahh okay - Proxy issue. I just executed the task in a proxy-free network and the publish was successful. The error message was not very helpful.