Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin is not activated for bad connection on publishing #116

Open
jbartok opened this issue Sep 2, 2021 · 8 comments
Open

Plugin is not activated for bad connection on publishing #116

jbartok opened this issue Sep 2, 2021 · 8 comments
Labels
a:bug Something isn't working

Comments

@jbartok
Copy link
Member

jbartok commented Sep 2, 2021

@Him188 commented on Tue Aug 18 2020

When running publishPlugins in my library, I got an error

Execution failed for task ':kotlin-jvm-blocking-bridge-gradle:publishPlugins'.
> javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

When retrying, I got another

Failed to post to server.
Server responded with:
Plugin: 'net.mamoe.kotlin-jvm-blocking-bridge', version: '1.0.1' exists already. It was created: 2020-08-18 13:44:43.834

However, version 1.0.1 isn't there: portal page.

And, in another project, it cannot be resolved:

Plugin [id: 'net.mamoe.kotlin-jvm-blocking-bridge', version: '1.0.1', apply: false] was not found in any of the following sources:

Expected Behavior

The plugin is published and activated and is visible.

Current Behavior

After javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake, the plugin is uploaded but not activated. So I cannot run the task publishPlugins anymore, but the plugin is not visible to anyone.

Context

I'm in China's Mainland and might suffer from a poor connection to the Gradle server.

Steps to Reproduce

Publish the plugin in a poor network condition.

Your Environment

Build scan URL:

@jbartok jbartok added the a:bug Something isn't working label Sep 2, 2021
@jbartok jbartok self-assigned this Sep 2, 2021
@jbartok
Copy link
Member Author

jbartok commented Sep 2, 2021

Reminder: we should at least clean up such leftovers daily, or any better fix.

@jmusacchio
Copy link

I had a similar issue but with a different networking exception (socket timeout) and now I'm not able to publish the plugin due to the same error:

`Execution failed for task ':publishPlugins'.

Failed to post to server.
Server responded with:
Plugin: 'io.github.jmusacchio.kogito.generator', version: '1.31.0.Final' exists already. It was created: 2022-12-01 13:56:16.259
`

and there is nothing here neither here

@jmusacchio
Copy link

I had a similar issue but with a different networking exception (socket timeout) and now I'm not able to publish the plugin due to the same error:

`Execution failed for task ':publishPlugins'.

Failed to post to server.
Server responded with:
Plugin: 'io.github.jmusacchio.kogito.generator', version: '1.31.0.Final' exists already. It was created: 2022-12-01 13:56:16.259
`

and there is nothing here neither here

Today I pushed a newer version (1.31.1.Final) which now appears as a valid version at Gradle plugin portal

@jbartok
Copy link
Member Author

jbartok commented Dec 12, 2022 via email

@jmusacchio
Copy link

Broken version has been cleaned up, in case you want to reuse it. József Bartók Senior Software Engineer Gradle W. gradle.com

Cool, thanks for replying!

@jmusacchio
Copy link

Broken version has been cleaned up, in case you want to reuse it. József Bartók Senior Software Engineer Gradle W. gradle.com

Due to recent gradle portal issues can you remove 1.36.0.Final? as I get this message

" Plugin: 'io.github.jmusacchio.kogito.generator', version: '1.36.0.Final' exists already. It was created: 2023-03-29 11:55:04.583"

but nothing was deployed for that version.

Thanks!

@jbartok
Copy link
Member Author

jbartok commented Mar 30, 2023 via email

@jmusacchio
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants