Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

1 vote

Comments

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?

Hello,
1. RTC 4.0.3
2. At this point we have 200 components on streams.
3. Yes.

Hi Michael.


Do the RTC server logs (ccm.log, SystemOut.log, etc.) or the proxy logs (IHS or Apache) have any log entries that provide more information about the offending request?

-Matt

1 vote


Accepted answer

Permanent link
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.
Ralph Schoon selected this answer as the correct answer

2 votes

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? 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,163
× 1,207
× 343
× 5

Question asked: Sep 17 '13, 11:05 p.m.

Question was seen: 7,896 times

Last updated: Aug 06 '18, 3:14 a.m.

Confirmation Cancel Confirm