-
Notifications
You must be signed in to change notification settings - Fork 10
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
Problem with substituted GithHubConnector
#306
Comments
From what I can see Now, I'm wondering if we should avoid using HTTP 2 for the API requests, I'm not sure it makes a lot of sense to use HTTP 2 for one-shot requests. |
@The-Huginn if it's in the case of Quarkus GitHub App, could you try this PR and see if it improves things for you: quarkiverse/quarkus-github-app#593 ? If not, you can use the trick I used anyway when creating your GitHub client. I'm very interested in your feedback as if it improves things for you, we might have to enforce HTTP 1.1 in the upstream GitHub API. /cc @bitwiseman FYI |
Yes, indeed I am using Quarkus GitHub App. I build it locally and try to deploy my app with this version. Thanks for the hint! |
Just a quick update before the holidays. We have the new version deployed for a week and so far no problems. |
@bitwiseman WDYT? I can enforce HTTP 1.1 on my side but it's probably something we should do at the GitHub API level, given there's a good chance it might affect other people. |
@gsmet I also found That said, it does seem to address the issues and if you're seeing them, they are probably occurring elsewhere as well. If you want to add them to the default constructor Along with a clear comment that would be okay. We might want to add a warning to the constructor that takes an |
Hi, It's very possible, it's a (github-api)[https://github.com/hub4j/github-api] issue, yet as this extension does this exact (substitution)[https://github.com/quarkiverse/quarkus-github-api/blob/main/runtime/src/main/java/io/quarkiverse/githubapi/runtime/graal/Substitute_DefaultGitHubConnector.java] I wanted to ask here first.
There is the following error observed.
I see somewhat of a similar issue (here)[https://github.com/OpenLiberty/open-liberty/issues/25279], but this one is for POST requests, so I am not sure how applicable it is here.
Please let me know, whether to open an issue in (github-api)[https://github.com/hub4j/github-api] repository.
The complete stacktrace:
The text was updated successfully, but these errors were encountered: