Running SCM list command causes "request-URI too large: error
My client recently upgraded from RTC3 to RTC4 and I am validating scripts I've written to fetch source code still works. However, this particular command that used to work:
./scm.sh list components -r repositoryurl --snapshot mysnapshot
Returns this result:
Service failed to communicate with repository repositoryurl: CRJAZ0098E The com.ibm.team.scm.common.rest.IScmRichClientRestService{/ccm/service/com.ibm.team.scm.common.test.IScmRichClientRestService} service failed. The server returned the HTTP error 414 with this error text: Request-URI Too Large.
Might this be configuration related, or is this a known problem in RTC4?
./scm.sh list components -r repositoryurl --snapshot mysnapshot
Returns this result:
Service failed to communicate with repository repositoryurl: CRJAZ0098E The com.ibm.team.scm.common.rest.IScmRichClientRestService{/ccm/service/com.ibm.team.scm.common.test.IScmRichClientRestService} service failed. The server returned the HTTP error 414 with this error text: Request-URI Too Large.
Might this be configuration related, or is this a known problem in RTC4?
Accepted answer
Hi Matt,
Apologies for delay. I don't have access to the RTC server on my project, however I raised the problem with them to investigate and this has been resolved.
For reference, there is a setting called “LimitRequestLine” that sets the size of the URL that IHS will accept. By default it is 8190. The URL length was increased on the IHS server and I now get my list of components.
Apologies for delay. I don't have access to the RTC server on my project, however I raised the problem with them to investigate and this has been resolved.
For reference, there is a setting called “LimitRequestLine” that sets the size of the URL that IHS will accept. By default it is 8190. The URL length was increased on the IHS server and I now get my list of components.
Comments
Does anyone know what value "LimitRequestLine” should be increased to so that this problem does not occur ?
Hello Micheal,
Solution to the problem is to increase value of "LimitRequestLine" but is there any logic behind increasing value, what I mean here is we have to increase value but can we select any random number like initially it is 8190 so I can change it to 10000 or 11998 etc?
Comments
Krzysztof Kaźmierczyk
Sep 18 '13, 3:07 a.m.Hello Michael,
We had similar error message when opening cross project plan: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=244995.
Three questions:
1. What is exactly your RTC 4 version?
2. How many components you would expect to be displayed?
3. Do you have proxy server between client and server?
Michael Hart
Sep 18 '13, 7:49 p.m.Hello,
1. RTC 4.0.3
2. At this point we have 200 components on streams.
3. Yes.
Matt Lennon
JAZZ DEVELOPER Sep 19 '13, 2:24 a.m.Hi Michael.
1 vote