{"action":"closed","issue":{"url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/284","labels_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/284/comments","events_url":"https://api.github.com/repos/StackExchange/StackExchange.Redis/issues/284/events","html_url":"https://github.com/StackExchange/StackExchange.Redis/issues/284","id":108409584,"number":284,"title":"Error getting value from 'SslHost' on 'StackExchange.Redis.ConfigurationOptions'. ---> System.InvalidOperationException: Sequence contains no elements","user":{"login":"emilyclairelewis42","id":8770959,"avatar_url":"https://avatars.githubusercontent.com/u/8770959?v=3","gravatar_id":"","url":"https://api.github.com/users/emilyclairelewis42","html_url":"https://github.com/emilyclairelewis42","followers_url":"https://api.github.com/users/emilyclairelewis42/followers","following_url":"https://api.github.com/users/emilyclairelewis42/following{/other_user}","gists_url":"https://api.github.com/users/emilyclairelewis42/gists{/gist_id}","starred_url":"https://api.github.com/users/emilyclairelewis42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emilyclairelewis42/subscriptions","organizations_url":"https://api.github.com/users/emilyclairelewis42/orgs","repos_url":"https://api.github.com/users/emilyclairelewis42/repos","events_url":"https://api.github.com/users/emilyclairelewis42/events{/privacy}","received_events_url":"https://api.github.com/users/emilyclairelewis42/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T21:17:25Z","updated_at":"2016-01-28T11:53:32Z","closed_at":"2016-01-28T11:53:32Z","body":"Hello, this may or may not be a proper bug, but when I upgrade to NuGet package 1.0.481 from 1.0.414 many of my unit tests break with the following exception:\r\n\r\n> Error getting value from 'SslHost' on 'StackExchange.Redis.ConfigurationOptions'. ---> System.InvalidOperationException: Sequence contains no elements\r\n\r\nThe root cause appears to be because I have many tests that instantiate RedisCommandDescriptor like so:\r\n\r\n```C#\r\nConfigurationOptions configurationOptionsExpected = new ConfigurationOptions();\r\n```\r\n\r\n... set a few sparse properties,and then do a cheap comparison for equality using Json.NET:\r\n\r\n```C#\r\nAssert.IsTrue(BsonSerializer.ToBson(configurationOptionsExpected).SequenceEqual(BsonSerializer.ToBson(configurationOptionsObserved)));\r\n```\r\n\r\nIt would appear that in this version of 1.0.481 a default instance of ConfigurationOptions throws \"InvalidOperationException\" from SslHost because it's not initialized, so I am forced to set it to an empty string to suppress the test failure.\r\n"}}