-
Notifications
You must be signed in to change notification settings - Fork 43
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
p2 director does not handle GOAWAY gracefully #529
Comments
I believe this issue only arises if the org.eclipse.ecf.provider.filetransfer.httpclientjava provider is used. You can use this system system property to disable this provided and as a result use the older provider that uses Apache libraries:
Please 🙏 let us know if this works for you. |
thanks for the report, beside the (temporal) solution from @merks I thin we should enhance the cache manager here to retry such attempts, if I remember correctly there are already some handling for specific cases. |
I tried the system property. The requests are now HTTP/1.1 (which means there is no
No further information available right now. Could the |
I can't really say where such a URI would come from. I know there have been changes in the Apache libraries used by the older provider too. What URI would actually work in the Repository Explorer in the IDE; all the Eclipse IDEs also suppress the new providers so try testing your URIs in the IDE with the Repository Explorer... |
The |
@sithmein it is completely impossible to reliable guess whats wrong with a site just given some random characters. So please provide us with a public accessible site that reproduces the problem it does not need to contain the same content like your site of course. |
Try https://update-origin.knime.com/analytics-platform/tmp/master%2creleases*2024-06%2c as a p2 repository URL. |
The call stack calls this utility method that clearly states the string must be one that is not encoded and even mentiones the double encoding of % if that's present: So indeed, by the time we get to creating a URI, it's encoded the %25. I expect if we were to change this, we'd break someone else who's relying on their text getting encoded so I don't see a good way to fix this. Using this directly works: https://update-origin.knime.com/analytics-platform/tmp/master,releases*2024-06,/ Isn't that sufficient? |
In this instance probably yes. However |
We recently updated to Eclipse 2024-03 and now installation of a larger set of features through the p2 director (on the command line) fail with
java.io.IOException: /192.168.187.2:42772: GOAWAY received
. It seems with this version HTTP/2 is used and our repository server (nginx) has a limit of 1,000 requests per connection. Hence it sendsGOAWAY
but apparently the p2 director does not handle this (quite common) case. Here is a complete stacktrace:The text was updated successfully, but these errors were encountered: