tag:help.appveyor.com,2012-11-13:/discussions/problems/1503-deploy-error-after-appveyor-deploy-agent-updateAppVeyor: Discussion 2018-08-25T01:53:52Ztag:help.appveyor.com,2012-11-13:Comment/359672912015-02-05T11:00:49Z2015-02-05T11:00:49ZDeploy Error after appveyor deploy agent update<div><p>What version of OS is on target server? Deployment Agent
supports Windows Server 2012 and above: <a href=
"http://www.appveyor.com/docs/deployment/agent#software-requirements">
http://www.appveyor.com/docs/deployment/agent#software-requirements</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359672912015-02-05T17:24:45Z2015-02-05T17:24:45ZDeploy Error after appveyor deploy agent update<div><p>We are using server 2008 but the old version worked with your
deployment agent. Is there a way to make skip directory work with
2008? or any workaround?</p>
<p>thank you</p></div>mark.garciatag:help.appveyor.com,2012-11-13:Comment/359672912015-02-05T17:27:41Z2015-02-05T17:27:41ZDeploy Error after appveyor deploy agent update<div><p>I can look into that. Is it 2008 or 2008 R2? Do you have HTTPS
bindings setup?</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359672912015-02-05T17:56:29Z2015-02-05T17:56:29ZDeploy Error after appveyor deploy agent update<div><p>It's 2008 R2, Https is allowed for that server because our
domain has https.</p></div>mark.garciatag:help.appveyor.com,2012-11-13:Comment/359672912015-02-05T17:58:37Z2015-02-05T17:58:37ZDeploy Error after appveyor deploy agent update<div><p>I mean do you have https bindings setup on Agent deployment
environment?</p>
<p>Also, I see agent fails on creating a new web site, right?</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359672912015-02-05T22:29:16Z2015-02-05T22:29:16ZDeploy Error after appveyor deploy agent update<div><p>The main reason Windows Server 2008 R2 (and below) is not
supported is that there is no Web Sockets available when using
SignalR client.</p>
<p>I've setup a fresh 2008 R2 server on Azure and indeed, looking
at "Deployment Agent" event log, Agent is trying to connect using
"serverSentEvents" provider, then it fails after <code>Registering
deployment agent</code> with <code>Error subscribing agent events:
The operation was canceled.</code></p>
<p>Now I'm wondering how your server was able to connect. Could you
export "Deployment Agent" event viewer log and send it to me ("Save
all events as..." to <code>.evtx</code> file)? Where do you host
that server?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359672912015-02-06T02:19:33Z2015-02-06T02:19:33ZDeploy Error after appveyor deploy agent update<div><p>Here's the log file.<br>
OS: Server 2008 R2 Datacenter</p></div>mark.garciatag:help.appveyor.com,2012-11-13:Comment/359672912015-02-06T02:52:17Z2015-02-06T02:52:17ZDeploy Error after appveyor deploy agent update<div><p>Amazing, despite there is <code>Error subscribing agent events:
The operation was canceled.</code> error it's still getting
connected to AppVeyor cloud.</p>
<p>I'll do some experiments here and let you know about the
results.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359672912015-02-06T03:11:25Z2015-02-06T03:11:25ZDeploy Error after appveyor deploy agent update<div><p>Because we will not be changing the OS anytime soon so we just
tried it and it worked, it just doesn't work with the new one.</p></div>mark.garciatag:help.appveyor.com,2012-11-13:Comment/359672912015-02-06T04:36:54Z2015-02-06T04:36:54ZDeploy Error after appveyor deploy agent update<div><p>Mark,</p>
<p>We've updated Deployment Agent to support IIS 7.x. Install the
latest: <a href=
"http://www.appveyor.com/downloads/AppveyorDeploymentAgent.msi">http://www.appveyor.com/downloads/AppveyorDeploymentAgent.msi</a></p>
<p>Let me know how it worked.</p>
<p>...I'd still prefer to consider Windows Server 2008 support as
"unofficial" ;)</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359672912015-02-06T04:44:03Z2015-02-06T04:44:03ZDeploy Error after appveyor deploy agent update<div><p>Nice, I'll try this in a bit. You guys have the best customer
response rate.</p>
<p>Thanks</p></div>mark.garciatag:help.appveyor.com,2012-11-13:Comment/359672912015-02-06T06:34:47Z2015-02-06T06:34:47ZDeploy Error after appveyor deploy agent update<div><p>Cool, it works on my end. It deploys my updates and skips the
directory. I tried restarting the appveyor service a couple of
times though before it started to work.</p></div>mark.garciatag:help.appveyor.com,2012-11-13:Comment/359672912015-02-06T06:41:14Z2015-02-06T06:41:14ZDeploy Error after appveyor deploy agent update<div><p>Great, thanks for update!</p></div>Feodor Fitsner