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

OAuth authentication fails with 408 (login time exceeded)

Can someone explain why an OAuth authenticating POST would fail simply based on the format of the hostname? The failure is

HTTP/1.1 408 The time allowed for login process has been exceeded

Here are the hostname formats for example host athena:

athena.domain.com -- works
athena -- fails with 408
localhost -- fails with 408

The client in this case is a Java application, not a web browser. Everything is running on localhost. An example of a failing POST:

POST https://athena:9443/jazz/j_security_check?j_username=ADMIN&j_password=ADMIN

On a different box I have found the opposite to be the case. That is, using "hostname.domain.com" fails but using just "hostname" works.

0 votes



One answer

Permanent link
To be precise, the issue you are seeing isn't really related to OAuth. You are seeing a problem with Tomcat's behavior with accepting calls to j_security_check without any context. You typically see this sort of problem if the java application is making assumptions about when to access j_security_check and is not following redirects or not managing cookies.

Can you describe what calls the java application is making, and what you are trying to do?

Can someone explain why an OAuth authenticating POST would fail simply based on the format of the hostname? The failure is

HTTP/1.1 408 The time allowed for login process has been exceeded

Here are the hostname formats for example host athena:

athena.domain.com -- works
athena -- fails with 408
localhost -- fails with 408

The client in this case is a Java application, not a web browser. Everything is running on localhost. An example of a failing POST:

POST https://athena:9443/jazz/j_security_check?j_username=ADMIN&j_password=ADMIN

On a different box I have found the opposite to be the case. That is, using "hostname.domain.com" fails but using just "hostname" works.

0 votes

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

Question asked: Feb 23 '10, 9:07 a.m.

Question was seen: 8,007 times

Last updated: Feb 23 '10, 9:07 a.m.

Confirmation Cancel Confirm