{"action":"closed","issue":{"url":"https://api.github.com/repos/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/16","repository_url":"https://api.github.com/repos/Xabaril/AspNetCore.Diagnostics.HealthChecks","labels_url":"https://api.github.com/repos/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/16/comments","events_url":"https://api.github.com/repos/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/16/events","html_url":"https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/16","id":387907032,"node_id":"MDU6SXNzdWUzODc5MDcwMzI=","number":16,"title":"Self referencing loop detected","user":{"login":"Discjoggy","id":9248593,"node_id":"MDQ6VXNlcjkyNDg1OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9248593?v=4","gravatar_id":"","url":"https://api.github.com/users/Discjoggy","html_url":"https://github.com/Discjoggy","followers_url":"https://api.github.com/users/Discjoggy/followers","following_url":"https://api.github.com/users/Discjoggy/following{/other_user}","gists_url":"https://api.github.com/users/Discjoggy/gists{/gist_id}","starred_url":"https://api.github.com/users/Discjoggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Discjoggy/subscriptions","organizations_url":"https://api.github.com/users/Discjoggy/orgs","repos_url":"https://api.github.com/users/Discjoggy/repos","events_url":"https://api.github.com/users/Discjoggy/events{/privacy}","received_events_url":"https://api.github.com/users/Discjoggy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"CarlosLanderas","id":16475649,"node_id":"MDQ6VXNlcjE2NDc1NjQ5","avatar_url":"https://avatars2.githubusercontent.com/u/16475649?v=4","gravatar_id":"","url":"https://api.github.com/users/CarlosLanderas","html_url":"https://github.com/CarlosLanderas","followers_url":"https://api.github.com/users/CarlosLanderas/followers","following_url":"https://api.github.com/users/CarlosLanderas/following{/other_user}","gists_url":"https://api.github.com/users/CarlosLanderas/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosLanderas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosLanderas/subscriptions","organizations_url":"https://api.github.com/users/CarlosLanderas/orgs","repos_url":"https://api.github.com/users/CarlosLanderas/repos","events_url":"https://api.github.com/users/CarlosLanderas/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosLanderas/received_events","type":"User","site_admin":false},"assignees":[{"login":"CarlosLanderas","id":16475649,"node_id":"MDQ6VXNlcjE2NDc1NjQ5","avatar_url":"https://avatars2.githubusercontent.com/u/16475649?v=4","gravatar_id":"","url":"https://api.github.com/users/CarlosLanderas","html_url":"https://github.com/CarlosLanderas","followers_url":"https://api.github.com/users/CarlosLanderas/followers","following_url":"https://api.github.com/users/CarlosLanderas/following{/other_user}","gists_url":"https://api.github.com/users/CarlosLanderas/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosLanderas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosLanderas/subscriptions","organizations_url":"https://api.github.com/users/CarlosLanderas/orgs","repos_url":"https://api.github.com/users/CarlosLanderas/repos","events_url":"https://api.github.com/users/CarlosLanderas/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosLanderas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2018-12-05T19:22:09Z","updated_at":"2018-12-06T15:39:03Z","closed_at":"2018-12-06T15:39:02Z","author_association":"NONE","body":"Hi,\r\n\r\nthe response of GET requests produces an error response when a services is unavailable which is then unusable, e.g. for a health check ui service. First I used the healt check support for `AzureStorageEmulator` and I thought this is an emulator specific issue, but I've also tried the provided health check support for `Identity Server` and `Uri` and everything is working well as long as the services are available - when it is not, a self referencing loop was detected.\r\n\r\n```json\r\n{\r\n  \"error\": {\r\n    \"code\": \"500\",\r\n    \"message\": \"Self referencing loop detected for property 'exception' with type 'Microsoft.WindowsAzure.Storage.StorageException'. Path  'entries.azureblob.exception.requestInformation'.\"\r\n  }\r\n}\r\n```\r\n\r\nThe `ConfigureServices` method contains this:\r\n```cs\r\nservices.AddHealthChecks().AddAzureBlobStorage(configuration.GetConnectionString(\"AzureStorage\"));\r\n````\r\n`\r\nThe `Configure` method looks like this:\r\n```cs\r\napp.UseHealthChecks(\"/api/health\", new HealthCheckOptions()\r\n{\r\n    Predicate = _ => true,\r\n    ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse\r\n});\r\n```"}}
{"actor":{"display_login":"unaizorrilla"}}