VCF Operations for Networks 9.0.0 fails to export PDF and CSV from GUI when using vIDM admin logins accounts
search cancel

VCF Operations for Networks 9.0.0 fails to export PDF and CSV from GUI when using vIDM admin logins accounts

book

Article ID: 410555

calendar_today

Updated On:

Products

VCF Operations for Networks

Issue/Introduction

  1. VCF Operations for Networks 9.0.0 fails to export PDF and CSV from GUI
  2. User affected are only vIDM Admin users. This issue is not seen with local user admin@local
  3. This issue is seen with export of both PDF and CSV files from GUI. 
  4. GUI shows  401 unauthorized exception.  
    Refer to error screenshot as below:



  5. From platform logs at location /var/log/arkin/restapilog/latest.log below entry can be seen.

    025-09-11T19:37:36.000310Z ERROR restapilayer 8417 [netw@4413 class="vnera.restapilayer.SessionUtils" thread="dw-718501 - POST /pdfexport" method="validateCsrfToken" line="245"] CSRF tokens are wrong. Subject=org.apache.shiro.web.subject.support.WebDelegatingSubject@39def312, internal:############== user: ############==


Environment

VCF Operations for Networks 9.0.0 and 9.0.1

Cause

For vidm, csrf token is managed by backend server BE and set in browser based on redirection from vIDM.

VCF Networks for Operations GUI reads this cookie and saves the csrf token in its session for pdf and csv exports.

Sometimes, there is a space getting appended to this token due to the position of the cookie in the browser and thus we see this issue.  

 

Resolution

This is a known issue affecting VCF Operations for Networks 9.0.x. There is currently no resolution.

As of now, no workaround is available for affected vIDM users

Local user admin@local can be used to download the CSV and PDF

Additional Information