Management reporting and documentation
Post Reply
netmarsoft
Influencer
Posts: 10
Liked: 1 time
Joined: Apr 03, 2020 8:10 am
Full Name: Marek Rzepień
Contact:

Dashboards session timeout setting

Post by netmarsoft »

Where can I find the Dashboards session timeout setting. After upgrading Veeam One from 9.5 to 10, the dashboards break the session after 20 minutes
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Dashboards session timeout setting

Post by Vitaliy S. »

Hi Marek,

To do so, you need to perform these steps:

1. On the Web UI server locate the web.config file at C:\Program Files\Veeam\Veeam ONE\Veeam ONE Reporter Web
2. Open with notepad and change both settings to the desired value in seconds:

Code: Select all

<add key="appTimeout" value="86400"></add>
<sessionState timeout="86400"></sessionState>
The example above will have the session to last for 24 hours.

Thanks!
netmarsoft
Influencer
Posts: 10
Liked: 1 time
Joined: Apr 03, 2020 8:10 am
Full Name: Marek Rzepień
Contact:

Re: Dashboards session timeout setting

Post by netmarsoft »

I understand that this is a file web.config, I don't have this syntax in this file.
netmarsoft
Influencer
Posts: 10
Liked: 1 time
Joined: Apr 03, 2020 8:10 am
Full Name: Marek Rzepień
Contact:

Re: Dashboards session timeout setting

Post by netmarsoft »

this is part of my timeout file

ConnectionStrings.config"></connectionStrings>
<appSettings>
<add key="JSDebug" value="async"></add>
<add key="CacheTimeout" value="10"></add>
<add key="CacheCountReport" value="5"></add>
<add key="ViewWarningSessions" value="true"></add>
<add key="CommandTimeout" value="1200"></add>
<add key="VimServiceConnectTimeout" value="180000"></add>
<add key="SSReportServer.ReportService" value=""></add>
<add key="BusinessViewConnectTimeout" value="60"></add>
<add key="SSRSConnectTimeout" value="600000"></add>
<add key="SSRSSnapshotMaxSizeMB" value="10"></add>
<add key="WidgetsLoadingNumber" value="3"></add>
<add key="JSThemeName" value="be3-theme"></add>
<add key="SSRSReportPackUpdatePath" value=""></add>
<add key="ExternalDataSource" value="false"></add>
<add key="IsDetailedLogging" value="false"></add>
<add key="TenantTimeout" value="1200"></add>
<add key="LoginServer"
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Dashboards session timeout setting

Post by Vitaliy S. »

If you don't have these settings, just create them and you will be all set!
netmarsoft
Influencer
Posts: 10
Liked: 1 time
Joined: Apr 03, 2020 8:10 am
Full Name: Marek Rzepień
Contact:

Re: Dashboards session timeout setting

Post by netmarsoft »

Thank you very much for your help.
And can you also do the same to make the browser refresh?
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Dashboards session timeout setting

Post by Vitaliy S. »

Marek, not sure there is a way to trigger browser refresh on-demand via Veeam ONE. Can you please clarify why do you need this?
netmarsoft
Influencer
Posts: 10
Liked: 1 time
Joined: Apr 03, 2020 8:10 am
Full Name: Marek Rzepień
Contact:

Re: Dashboards session timeout setting

Post by netmarsoft »

I need to make sure that the displayed values are current.

Maybe it is possible to restart the session, but not to log out.
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Dashboards session timeout setting

Post by Vitaliy S. »

Got it! Data on dashboards is not real-time but it is accurate according to the data collection job run, besides, some widgets are refreshed automatically. Here is a similar topic regarding this question. So there is no need to refresh the browser tab.
netmarsoft
Influencer
Posts: 10
Liked: 1 time
Joined: Apr 03, 2020 8:10 am
Full Name: Marek Rzepień
Contact:

Re: Dashboards session timeout setting

Post by netmarsoft » 1 person likes this post

This information is enough for me, thank you very much
rwgs
Novice
Posts: 6
Liked: never
Joined: Mar 29, 2014 6:33 pm
Full Name: Robert Southgate
Contact:

Re: Dashboards session timeout setting

Post by rwgs »

Is there a way of setting this on a per user basis (e.g. so that a read only user would never time out)?
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Dashboards session timeout setting

Post by Vitaliy S. »

Hi Robert,

No, this setting is global and applies to every user.

Thanks!
h.abedinzadeh
Lurker
Posts: 2
Liked: never
Joined: Jul 18, 2021 9:00 am
Full Name: jack abedinzadeh
Contact:

Re: Dashboards session timeout setting

Post by h.abedinzadeh »

Vitaliy S. wrote: Apr 06, 2020 10:13 am Hi Marek,

To do so, you need to perform these steps:

1. On the Web UI server locate the web.config file at C:\Program Files\Veeam\Veeam ONE\Veeam ONE Reporter Web
2. Open with notepad and change both settings to the desired value in seconds:

Code: Select all

<add key="appTimeout" value="86400"></add>
<sessionState timeout="86400"></sessionState>
The example above will have the session to last for 24 hours.

Thanks!
Hi
I did as you mentioned in this topic but still I am receiving the error "your session has expired". my application version is "10.0.2.1094" . I have examined this method in the previous version and it did work but in this version this method does not work.
Please help me because we set this page on the monitoring system and every time my manager is nagging me because of "session timeout" error.
Help me getting out of this hole.
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Dashboards session timeout setting

Post by Vitaliy S. » 2 people like this post

Hi Jack,

Yes, in v11 the mechanism has changed, so here you go the new guidelines:

1. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Reporter Enterprise registry hive.
2. Crete three keys:

Code: Select all

UiSessionTimeoutMinutes 525600 (DWORD)
WebApiRefreshTokenLifetimeMinutes 525600 (DWORD)
WebApiRefreshTokenRememberedLifetimeDays 365 (DWORD)
In my sample the timeout will be extended to one year, if you need less, then these keys are self-explanatory in regards to the input values.

Let me know if that helps!
h.abedinzadeh
Lurker
Posts: 2
Liked: never
Joined: Jul 18, 2021 9:00 am
Full Name: jack abedinzadeh
Contact:

Re: Dashboards session timeout setting

Post by h.abedinzadeh »

Hi Vitaliy
I have tested the new method you have told and I created the new registry keys but unfortunately it did not worked for me. Do you have any other idea that how can I handle the problem.
Thank you so much for your helping.
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Dashboards session timeout setting

Post by Vitaliy S. »

Hi Jack,

It did work for some customer, so please contact our technical support team so that they could verify your configuration with those keys set.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests