none
Register AzureStack Dev with Azure

    Question

  • Hi all,

    I have a Problem to register Azure Stack Development Kit with Azure.

    When I do this steps: https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-register

    After: When the script completes, you see a message “Activating Azure Stack (this step may take up to 10 minutes to complete).”

    I become this failer:

    VERBOSE: 2017-12-06.05-43-30: Activating Azure Stack (this may take up to 10 minutes to complete).
    Action plan execution failed. Error: Type 'ActivateAzureStack' of Role 'AzureBridge' raised an exception:
    ERROR Azure Bridge SetAzureConfiguration: Unable to connect to the remote server
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not
    properly respond after a period of time, or established connection failed because connected host has failed to respond 13.81.110.74:443
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state,
    IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
    More info can be found on machine 'AZS-WAS01' in the log file 'C:\ProgramData\Microsoft\AzureStack\Logs\ConfigureAzureBridgeActivateFeatures_20171206-174516.txt'.
    at <ScriptBlock><trap>, <No file>: line 12
    at <ScriptBlock>, <No file>: line 18
    At C:\AzureStack-Tools-master\Registration\RegisterWithAzure.psm1:665 char:9
    +         $activation = Invoke-Command -Session $session -ScriptBlock { ...
    +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OperationStopped: (Action plan exe... file>: line 18:String) [], RuntimeException
        + FullyQualifiedErrorId : Action plan execution failed. Error: Type 'ActivateAzureStack' of Role 'AzureBridge' raised an exception:
    ERROR Azure Bridge SetAzureConfiguration: Unable to connect to the remote server
        System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did
        not properly respond after a period of time, or established connection failed because connected host has failed to respond 13.81.110.74:443
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
           at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsy
       ncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
    More info can be found on machine 'AZS-WAS01' in the log file 'C:\ProgramData\Microsoft\AzureStack\Logs\ConfigureAzureBridgeActivateFeatures_20171206-174516.txt'.
    at <ScriptBlock><trap>, <No file>: line 12
    at <ScriptBlock>, <No file>: line 18

    PS C:\AzureStack-Tools-master\Registration>

    -----------------------------------------------------------------------------------------------------

    In the ConfigureAzureBridgeActivateFeatures_20171206-174516.txt:

    **********************
    Windows PowerShell transcript start
    Start time: 20171206174516
    Username: AZURESTACK\FA-cl2uwe9g
    RunAs User: AZURESTACK\FA-cl2uwe9g
    Machine: AZS-WAS01 (Microsoft Windows NT 10.0.14393.0)
    Host Application: C:\Windows\system32\wsmprovhost.exe -Embedding
    Process ID: 8972
    PSVersion: 5.1.14393.1884
    PSEdition: Desktop
    PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.1884
    BuildVersion: 10.0.14393.1884
    CLRVersion: 4.0.30319.42000
    WSManStackVersion: 3.0
    PSRemotingProtocolVersion: 2.3
    SerializationVersion: 1.1.0.1
    **********************
    VERBOSE: Transcript started, output file is C:\ProgramData\Microsoft\AzureStack\Logs\ConfigureAzureBridgeActivateFeatures_20171206-174516.txt
    VERBOSE: Looking up shared vhd product drive letter.
    VERBOSE: Get-Package returned with Success:True
    VERBOSE: Found package Microsoft.AzureStack.Services.AzureBridge.Setup with version 1.0.243 at D:\Microsoft.AzureStack.Services.AzureBridge.Setup.1.0.243\Microsoft.AzureStack.Services.AzureBridge.Setup.nuspec.
    VERBOSE: [AZS-WAS01] Invoking script 'D:\Microsoft.AzureStack.Services.AzureBridge.Setup.1.0.243\content\Setup\Scripts\Configuration\Initialize-ResourceProvider-AzureSettings.ps1' with params: {
        "CertPinningIntermediateThumbprints":  "417E225037FBFAA4F95761D5AE729E1AEA7E3A42;54D9D20239080C32316ED9FF980A48988F4ADF2D;8A38755D0996823FE8FA3116A277CE446EAC4E99;AD898AC73DF333EB60AC1F5FC6C4B2219DDB79B7;97EFF3028677894BDD4F9AC53F789BEE5DF4AD86;948E1652586240D453287AB69CAEB8F2F4F02117",
        "CertPinningRootSubjects":  "CN=Baltimore CyberTrust Root, OU=CyberTrust, O=Baltimore, C=IE",
        "AzureIdentityApplicationDataPath":  "\\\\SU1FileServer\\SU1_Infrastructure_1\\ASResourceProvider\\Config\\AzureBridge.IdentityApplication.Configuration.json",
        "CertificatePassword":  {
                                    "Length":  10
                                },
        "AzureIdentityCertificatePfxPath":  "\\\\SU1FileServer\\SU1_Infrastructure_1\\AzureStackCertStore\\Internal\\Current\\IdentityProvider\\AzureBridge.IdentityApplication.ClientCertificate.pfx",
        "AzureResourceManagerEndpoint":  "https://management.azure.com"
    }
    VERBOSE: Attempting to retrieve metadata endpoint information from resource manager endpoint 'https://management.azure.com/'
    VERBOSE: GET https://management.azure.com/metadata/endpoints?api-version=2015-01-01 with 0-byte payload
    >> TerminatingError(Invoke-RestMethod): "Unable to connect to the remote server"
    >> TerminatingError(Invoke-RestMethod): "Unable to connect to the remote server"
    >> TerminatingError(Invoke-RestMethod): "Unable to connect to the remote server"
    VERBOSE: ERROR Azure Bridge SetAzureConfiguration: Unable to connect to the remote server
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 13.81.110.74:443
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()

    More info can be found on machine 'AZS-WAS01' in the log file 'C:\ProgramData\Microsoft\AzureStack\Logs\ConfigureAzureBridgeActivateFeatures_20171206-174516.txt'.
    PS>TerminatingError(): "ERROR Azure Bridge SetAzureConfiguration: Unable to connect to the remote server
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 13.81.110.74:443
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
       at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()

    More info can be found on machine 'AZS-WAS01' in the log file 'C:\ProgramData\Microsoft\AzureStack\Logs\ConfigureAzureBridgeActivateFeatures_20171206-174516.txt'."
    >> $ErrorActionPreference = "Stop"; $VerbosePreference = "Continue"
    PS>CommandInvocation(Stop-Transcript): "Stop-Transcript"
    >> ParameterBinding(Stop-Transcript): name="ErrorAction"; value="Ignore"
    **********************
    Windows PowerShell transcript end
    End time: 20171206174540
    **********************

     

    Thursday, December 07, 2017 8:57 AM

All replies

  • Hello,

    Can you restart the AzS-WAS01 VM and retry registering your ASDK.

         

     Let us know how it goes.

     

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

    If you experience any issues with Azure Stack or the current ASDK release, please feel free to contact us.

           

     Thanks


    Gary Gallanes

    Thursday, December 07, 2017 7:26 PM
    Moderator
  • Hi Gary,

    thanks for your response, I restarted the AzS-Ws001 Vm and try It again. But the Script failed with the same Error. :-(

    Friday, December 08, 2017 9:16 AM