Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

"ERROR 401: Invalid Session Cookie Virtualization is Disabled" in App Volumes (59666)

Last Updated: 1/30/2023Categories: TroubleshootingTotal Views: 13188Language:
English

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Details

How AppVolumes Manager uses Session Cookies:

App Volumes Manager assigns and stores a single session key to each App Volumes agent computer at startup.

The session key is returned as a cookie to the agent, and the agent also stores it for future requests. The App Volumes manager will reject connections if these cookies do not match.

False rejections happen when the startup invalidates cookies issued from a startup on one of the VMs on another VM.

The session cookie feature is intended for performance and has no impact on the user if it is disabled.

Example errors from the production.log on the App Volumes Manager:

Invalid session cookie: Session key 248 does not match active computer session 241 on Computer <domain\computername>
Request is missing session cookie
Invalid session cookie: Session key does not match requesting computer

Example errors from the svservice.log on the App Volumes agent:

ERROR 401 Invalid Session Cookie Virtualization Disabled

Solution

Avoid the Invalid Session Cookie issue by utilizing additional authentication calls for Agent-Manager communications.

This can be done by disabling the optional  Agent Session Cookie feature.

Note: The agent session cookie feature only improves efficiency by reducing the connection traffic between the App Volumes Manager and App Volumes agents and disabling it will not lessen the security of the connections.

For App Volumes 4 manager servers:

In the App Volumes Manager UI, navigate to Configuration  Settings.

Disable the Agent Session Cookie setting by toggling the slider under Advanced Settings.

For App Volumes 2.x manager servers:

Earlier versions of App Volumes do not have an advanced setting in the App Volumes Manager UI, and the following steps can be taken to similarly disable the feature:

Connect to the App Volumes database using SQL Management Studio.

Take a backup of the App Volumes database.

Run the following query against the App Volumes database:

INSERT INTO [settings] ([key], [value], [changed_at], [created_at], [updated_at]) VALUES ('disable_agent_session_cookie', '1', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)

Note: This query is also attached to the knowledge base article.

Resync all Users and Computers from the App Volumes Manager UI.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

AppVolumes

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

KB
•
Photon OS ベース仮想アプライアンス上のエラー：/dev/disk でのファイル システム チェックを開始できませんでした... (Failed to start file system check on /dev/disk...) (2149838)

KB
•
vSphere Web Client 6.0 で VMware vSphere Update Manager 6.0 のサービス ステータスが不明と表示される (2117305)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware App Volumes

Related Versions:

VMware App Volumes 4.x

VMware App Volumes 2.18.x

VMware App Volumes 2.17.x

VMware App Volumes 2.16.x

VMware App Volumes 2.15.x

VMware App Volumes 2.14.x

Take Our Survey

Support Assistant