Azure / App-Service-Migration-Assistant

Azure Websites Migration Assistant for Windows is a tool that allows customers to move their existing sites hosted on IIS servers into the cloud on Azure App Service. For more information check out https://appmigration.microsoft.com .
https://appmigration.microsoft.com
MIT License
74 stars 60 forks source link

Assessment timeout #47

Closed anspaj closed 3 years ago

anspaj commented 3 years ago

Investigative information

Please provide the following:

Repro steps

Provide the steps required to reproduce the problem:

  1. Run the assessment

Expected behavior

Provide a description of the expected behavior.

Successful assessment

Actual behavior

We're sorry, there has been an error. To get help, please use the Help > Report Issues menu option and include the following information: Session c2996d3e-c250-400f-ae7d-b8085c700f03. timed out

Known workarounds

Provide a description of any known workarounds.

krolson commented 3 years ago

Hi @anspaj - This sounds like an issue that was fixed in the latest Preview 1.0.8 version of the assistant. To rule that out, could you please try using the 1.0.8 preview and let me know if you still encounter it? It's on the download page (here) as "Migration Assistant (Preview)" with "Java Support" - this is Preview for the new Tomcat Java app functionality, but that same version also includes the latest fixes for the IIS app migration path.

anspaj commented 3 years ago

Hi! I'm afraid the issues persists still with version 1.0.8 too. Anything else I can provide to you?

krolson commented 3 years ago

Hi @anspaj - thank you very much for confirming this also occurs with the later 1.0.8 version. I see in our logging that there was an error occurring for you for the indicated session - however I wouldn't expect that error to be preventing assessment results from displaying. It appears also that: it takes a fairly long time for the assessment to complete, and this is happening for one specific site and that for other sites you do get the assessment results, is that right?

It may help if you can share your anonymized config file for a site where this happens for us to replicate the exact issue. This can be generated following the steps here: https://github.com/Azure/App-Service-Migration-Assistant/wiki/How-the-Assistant-Works#what-information-is-sent-for-assessments. If you could send us the "AnonAssessmentInfo.json" generated from that (and NOT the "dontShareThisStringMappingFile.json" unless you have checked first and are certain it's free of sensitive information), we can confirm. You can email this to to appmigratetalk@microsoft.com rather than posting it.

There may also be a workaround option for at least getting the assessment results for this site if the above steps to generate the assessmentinfo file are working for you - commands outlined below. You would use a similar command except skipping the anonymization step and get assessment results locally - the resulting AssessmentResults.json file should contain results somewhat similar to what you would get from saving the report from the Migration Assistant, with the check results in JSON format:

iisConfigAssistant.exe GetSiteAssessmentData "Default Web Site" false > C:\TEMP\NonAnonAssessmentInfo.json iisConfigAssistant.exe AssessReadiness C:\TEMP\NonAnonAssessmentInfo.json > C:\TEMP\AssessmentResults.json

robyoung67 commented 3 years ago

21b

krolson commented 3 years ago

Closing this issue due to lack of activity in last 90 days. Please open a new issue if you are experiencing a similar issue.

An alternative option now also would be to try using the PowerShell scripts that were recently released - these do not require outbound connectivity to do the assessment step (and will assess all sites on the server at once) as well as possibly addressing some cases that might cause this specific issue such as scanning to determine the full file content size for very large site content directories - the scripts are a lightweight option that involves simply dropping a directory of scripts on the machine (or at least a machine-accessible location) in order to try it out.

Main info page: https://github.com/Azure/App-Service-Migration-Assistant/wiki/PowerShell-Scripts Place to download: https://azure.microsoft.com/en-us/services/app-service/migration-assistant/