Since we upgraded from 2017 R3 to 2020 R1 our ARL import has failed.
Error message is
2020-09-07 09:49:16,463 [.RecognitionImportTool] [INFO ] ARL tasks (Download, Extract) have begun...
2020-09-07 09:49:16,509 [onImport.ContentImport] [INFO ] Downloading (using WebDownloader) https://www.managesoft.com/support/Compliance/RecognitionAfter82.cab
2020-09-07 09:49:16,744 [onImport.ContentImport] [WARN ] RecognitionAfter82.cab download attempt 1 of 5 failed with System.Net.WebException: The remote name could not be resolved: 'www.managesoft.com'
2020-09-07 09:49:16,744 [onImport.ContentImport] [INFO ] Waiting 10 seconds before trying again
2020-09-07 09:49:26,760 [onImport.ContentImport] [WARN ] RecognitionAfter82.cab download attempt 2 of 5 failed with System.Net.WebException: The remote name could not be resolved: 'www.managesoft.com'
2020-09-07 09:49:26,760 [onImport.ContentImport] [INFO ] Waiting 20 seconds before trying again
2020-09-07 09:49:46,776 [onImport.ContentImport] [WARN ] RecognitionAfter82.cab download attempt 3 of 5 failed with System.Net.WebException: The remote name could not be resolved: 'www.managesoft.com'
2020-09-07 09:49:46,776 [onImport.ContentImport] [INFO ] Waiting 40 seconds before trying again
2020-09-07 09:50:26,792 [onImport.ContentImport] [WARN ] RecognitionAfter82.cab download attempt 4 of 5 failed with System.Net.WebException: The remote name could not be resolved: 'www.managesoft.com'
2020-09-07 09:50:26,792 [onImport.ContentImport] [INFO ] Waiting 80 seconds before trying again
2020-09-07 09:51:46,809 [onImport.ContentImport] [WARN ] RecognitionAfter82.cab download attempt 5 of 5 failed with System.Net.WebException: The remote name could not be resolved: 'www.managesoft.com'
2020-09-07 09:51:46,824 [.RecognitionImportTool] [ERROR] Unexpected error occured
2020-09-07 09:51:46,855 [.RecognitionImportTool] [ERROR] ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentDownloadException: Could not download https://www.managesoft.com/support/Compliance/RecognitionAfter82.cab ---> ManageSoft.Compliance.Logic.Core.API.ImportRecognitionDownloadException: Failed to download the file 'https://www.managesoft.com/support/Compliance/RecognitionAfter82.cab' to 'D:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL\RecognitionAfter82.cab'. ---> Flexera.Web.Client.MaxAttemptsExceededException: One or more errors occurred. ---> System.Net.WebException: The remote name could not be resolved: 'www.managesoft.com'
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at Flexera.Web.Client.WebClient.DownloadFile(String address, String fileName)
--- End of inner exception stack trace ---
at Flexera.Web.Client.WebClient.DownloadFile(String address, String fileName)
at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.WebDownloader.Download(String address, String destination)
--- End of inner exception stack trace ---
at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.WebDownloader.Download(String address, String destination)
at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentImport.Run(EARLImportMode mode, String groupName)
--- End of inner exception stack trace ---
at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentImport.Run(EARLImportMode mode, String groupName)
at ManageSoft.Compliance.Console.RecognitionImportTool.ImportRecognition()
2020-09-07 09:51:46,855 [.RecognitionImportTool] [ERROR] Could not download https://www.managesoft.com/support/Compliance/RecognitionAfter82.cab
2020-09-07 09:51:46,855 [.RecognitionImportTool] [ERROR] Failed to download the file 'https://www.managesoft.com/support/Compliance/RecognitionAfter82.cab' to 'D:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL\RecognitionAfter82.cab'.
I can manually run the ImportPURL.exe in a cmd window and it connects and downloads fine.
āSep 07, 2020 09:34 AM
Hi,
If you can run it, but the default task cannot, it might be that both users (yours and the one from the scheduled task) have different rights. Are you using a proxy to access the internet?
Best regards,
Markward
āSep 08, 2020 01:39 AM
Hi,
If you can run it, but the default task cannot, it might be that both users (yours and the one from the scheduled task) have different rights. Are you using a proxy to access the internet?
Best regards,
Markward
āSep 08, 2020 01:39 AM
Hi,
Checked the registry and as you suggested it was an issue with the proxy server - all sorted.
Thanks for your help.
Stephen
āSep 08, 2020 03:47 AM
Hi,
Can you provide me what is the actual solution for this issue as i am not able to see any solutions here?
āFeb 22, 2021 07:11 AM
Hi @Vijayflexera,
On a Batch server run CMD as Administrator and execute this command:
"c:\Program Files (x86)\Flexera Software\FlexNet Manager Platform\DotNet\bin\MgsImportRecognition.exe" -ps proxy.domain.com:80 -pu DOMAIN\serviceAccountName -pp ServiceAccountPassword
Replace proxy.domain.com:80 and DOMAIN\serviceAccountName and ServiceAccountPassword with an actual values from your environment.
Regards,
Pavol
āFeb 24, 2021 03:12 AM
āFeb 24, 2021 03:57 AM
Hi @Smitty987,
Are you able to log in to the batch server with the service account, open an administrative command prompt window and run:
nslookup www.managesoft.com
...and confirm the output? The stack trace error indicates an issue with name resolution. Any information about a proxy would also be useful as @mfranz alluded to.
HTH,
Joseph
āSep 08, 2020 03:24 AM