Web Deploy randomly fails

dorinoltean's Avatar

dorinoltean

09 Nov, 2015 12:08 PM

Hey,
I am using webdeploy to deploy 4 web projects from a solution. Problem is sometimes it fails to deploy with the following message.

Deploying using WebDeploy provider
Synchronizing contents of "Rubrikk.Munin.WebService.Api" artifact to website MuninWebServiceApi on server {myserver}/msdeploy.axd using WebDeploy
Synchronizing website content
Info: Using ID '61fa0a91-905d-4e2d-a1eb-42fb4a7b145c' for connections to the remote server.
Could not connect to the remote computer ("myserver"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE.

Sometimes it fails on first app. Sometimes on second.
I noticed that I did it 2 times in a row and first time it failed on first deploy. Second time on second deploy. Maybe there is some timeout to take down the current web application and that is exceeded?

  1. Support Staff 1 Posted by Feodor Fitsner on 09 Nov, 2015 02:59 PM

    Feodor Fitsner's Avatar

    Have you tried deploying via "Environments" to see if problem persists?

    - Feodor

  2. 2 Posted by dorinoltean on 09 Nov, 2015 06:34 PM

    dorinoltean's Avatar

    Got the same error with environment web deploy.
    But I managed to make it work though. I used AppVeyor Agent to deploy website and that seems like its working.

    I am thinking the error happens because its trying to deploy 2 websites using webdeploy, in the same time, on the same server and that is causing some problems. Probably IIS because it was locking some dlls on my server, that i couldn't delete unles i killed the iis web deploy process

    Thanks.

  3. Support Staff 3 Posted by Feodor Fitsner on 09 Nov, 2015 06:44 PM

    Feodor Fitsner's Avatar

    OK then, thanks for the update!

    - Feodor

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac