It's all about the answers!

Ask a question

RTC - Http 408 trying to authenticate


Phillip Viana (1146) | asked Jun 03 '16, 3:06 p.m.
edited Jun 03 '16, 3:07 p.m.
 

I am trying to authenticate to Jazz (Rational Team Concert) using curl. I've read the documentation and many examples on how to do that.

When I try authenticating I get an HTTP 408 Request Timeout. Any ideas?

$ curl -i -k -d "j_username=myuser" -d "j_password=mypwd" "https://myserver:9443/jazz/authenticated/j_security_check"
HTTP/1.1 408 Request Timeout
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Language: en
Content-Length: 1367
Date: Fri, 03 Jun 2016 18:58:20 GMT
Connection: close

Comments
Donald Nong commented Jun 06 '16, 3:06 a.m.

Can you check what it actually says in the response body (it is 1367 in length).

2 answers



permanent link
sam detweiler (12.5k6194201) | answered Jun 03 '16, 3:48 p.m.
the context is now ccm, or jts, not jazz.

Comments
Phillip Viana commented Jun 03 '16, 3:55 p.m.

Thanks for the answer Sam.


If I use ccm I get a 404 error

If I use jts I get the same 408 Request Timeout as I get using jazz


permanent link
sam detweiler (12.5k6194201) | answered Jun 03 '16, 4:00 p.m.
you saw my answer of the auth required, right
https://jazz.net/forum/questions/222851/rtc-rest-getting-authrequired-even-when-sending-userpassword

Comments
Phillip Viana commented Jun 03 '16, 4:11 p.m.

 I did, yes. I followed both steps but still get a 408.

Your answer


Register or to post your answer.