[AAA-2] Concurrent REST calls failing Created: 01/Aug/14 Updated: 21/Mar/19 Resolved: 17/Jun/15 |
|
| Status: | Resolved |
| Project: | aaa |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Deepa v | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| External issue ID: | 1464 |
| Description |
|
In Opendaylight Hydrogen Release, basic edition and SP edition, tried to send 10 REST calls in parallel for fetching node properties. All the requests are configured to send HTTPBasicAuthentication with appropriate user name and password (admin/admin). The requests are failing randomly with following response for the failed requests <html><head><title>Apache Tomcat/7.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.32</h3></body></html> Following are the tomcat_server.xml configuration we are using <Server> <Service name="Catalina"> <Engine name="Catalina" defaultHost="localhost"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" t - [%a] - %r"/> As suggested here we also tried reusing the cookie that is passed in response to the first request. But it does not seem to work. |
| Comments |
| Comment by Deepa v [ 01/Aug/14 ] |
|
(In reply to Deepa v from comment #0) H2 H3 BODY B > P A {color : black;}A.name {color : black;}HR {color : > #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" t - [%a] - %r"/> |
| Comment by Wojciech Dec [ 20/Mar/15 ] |
|
Couldn't reproduce on Helium. |
| Comment by Tony Tkacik [ 17/Jun/15 ] |
|
Changed to worksforme. |