Diagnostics for VCF Log based Findings Refresh fails after upgrading to 9.0.1
search cancel

Diagnostics for VCF Log based Findings Refresh fails after upgrading to 9.0.1

book

Article ID: 415936

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Diagnostics Log based findings Refresh operation fails due to an HTTP 401 returned from the Log Insight (LI) endpoint when the diagnostics adapter attempts to connect.

haproxy-traffic.log I see that "/api/v2/sessions" is getting "401"

025-10-08T03:46:24+00:00 localhost haproxy[7176]: 127.0.0.1:60122 [08/Oct/2025:03:46:24.442] PrxyRC_VRLI_FE~ PrxyRC_VRLI_BE/VRLI_0 0/0/7/186/193 401 236 - - ---- 3/1/0/0/0 0/0 "POST /api/v2/sessions HTTP/1.1"

Environment

VCF Operations 9.0.1

Resolution

It has been observed that after 2 to 4 weeks this problem will resolve on its own during periodic refresh. To immediately resolve this issue please follow the workaround steps. 

 

Retrieve session from LI in order to perform API calls.

curl --request POST \
--url https://<LI-HOST>:9543/api/v2/sessions \
--header 'content-type: application/json' \
--data ' { "username": "<USERNAME>", "password": "<PASSWORD>", "provider": "Local" }
' -k

Then, call the credentials API to replace the corrupted credentials for the CPLF with new ones.

curl --request PUT \
--url https://<LI-HOST>:9543/api/v2/internal/log-forwarder-credentials \
--header 'authorization: Bearer <LOGS-SESSION-ID>' \
--header 'content-type: application/json' \
--data '{
"credentials": [ { "opsProxyId": "<CLOUD_PROXY_ID>" }
]
}' -k