Host-based backup of VMware vSphere VMs.
Post Reply
f.neumann
Service Provider
Posts: 25
Liked: 8 times
Joined: Jun 24, 2020 11:01 am
Full Name: Florian Finder
Contact:

Licensing error during backup - misleading Error Message

Post by f.neumann »

Hello,

we're on B&R Update 11a and still facing the error-message "1Processing xxxxxxx Error: Unhandled exception was thrown during licensing process" sometimes.
As posted in https://community.veeam.com/blogs-and-p ... backup-540 by @vNote42 the error-message is misleading as there is no licensing error.
Re-entering vCenter Credentials in Veeam using Manage Credentials fixes this. You can check by manually rescanning vCenter in Inventory - there you get actual "wrong username/password"-error.

But according to Backup Job Task-Log everything points to actual licensing error:

Code: Select all

[13.10.2021 20:49:08] <45> Info         Set status 'InProgress' for task session '66d2c31b-03af-4c55-8939-64b4cc761c54', object name 'xxxxxxxx'
[13.10.2021 20:49:08] <45> Info         ------------------------------------------------------------------
[13.10.2021 20:49:08] <45> Info         Processing object 'xxxxxxxx' ('vm-50') from host 'xxxxxxxxxx.xxx.xxx' ('b5185d7f-3e91-4c2e-8944-76665b6a60ef')
[13.10.2021 20:49:08] <45> Info         [InstancesLicensingClient (77c04a51-cc98-46e7-a3c1-57e06b689ba8)] Request: [Platform: [VmWare (Id: [ab555a3a-8f2d-492a-83ee-a41ecd3b0893]; Type: 0)]; Instances: 'f807acbb-25ee-4e71-bf97-ac07e9f0dbb4']; Response: [RequestId: '77c04a51-cc98-46e7-a3c1-57e06b689ba8'; Timeout: 00:00:00.1500000]
[13.10.2021 20:49:12] <45> Error        [InstancesLicensingClient (77c04a51-cc98-46e7-a3c1-57e06b689ba8)] Request failed with error (duration: 00:00:04.2179860): Unhandled exception was thrown during licensing process
[13.10.2021 20:49:12] <45> Error        Unhandled exception was thrown during licensing process (Veeam.Backup.Common.CLicenseCommonException)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.CheckAsyncResult(CInstancesLicensingResponse response, CancellationToken token, LicensingLogScope log)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstancesInternal(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstances(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingRunner.LicenseInstance(ILicensedInstance instance)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.CheckLicense()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.Prepare()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViBackupJobPerformer.ExecuteTask(IVmBackupTask task, CViJobSource jobSource, CBackupJobTarget jobTarget)
[13.10.2021 20:49:12] <45> Error        Unhandled exception was thrown during licensing process (Veeam.Backup.Common.CLicenseCommonException)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.CheckAsyncResult(CInstancesLicensingResponse response, CancellationToken token, LicensingLogScope log)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstancesInternal(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstances(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingRunner.LicenseInstance(ILicensedInstance instance)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.CheckLicense()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.Prepare()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViBackupJobPerformer.ExecuteTask(IVmBackupTask task, CViJobSource jobSource, CBackupJobTarget jobTarget)
[13.10.2021 20:49:12] <45> Error        Processing xxxxxxxx
[13.10.2021 20:49:12] <45> Error        Unhandled exception was thrown during licensing process (Veeam.Backup.Common.CLicenseCommonException)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.CheckAsyncResult(CInstancesLicensingResponse response, CancellationToken token, LicensingLogScope log)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstancesInternal(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstances(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingRunner.LicenseInstance(ILicensedInstance instance)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.CheckLicense()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.Prepare()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViBackupJobPerformer.ExecuteTask(IVmBackupTask task, CViJobSource jobSource, CBackupJobTarget jobTarget)
[13.10.2021 20:49:12] <45> Error        Unhandled exception was thrown during licensing process (Veeam.Backup.Common.CLicenseCommonException)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.CheckAsyncResult(CInstancesLicensingResponse response, CancellationToken token, LicensingLogScope log)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstancesInternal(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingClient.LicenseInstances(IReadOnlyCollection`1 instances, CancellationToken token)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CInstancesLicensingRunner.LicenseInstance(ILicensedInstance instance)
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.CheckLicense()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViVmTask.Prepare()
[13.10.2021 20:49:12] <45> Error           bei Veeam.Backup.Core.CViBackupJobPerformer.ExecuteTask(IVmBackupTask task, CViJobSource jobSource, CBackupJobTarget jobTarget)
[13.10.2021 20:49:12] <45> Info           Job progress: '0%', '0' of '4,101,693,767,680' bytes, '0' of '4,093,449,863,168' used bytes, object '2' of '5'
[13.10.2021 20:49:12] <45> Info         Task session [66d2c31b-03af-4c55-8939-64b4cc761c54] has been completed, status: Failed, 0 of 0 bytes, 0 of 0 used bytes, 0 of 0 objects
(We're on perpetual socket based licenses - no instances used at all)

Will there be an fix in future releases? At least a error message reflecting the actual problem would be great ;)

As i can get around this, thanks to @vNote42 i would not open a support-case. But you might fix this anyway?

Best regards!
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Licensing error during backup - misleading Error Message

Post by foggy »

Hi Florian, without a case with the logs provided we are not able to investigate and fix it (in case there's an issue on our side).
f.neumann
Service Provider
Posts: 25
Liked: 8 times
Joined: Jun 24, 2020 11:01 am
Full Name: Florian Finder
Contact:

Re: Licensing error during backup - misleading Error Message

Post by f.neumann » 1 person likes this post

Hi @foggy, i opened case # 05077852 and provided logs for further investigation. I hope that might help for future releases.
rhnmohite
Novice
Posts: 4
Liked: never
Joined: Jan 09, 2019 11:56 am
Full Name: Rohan Mohite
Contact:

Re: Licensing error during backup - misleading Error Message

Post by rhnmohite »

Hello Did you get any solution for this error?
PetrM
Veeam Software
Posts: 3229
Liked: 520 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Licensing error during backup - misleading Error Message

Post by PetrM »

Hi Rohan,

Please open a support case and ask our engineers to investigate the issue. The error mentioned in the first post is the generic one and can be caused by various reasons, no guarantees that the same solution can work in all possible cases.

Thanks!
Zew
Veteran
Posts: 365
Liked: 80 times
Joined: Mar 17, 2015 9:50 pm
Full Name: Aemilianus Kehler
Contact:

Re: Licensing error during backup - misleading Error Message

Post by Zew »

Case #05594742

Can be closed. I can confirm OP's solution for this error. Got error messages of failed backups randomly. The error message was misleading, the only thing it was good for was leading me to this thread post by using Veeam forum Search.

Step I did to validate OP.

1) Rescan vCenter server as added to Veeam, as OP stated failed with login failure.
2) Opened a web browser and attempted to sign in using credentials used by Veeam. Failed, I'm not sure why but since this is a dedicated account
3) Reset the password (since I had it saved in a password manager I set it to the same one I was trying to use)
4) Attempted login via web browser with same username and password used by Veeam (Success)
5) Rescan vCenter again in Veeam (Success)

Backup jobs now succeed.

Thank you f.neumann!
hexadecimal
Influencer
Posts: 16
Liked: 8 times
Joined: Apr 26, 2021 3:18 pm
Contact:

Re: Licensing error during backup - misleading Error Message

Post by hexadecimal » 1 person likes this post

Just wanted to throw my hat in. I had received the same license error i.e. "Processing <VM name> Error: Unhandled exception was thrown during licensing process)

I tried using the vcenter password stored in Veeam and it had either changed, expired, or been locked out. I reset the password and retried the backup job. Success! I'm sure support is glad they didn't need to field a "known issue" like this and can help me resolve my other issue instead. ;)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 83 guests