Skip to content
This repository was archived by the owner on Jul 9, 2020. It is now read-only.

Service dies if consul is down #44

Open
floekke opened this issue Oct 13, 2016 · 0 comments
Open

Service dies if consul is down #44

floekke opened this issue Oct 13, 2016 · 0 comments

Comments

@floekke
Copy link

floekke commented Oct 13, 2016

Hi

Great work. I'm evaluating Microphone at the moment.. I ran into this exception after stopping my local consul agent. Is this as expected?

2016-10-13 14:56:59 [Information] OK
2016-10-13 14:57:07 [Error] Crashed
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 127.0.0.1:8500
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 Microphone.Core.ClusterProviders.ConsulRestClient.d__2.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 Microphone.Core.ClusterProviders.ConsulProvider.<>c.<b__9_0>d.MoveNext()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant