-
Bug
-
Resolution: Not a bug
-
Low
-
None
-
2.9.1
-
None
2013-11-22 09:11:40,241 DEBUG [http-bio-7990-exec-31] voodoo 551x361x4 m751bs 127.0.0.1 "GET /rest/branch-utils/latest/projects/PROJECT/repos/repo/branches/info/23d2b5c777d94a603c489ac049628ea177463fcb HTTP/1.0" c.a.s.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 500 com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: process timed out at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120) ~[na:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:163) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.internal.branch.info.git.GitBranchInformation.getBranches(GitBranchInformation.scala:79) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getFilteredBranches$1(DefaultBranchInformationService.scala:26) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getBranches(DefaultBranchInformationService.scala:40) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.rest.BranchUtilsResource.getBranches(BranchUtilsResource.java:107) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.0.5_1384476184000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:90) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.2.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.0-m3_1384476184000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:72) [stash-service-impl-2.9.1.jar:na] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45] ... 174 frames trimmed Caused by: com.atlassian.utils.process.ProcessTimeoutException: process timed out at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:506) ~[atlassian-processutils-1.5.14.jar:na] at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:423) ~[atlassian-processutils-1.5.14.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:222) ~[stash-spi-2.9.1.jar:na] ... 16 common frames omitted
- is related to
-
BSERV-7178 Documentation Request for Stash branch Timeout parameter
- Closed
[BSERV-4129] Process timeout on changeset branch info REST call
Workflow | Original: Stash Workflow - Restricted [ 1447410 ] | New: JAC Bug Workflow v3 [ 3137441 ] |
Workflow | Original: Stash Workflow [ 584687 ] | New: Stash Workflow - Restricted [ 1447410 ] |
Regular Expression | New: c\.a\.s\.r\.e\.ServiceExceptionMapper Mapping ServiceException to REST response 500[\n\r]*.?process timed out |
Link |
New:
This issue is related to |
Resolution | New: Not a bug [ 12 ] | |
Status | Original: Needs Triage [ 10030 ] | New: Closed [ 6 ] |
Component/s | New: API - REST [ 19803 ] | |
Component/s | New: Repository - Branch Listing [ 25698 ] |
Epic Link | New: STASHDEV-4845 [ 291747 ] |
Summary | Original: Process timeout on Branches REST call | New: Process timeout on changeset branch info REST call |
Stash runs this with very aggressive timeouts (5 seconds by default) to manage the load it could generate. If this is failing, it's an indication your server load is too high. You can adjust the timeout by setting:
(The value shown above is the default)