Odata - Login Fails Randomly
search cancel

Odata - Login Fails Randomly

book

Article ID: 393925

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

When attempting to authenticate to Odata, using a valid login, the login sometimes fails.

On the customer side they are using a request like:

https://%HOSTNAME%/api/odata4/%HOST%datasourceV4/DWH_FIN_TRANSACTION_FACTS

but getting a response that includes this:

   <title>Sign in to your account</title>

or from the UI you see 'Authorization header missing. You must authenticate to access this site'

In Odata logs you may see:

[MainThread] ofast.access (o:o:o:o) -- - "GET /api/odata4/%HOST%datasourceV4/DWH_FIN_TRANSACTION_FACTS?%24SKIPTOKEN=822000 HTTP/1.1" 401

[MainThread] ofast.authentication.clarity_auth (o:o:o:o) [%host%] Authentication error sent to client: Authorization header missing. You must authenticate to access this site.

[MainThread] ofast.authentication.clarity_auth (o:o:o:o) [%host%] Using cached authentication session for user 'username unknown.

No errors noted in Clarity logs.

Problem has been much more prevalent since Odata updates.

 

STEPS TO REPRODUCE - No known, it works or doesn't work randomly

Environment

Clarity SaaS

Cause

DE169109

Resolution

Fixed in Data Warehouse OData version: 2.0.3.4_2.0.2.6

WORKAROUND - Trying again may suddenly work