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

Timeouts for pulling PRs from Enterprise Github #473

Open
dougtweedy opened this issue Sep 19, 2017 · 0 comments
Open

Timeouts for pulling PRs from Enterprise Github #473

dougtweedy opened this issue Sep 19, 2017 · 0 comments

Comments

@dougtweedy
Copy link

We are seeing an issue with timeouts on multiple servers within our environment. It happens consistently throughout the day with an estimated failure rate of about 60%. Jenkins receives the hook correctly every time but when the PR builder attempts to pull the PR, it times out. When curling the endpoints, I don't see the same timeouts so I believe this to be an issue within the plugin itself. Below are details

Jenkins Version: 1.647 (also seen on 2.46.3)
Pull Request Plugin: 1.34 (also seen on 1.35 and 1.39)

INFO: timed out accessing https://xxxxxxxxxxx/api/v3/repos/xxxxxx/xxxxxxxxx/pulls/443; will try 2 more time(s)
java.net.SocketTimeoutException: Read timed out
...
INFO: timed out accessing https://xxxxxxxxxxx/api/v3/repos/xxxxxx/xxxxxxxxx/pulls/443; will try 1 more time(s)
java.net.SocketTimeoutException: Read timed out
...
Exception in thread "Thread-83" java.lang.Error: org.kohsuke.github.HttpException: Server returned HTTP response code: -1, message: 'null' for URL: https://xxxxxxxxxxx/api/v3/repos/xxxxxx/xxxxxxxxx/pulls/443/commits

Is there a place to set a timeout value?

eloycoto pushed a commit to eloycoto/ghprb that referenced this issue Sep 12, 2018
Fix issue 354. Multiple queued jobs were being merged into one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant