Cloud Service: Powershell Error while waiting for Role to Start
hi,
i have below code when trying deploy cloud service powershell using new-azuredeployment.
how can on this. happens every once in 5 instance of deployment.
system.net.http.httprequestexception: error occurred while sending request. ---> system.net.webexception: unable connect remote server ---> system.n
et.sockets.socketexception: connection attempt failed because connected party did not respond after period of time, or established connection failed because connected ho
st has failed respond xx.xxx.xxx.xxx: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 system.net.httpwebrequest.endgetresponse(iasyncresult asyncresult)
at system.net.http.httpclienthandler.getresponsecallback(iasyncresult ar)
--- end of inner exception stack trace ---
at microsoft.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task)
at microsoft.runtime.compilerservices.taskawaiter.handlenonsuccess(task task)
at microsoft.windowsazure.management.storage.storageaccountoperationsextensions.get(istorageaccountoperations operations, string accountname)
at microsoft.windowsazure.commands.common.storage.storageutilities.generatecloudstorageaccount(storagemanagementclient storageclient, string accountname)
at microsoft.windowsazure.commands.utilities.common.windowsazuresubscriptionextensions.getcloudstorageaccount(azuresubscription subscription)
at microsoft.windowsazure.commands.storage.common.storagecloudcmdletbase`1.getstorageaccountfromsubscription()
at microsoft.windowsazure.commands.storage.common.storagecloudcmdletbase`1.getcmdletstoragecontext()
thanks,
pradebban raja
hi,
please have check on below blog , check if helps.
regards,
mekh.
Microsoft Azure > Azure Scripting and Command Line Tools
Comments
Post a Comment