gchq / stroom

Stroom is a highly scalable data storage, processing and analysis platform.
https://gchq.github.io/stroom-docs/
Apache License 2.0
425 stars 56 forks source link

Errors in datafeed auth #4313

Open at055612 opened 2 weeks ago

at055612 commented 2 weeks ago
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 401 Error authenticating request to /stroom/noauth/datafeed - null</title>
</head>
<body><h2>HTTP ERROR 401 Error authenticating request to /stroom/noauth/datafeed - null</h2>
<table>
<tr><th>URI:</th><td>/stroom/noauth/datafeed</td></tr>
<tr><th>STATUS:</th><td>401</td></tr>
<tr><th>MESSAGE:</th><td>Error authenticating request to /stroom/noauth/datafeed - null</td></tr>
<tr><th>SERVLET:</th><td>stroom.receive.common.ReceiveDataServlet</td></tr>
</table>

</body>
</html>

and

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 401 Error authenticating request to /stroom/noauth/datafeed - Index 1 out of bounds for length 1</title>
</head>
<body><h2>HTTP ERROR 401 Error authenticating request to /stroom/noauth/datafeed - Index 1 out of bounds for length 1</h2>
<table>
<tr><th>URI:</th><td>/stroom/noauth/datafeed</td></tr>
<tr><th>STATUS:</th><td>401</td></tr>
<tr><th>MESSAGE:</th><td>Error authenticating request to /stroom/noauth/datafeed - Index 1 out of bounds for length 1</td></tr>
<tr><th>SERVLET:</th><td>stroom.receive.common.ReceiveDataServlet</td></tr>
</table>

</body>
</html>

Happening with OIDC auth on and this header -H "Authorization: bearer letmein"

At least need some debug in there catching, logging and re-throwing so we can diagnose.