{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/3605","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3605/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3605/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3605/events","html_url":"https://github.com/crystal-lang/crystal/issues/3605","id":192172438,"number":3605,"title":"Failing specs in macOS from master branch for OpenSSL","user":{"login":"jwoertink","id":2391,"avatar_url":"https://avatars.githubusercontent.com/u/2391?v=3","gravatar_id":"","url":"https://api.github.com/users/jwoertink","html_url":"https://github.com/jwoertink","followers_url":"https://api.github.com/users/jwoertink/followers","following_url":"https://api.github.com/users/jwoertink/following{/other_user}","gists_url":"https://api.github.com/users/jwoertink/gists{/gist_id}","starred_url":"https://api.github.com/users/jwoertink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwoertink/subscriptions","organizations_url":"https://api.github.com/users/jwoertink/orgs","repos_url":"https://api.github.com/users/jwoertink/repos","events_url":"https://api.github.com/users/jwoertink/events{/privacy}","received_events_url":"https://api.github.com/users/jwoertink/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-29T02:33:43Z","updated_at":"2016-11-29T18:32:07Z","closed_at":"2016-11-29T18:32:07Z","body":"Using the latest build from master `Crystal 0.20.0+37 [4439f2d] (2016-11-28)` when I run `.build/crystal spec/` I get the following errors:\r\n\r\n```text\r\nFailures:\r\n\r\n  1) OpenSSL::SSL::Context has sane client defaults shouldn't connect to incomplete-chain.badssl.com\r\n\r\n       expected OpenSSL::SSL::Error but nothing was raised\r\n\r\n     # expanded macro: expect_raises:1\r\n\r\n  2) OpenSSL::SSL::Context has sane client defaults shouldn't connect to dh480.badssl.com\r\n\r\n       expected OpenSSL::SSL::Error but nothing was raised\r\n\r\n     # expanded macro: expect_raises:1\r\n\r\n  3) OpenSSL::SSL::Context has sane client defaults shouldn't connect to dh480.badssl.com with verification disabled\r\n\r\n       expected OpenSSL::SSL::Error but nothing was raised\r\n\r\n     # expanded macro: expect_raises:1\r\n\r\n  4) OpenSSL::SSL::Context has sane client defaults should connect to mozilla-modern.badssl.com successfully\r\n\r\n       SSL_connect: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure\r\n       0x10da01b12: *CallStack::unwind:Array(Pointer(Void)) at ??\r\n       0x10da01ab1: *CallStack#initialize:Array(Pointer(Void)) at ??\r\n       0x10da01a88: *CallStack::new:CallStack at ??\r\n       0x10d5f1071: *raise<OpenSSL::SSL::Error>:NoReturn at ??\r\n       0x10ea9182a: *OpenSSL::SSL::Socket::Client#initialize:context:hostname<TCPSocket, OpenSSL::SSL::Context::Client, String>:Nil at ??\r\n       0x10ea91749: *OpenSSL::SSL::Socket::Client::new:context:hostname<TCPSocket, OpenSSL::SSL::Context::Client, String>:OpenSSL::SSL::Socket::Client at ??\r\n       0x10d9fad48: *connect_to<String, OpenSSL::SSL::Context::Client>:Bool at ??\r\n       0x10eae3231: */Users/jeremywoertink/Development/crystal/lang/spec/manual/badssl_spec.cr#connect_to<String>:Bool at ??\r\n       0x10d9fdee8: ~proc14Proc(Nil)@spec/manual/badssl_spec.cr:84 at ??\r\n       0x10d5fb08a: *it<String, String, Int32, Int32, &Proc(Nil)>:(Array(Spec::Result) | Nil) at ??\r\n       0x10d9fa51c: ~procProc(Nil)@spec/manual/badssl_spec.cr:16 at ??\r\n       0x10db3af52: *Spec::RootContext::describe<String, String, Int32, &Proc(Nil)>:Spec::Context+ at ??\r\n       0x10d5fae09: *describe<String, String, Int32, &Proc(Nil)>:Spec::Context+ at ??\r\n       0x10d5d7baa: __crystal_main at ??\r\n       0x10d5ef8c8: main at ??\r\n\r\nFinished in 9:26 minutes\r\n11527 examples, 3 failures, 1 errors, 11 pending\r\n\r\nFailed examples:\r\n\r\ncrystal spec spec/manual/badssl_spec.cr:27 # OpenSSL::SSL::Context has sane client defaults shouldn't connect to incomplete-chain.badssl.com\r\ncrystal spec spec/manual/badssl_spec.cr:45 # OpenSSL::SSL::Context has sane client defaults shouldn't connect to dh480.badssl.com\r\ncrystal spec spec/manual/badssl_spec.cr:51 # OpenSSL::SSL::Context has sane client defaults shouldn't connect to dh480.badssl.com with verification disabled\r\ncrystal spec spec/manual/badssl_spec.cr:84 # OpenSSL::SSL::Context has sane client defaults should connect to mozilla-modern.badssl.com successfully\r\n```\r\n\r\nRunning on macOS 10.12.1"},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/263656524","html_url":"https://github.com/crystal-lang/crystal/issues/3605#issuecomment-263656524","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/3605","id":263656524,"user":{"login":"jwoertink","id":2391,"avatar_url":"https://avatars.githubusercontent.com/u/2391?v=3","gravatar_id":"","url":"https://api.github.com/users/jwoertink","html_url":"https://github.com/jwoertink","followers_url":"https://api.github.com/users/jwoertink/followers","following_url":"https://api.github.com/users/jwoertink/following{/other_user}","gists_url":"https://api.github.com/users/jwoertink/gists{/gist_id}","starred_url":"https://api.github.com/users/jwoertink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwoertink/subscriptions","organizations_url":"https://api.github.com/users/jwoertink/orgs","repos_url":"https://api.github.com/users/jwoertink/repos","events_url":"https://api.github.com/users/jwoertink/events{/privacy}","received_events_url":"https://api.github.com/users/jwoertink/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T18:32:07Z","updated_at":"2016-11-29T18:32:07Z","body":"Ok, I've submitted a PR for those docs. Since this isn't really an issue, but more clarification, I'll close this out. Thanks!"}}
{"actor":{"display_login":"jwoertink"}}