powershell - New-AzureDeployment times out on package upload -


i'm trying automate our deployment azure process. i've gone through various pages google with powershell scripts examples.

i've narrowed down problem part:

# publish - here 500 server error -( new-azuredeployment -slot "staging" -package $package -configuration $configuration -servicename $service 

and error message: error message

looking @ $error variable (specifically @ $error[0].exception.innerexception.response) can see request timed out: error request

operation not completed within specified time

i have tried uploading package file (4 mb - plain vanilla mvc4 app empty template) azure , in in $package variable giving url:

new-azuredeployment -slot "staging" -package "https://blah.blob.core.windows.net/shared/blah.cspkg" -configuration $configuration -servicename $service 

and publish went instantly , can access staging instance latest changes.

does mean azure publishing service has timeout period , shady internet connection speed not allow push file within timeout? took me 4 minutes upload file via coudxplorer , plain vanilla app nothing in it. real app 10 times larger.

is there can done that? or i'll have upload packages azure storage first , publish there?

update confirmed - internet connection. have spinned virtual machine in azure cloud, set required scripts there , tried deploy package local file , worked fine - deployed expected, no error messages. azure, why can't specify timeout? people still live adsl , 0.3mbit upload speed -(

we use api management service - see answer here. had lots of similar issues deploying ps, ended copying deployment package blob on build , running ps or rest api commands there deploy. there build & copy blob example in so answer.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -