Blog de Florent Appointaire

Blog sur les technologies Microsoft (Windows Server, System Center, Azure, Windows Azure Pack/Azure Stack, etc;)

Après avoir installé l’UR6 de SPF, mon WAP ne fonctionnait plus, aucun VM Cloud n’était détecté. Je suis donc allé dans le journal d’évenement, Applications and Services Logs > Microsoft > WindowsAzurePack > MgmtSvc-AdminAPI >Operational:

SNAGHTMLf6d4e66

L’évenement 12 a été généré en continu (2 erreurs différentes):

Error:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it XXX.XXX.XXX.XXX:8090
   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 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.WindowsAzure.Server.Management.Core.MessageHandlers.ProxyMessageHandler.<ForwardPassThroughRequestAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.WindowsAzure.Server.Management.Core.MessageHandlers.ProxyMessageHandler.<SendAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.WindowsAzure.Server.Management.Core.MessageHandlers.AuthorizationMessageHandler.<SendAsync>d__0.MoveNext(), operationName:<ESTIMATED> Admin/, version:, accept language:, subscription Id:, client request Id:bb67f2b1-e4be-4d48-affb-11645ba295ff-2015-04-29 06:38:00Z, principal Id:DEVOTEAM\Florent, page request Id:, server request id:371da7bf366b47b29c67135b307332df.2015-04-29T06:38:00.5487501Z

Après quelques recherches, je suis tombé sur le KB3056677 qui correspond à mon problème. Il s’avère qu’au moment de l’installation de l’UR6 de SPF, ce dernier duplique le bindings du website:

image 
Supprimez un des deux bindings et vérifiez bien que le certificat est toujours appliqué sur le binding restant, sinon vous aurez un nouvel évenement numéro 12:

Error:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
   --- End of inner exception stack trace ---
   at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
   at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
   --- 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 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.WindowsAzure.Server.Management.Core.MessageHandlers.ProxyMessageHandler.<ForwardPassThroughRequestAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.WindowsAzure.Server.Management.Core.MessageHandlers.ProxyMessageHandler.<SendAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.WindowsAzure.Server.Management.Core.MessageHandlers.AuthorizationMessageHandler.<SendAsync>d__0.MoveNext(), operationName:<ESTIMATED> Admin/, version:, accept language:, subscription Id:, client request Id:d0a813af-60d3-4c5f-b0f5-fd1ce05acde0-2015-04-29 06:43:16Z, principal Id:DEVOTEAM\Florent, page request Id:, server request id:e6dcdb0bae9b4883bcb16cc8bb765f40.2015-04-29T06:43:16.1805708Z

Redémarrez le site web SPF. Votre VM Clouds peut maintenant se resynchroniser.

Facebook Like
Anonymous