-
-
Notifications
You must be signed in to change notification settings - Fork 469
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
default api/json?depth=1 cause timeout #220
Comments
First how do you call the Java Client API ? Can you show the code you are using? Furthermore which version of Jenkins are you using? and which version of the Java Client API you are using? |
Jenkins ver. 2.19.4
I got Gateway timeout 2016-12-30 18:02:11.692 ERROR 33505 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception org.apache.http.client.HttpResponseException: Gateway Time-out |
It looks like the |
o getViews() default api/json?depth=1 cause timeout but that change has caused in a failing integration test case which is now fixed by using tree=.. parameters.
due to jenkins api desc:
in a product env, jenkins always has many jobs/builds. and i always got a 504 Gateway Timeout when retrieve $domain/jenkins/api/json/?depth=1 behind nginx in online jenkins env ( 40+ jobs, 10000+ builds)
Should we disable depth=1 by default ?
The text was updated successfully, but these errors were encountered: