locked
ASDK: App Services Installation Failure RRS feed

  • Question

  • Hi,

    I am trying to install App Services V1.1 on ASDK v1803. The installation fails at Offline Product Step with the following error message:

    [0E7C:6D48][2018-06-12T13:25:53]: [Websites]: Processing product entry: 'SQLDriverPHP70IISx86'.
    [0E7C:6D48][2018-06-12T13:54:00]: [Websites]: The operation has timed out.
    [0E7C:6D48][2018-06-12T13:54:00]: [Websites]: Failed to download file: 'http://download.microsoft.com/download/E/A/8/EA850A8A-4CBA-49B6-BC5F-98DC6020E990/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE'.
    [0E7C:6D48][2018-06-12T13:54:00]: [Websites]: Step Offline products has completed with error.
    [0E7C:6D48][2018-06-12T13:54:00]: [Websites]: Failed to download file: 'http://download.microsoft.com/download/E/A/8/EA850A8A-4CBA-49B6-BC5F-98DC6020E990/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE'.
    System.Net.WebException: Failed to download file: 'http://download.microsoft.com/download/E/A/8/EA850A8A-4CBA-49B6-BC5F-98DC6020E990/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE'.
       at Microsoft.Web.Hosting.RetryPolicy.<ExecuteActionAsync>d__3`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at Microsoft.Web.Hosting.SingleInstaller.Views.InstallProductsViewModel.<>c__DisplayClass17.<<RunProvisioningStep>b__13>d__25.MoveNext()
    Full stack trace:
       at Microsoft.Web.Hosting.ExceptionHelper.ExceptionToString(Exception exception)
       at Microsoft.Web.Hosting.SingleInstaller.Views.InstallProductsViewModel.<>c__DisplayClass17.<<RunProvisioningStep>b__13>d__25.MoveNext()
       at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
       at Microsoft.Web.Hosting.SingleInstaller.Views.InstallProductsViewModel.<>c__DisplayClass17.<RunProvisioningStep>b__13()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()
       at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
       at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
       at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

    I have tried multiple times, but it fails at this step. I also tried offline download, but it fails at this step.

    Please advise. Thank you!

    Tuesday, June 12, 2018 10:59 PM

Answers

  • Hello,

    Fiddler shows the following when downloading the file.

     

    GET http://download.microsoft.com/download/E/A/8/EA850A8A-4CBA-49B6-BC5F-98DC6020E990/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE HTTP/1.1

    Accept: text/html, application/xhtml+xml, image/jxr, */*

    Accept-Language: en-US,en;q=0.5

    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

    Accept-Encoding: gzip, deflate, peerdist

     

    Note: The HTTP ‘GET’ call will default to Port 80 if a Port is not specified in the command. 

    I suggest enabling Ports 80 & 443 Out & In from Host: ‘download.microsoft.com’.

      

    Let us know how it goes

       

    We apologize for any inconvenience and appreciate your time and interest in Azure Stack.

    If you continue experience any issues with ASDK release, feel free to contact us.

           

     Thanks, 


    Gary Gallanes





    Friday, June 15, 2018 9:02 PM

All replies

  • Do ensure that the prerequisites mentioned in the article Before you get started with App Service on Azure Stack, for the connected scenario (esp., the VNET configuration appropriate) are met.  

     

    For offline download, to add the App Service resource provider to your offline Azure Stack deployment, you must complete these top-level tasks:

    1. Complete the prerequisite steps 
    2. Download and extract the installation and helper files to a machine connected to the Internet.
    3. Create an offline installation package.
    4. Run the appservice.exe installer file.

     

    If feasible, you may restart the server and then check to see if that helps.

    Just as a test, you could disable Firewall on the server, and then re-try the operation.
    Note: It is not recommended to turnoff Firewall, enable the firewall immediately after the test.

    Wednesday, June 13, 2018 7:13 AM
  • Hello,

    I tried the following, but the App Services Offline Product step keeps failing to download SQLDriverPHP70IISx86:

    • Disabled the firewall and tried.
    • Restarted the server and disabled the firewall and tried

    I have completed all the prerequisites mentioned. Regarding the VNet, I am choosing to let App Service create it during installation.

    I am unable to do the Offline download as well. Please advise.

    Thanks!

    Wednesday, June 13, 2018 6:26 PM
  • Hi

    I've just tried the following path from the log and I'm able to download the file:

    http://download.microsoft.com/download/E/A/8/EA850A8A-4CBA-49B6-BC5F-98DC6020E990/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE

    You mentioned that you tried the offline download and it failed but could you please try the offline download from a different machine and may be from a different network just to discard any firewall issue from you current network.

    Thanks,

    Joaquín

    • Proposed as answer by Joaquin.Vano Wednesday, July 25, 2018 5:39 PM
    Thursday, June 14, 2018 2:42 AM
  • Hi,

    Thanks for your reply. I am able to download the file from a public network. What can I change in my firewall settings so that the file is downloaded on the ASDK host machine? 

    Also, I have setup App Services earlier on the same machine with the same network, and the download was successful earlier, but is failing now. Any insights would be appreciated.

    Thank you!

    Friday, June 15, 2018 2:41 PM
  • Hello,

    Fiddler shows the following when downloading the file.

     

    GET http://download.microsoft.com/download/E/A/8/EA850A8A-4CBA-49B6-BC5F-98DC6020E990/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE HTTP/1.1

    Accept: text/html, application/xhtml+xml, image/jxr, */*

    Accept-Language: en-US,en;q=0.5

    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

    Accept-Encoding: gzip, deflate, peerdist

     

    Note: The HTTP ‘GET’ call will default to Port 80 if a Port is not specified in the command. 

    I suggest enabling Ports 80 & 443 Out & In from Host: ‘download.microsoft.com’.

      

    Let us know how it goes

       

    We apologize for any inconvenience and appreciate your time and interest in Azure Stack.

    If you continue experience any issues with ASDK release, feel free to contact us.

           

     Thanks, 


    Gary Gallanes





    Friday, June 15, 2018 9:02 PM
  • same file error for me [408C:D034][2018-07-23T13:39:21]: [Websites]: Failed to download file: 'http://download.microsoft.com/download/3/6/8/368BBF2A-1679-4C44-8865-C7873B95290B/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE'.

    trying other download directly - I can only download 561KB of 579KB and it hangs...

    so it doesn't seem to be a firewall issue, it gets 97% done and hangs...


    • Edited by Todd Christ Wednesday, July 25, 2018 4:45 PM
    Wednesday, July 25, 2018 4:44 PM
  • FYI - I was able to get http://download.microsoft.com/download/3/6/8/368BBF2A-1679-4C44-8865-C7873B95290B/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE to download 

    I had to change to HTTPS (not http) - can you guys check the script to see if this is the issue?


    edit: I'm using 1.0.180513.1
    • Edited by Todd Christ Wednesday, July 25, 2018 6:53 PM
    Wednesday, July 25, 2018 4:49 PM
  • Hello,

    Fiddler shows the following when downloading the file.

     

    GET http://download.microsoft.com/download/E/A/8/EA850A8A-4CBA-49B6-BC5F-98DC6020E990/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE HTTP/1.1

    Accept: text/html, application/xhtml+xml, image/jxr, */*

    Accept-Language: en-US,en;q=0.5

    User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

    Accept-Encoding: gzip, deflate, peerdist

     

    Note: The HTTP ‘GET’ call will default to Port 80 if a Port is not specified in the command. 

    I suggest enabling Ports 80 & 443 Out & In from Host: ‘download.microsoft.com’.

      

    Let us know how it goes

       

    We apologize for any inconvenience and appreciate your time and interest in Azure Stack.

    If you continue experience any issues with ASDK release, feel free to contact us.

           

     Thanks, 


    Gary Gallanes





    I've disabled firewall completely and still cannot download with http, it gets to 95% done and hangs...

    If I use https it downloads instantly

    https://download.microsoft.com/download/3/6/8/368BBF2A-1679-4C44-8865-C7873B95290B/webpi/installers/SQLDriverPHP70IISx86/SHA1/SQLSRV40_WPI.EXE

    Thursday, July 26, 2018 10:23 PM