Instalé una nueva AMI para EC2 (http://aws.amazon.com/amis/Microsoft/5147732567196848) y tengo instalado Web deploy 2.1 en ella.No se puede obtener la instancia de EC2 Windows Server 2008 (pila web) para recibir publicaciones de mi sitio web
La Web 2.1 desplegar el servicio se está ejecutando para real como
netstat -an
Muestra 8172 está siendo escuchado en el Servicio de implementación del agente web.
Pero, cuando trato de implementar en este sitio usando Proyecto-> haga click-> Publicar (a través de implementar web) recibo el mensaje de error siguiente
------ Build started: Project: Cir.Web, Configuration: Debug Any CPU ------
Cir.Web -> C:\Projects\CrazyInsaneRobot\Source\Cir.Web\bin\Cir.Web.dll
------ Publish started: Project: Cir.Web, Configuration: Debug Any CPU ------
Transformed Web.config using Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
Auto ConnectionString Transformed Views\Web.config into obj\Debug\CSAutoParameterize\transformed\Views\Web.config.
Auto ConnectionString Transformed obj\Debug\TransformWebConfig\transformed\Web.config into obj\Debug\CSAutoParameterize\transformed\Web.config.
Copying all files to temporary location below for package/publish:
obj\Debug\Package\PackageTmp.
Start Web Deploy Publish the Application/package to https://ec2-175-41-170-198.ap-southeast-1.compute.amazonaws.com:8172/msdeploy.axd?site=Default%20Web%20Site ...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 2 of
...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 10 of 10.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Error : Web deployment task failed.(Could not complete the request to remote agent URL 'https://ec2-175-41-170-198.ap-southeast-1.compute.amazonaws.com:8172/msdeploy.axd?site=Default Web Site'.)
This error indicates that you cannot connect to the server. Make sure the service URL is correct, firewall and network settings on this computer and on the server computer are configured properly, and the appropriate services have been started on the server.
Error details:
Could not complete the request to remote agent URL 'https://ec2-175-41-170-198.ap-southeast-1.compute.amazonaws.com:8172/msdeploy.axd?site=Default Web Site'.
The underlying connection was closed: An unexpected error occurred on a send.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Publish failed to deploy.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
Mi servidor de seguridad en la instancia EC2 ha sido apagado. Y mi configuración de cortafuegos de AWS son
cuales son los ajustes recomendados.
notas Otros/pensamientos:
- Mi Web Despliegue de registro de errores en el registro de errores de Windows está completamente vacío
- He usado web implementar antes de usar un IAM diferente en el pasado y el éxito sin problemas.
Si alguien tiene alguna sugerencia sobre cómo depurar esto, ¡estaría tan agradecido!
telnet intento (MyIP) 8172 ¿Recibes respuesta? –
@ hamlin11 yup. Puedo conectar w/telnet. Por favor, mira la respuesta aceptada para lo que funcionó para mí. No habría adivinado ese problema – CVertex
Mi problema fue que olvidé abrir el Abeto EC2 ewall D__D. Gracias por su pregunta, ¡resolvió mi problema! –