FortiPAM
FortiPAM allows you to protect, isolate and secure privileged account credentials, manage and control privileged user access, and monitor and record privileged account activity.
ipascualdiaz
Staff
Staff
Article Id 384044
Description

This article describes a situation where the user is unable to replay a recorded video, it continuously loads and never starts.

Scope

FortiPAM.

Solution

The reason that the recorded video is not playable is that the session is not closed gracefully, the uploaded manifest is not in a static state.

 

The only way to reproduce the video is by downloading the parts and joining them all together with the following procedure. 

Note: This issue was fixed and it will be released as a path for all version 1.x. This issue could impact on all version 1.x.  

 

Procedure:

  1. Locate and download the video files:

Log in FortiPAM console and execute:

 

Method 1.


fnsysctl ls -l /var/storage/HD2-XXXXXXXXXXX/wa_vid/


This will list all folders in the video storage separated by date, and search by the date of the video.
Then, search for the 'Token id' of the video File. The token ID is under the video log properties.


fnsysctl ls -l /var/storage/HD2-XXXXXXXXXXX/wa_vid/<folder>/<token id>

 

Like in this example: fnsysctl ls -l /var/storage/HD2-XXXXXXXXXXX/wa_vid/1888/46268314.

Method 2.

 

diagnose debug application httpsd -

diagnose debug

 

Then try to use the browser to replay the video in FortiPAM.
Search in the logs for this kind of path:

 

[httpsd 7822 - 1738171797 info] fweb_debug_final[303] -- Completed GET request for "/wa_vid/1888/46268314/manifest.mpd" (HTTP 200)

 

The only required files are:

 

chunk_00000* <--- alll of them
init.hdr

 

Download all those files using the browser with the constructed URL (hostname + path). Example: https://<fortipam_hostname_or_ip>/wa_vid/1849/48982018/init.hdr.

 

  1. Create a webm file.

Creating a webm file with these files requires a cat command, available in all Linux OSs but can be also installed in Windows, and the execution is as follows:


cat init.hdr chunk_000001.chk chunk_000002.chk chunk_000003.chk chunk_00000N.chk > play.webm

'pay.webm' is the resulting video.