{"action":"created","issue":{"url":"https://api.github.com/repos/Fullscreen/yt/issues/163","labels_url":"https://api.github.com/repos/Fullscreen/yt/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/Fullscreen/yt/issues/163/comments","events_url":"https://api.github.com/repos/Fullscreen/yt/issues/163/events","html_url":"https://github.com/Fullscreen/yt/issues/163","id":74206968,"number":163,"title":"Yt::Errors::ServerError: A request to YouTube API caused an unexpected server error:","user":{"login":"cqcn1991","id":2425141,"avatar_url":"https://avatars.githubusercontent.com/u/2425141?v=3","gravatar_id":"","url":"https://api.github.com/users/cqcn1991","html_url":"https://github.com/cqcn1991","followers_url":"https://api.github.com/users/cqcn1991/followers","following_url":"https://api.github.com/users/cqcn1991/following{/other_user}","gists_url":"https://api.github.com/users/cqcn1991/gists{/gist_id}","starred_url":"https://api.github.com/users/cqcn1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cqcn1991/subscriptions","organizations_url":"https://api.github.com/users/cqcn1991/orgs","repos_url":"https://api.github.com/users/cqcn1991/repos","events_url":"https://api.github.com/users/cqcn1991/events{/privacy}","received_events_url":"https://api.github.com/users/cqcn1991/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Fullscreen/yt/labels/needs%20tests","name":"needs tests","color":"fad8c7"},{"url":"https://api.github.com/repos/Fullscreen/yt/labels/Windows%20only","name":"Windows only","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-08T02:58:07Z","updated_at":"2015-05-27T14:07:33Z","closed_at":null,"body":"I can get result return from google now, but it does not display properly.\r\n\r\n      require 'yt'\r\n      Yt.configure do |config|\r\n        config.api_key = 'my key'\r\n        config.log_level = :debug\r\n      end\r\n    \r\n      video = Yt::Video.new(id: 'MESycYJytkU')\r\n\r\nIt returns\r\n\r\n          Yt::Errors::ServerError: A request to YouTube API caused an unexpected server er\r\n          ror:\r\n              {}\r\n        \r\n          You can retry the same request manually by running:\r\n                                                         curl -X GET -H \"content-length: 0\" -H \"user-agent: Yt::Request (gzip)\" \"https://\r\n        www.googleapis.com/youtube/v3/videos?id=MESycYJytkU&key=****&part=snippet\"\r\n        \r\n        \r\n          D:in `each'\r\n        D:in `each'\r\n        D:in `first'\r\n          D:in `first'\r\n        D:in `title'\r\n\r\n\r\nI checked the link, it is **the info** about the video. But it can't return it in proper form. Why is that?"},"comment":{"url":"https://api.github.com/repos/Fullscreen/yt/issues/comments/105924631","html_url":"https://github.com/Fullscreen/yt/issues/163#issuecomment-105924631","issue_url":"https://api.github.com/repos/Fullscreen/yt/issues/163","id":105924631,"user":{"login":"claudiofullscreen","id":7408595,"avatar_url":"https://avatars.githubusercontent.com/u/7408595?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiofullscreen","html_url":"https://github.com/claudiofullscreen","followers_url":"https://api.github.com/users/claudiofullscreen/followers","following_url":"https://api.github.com/users/claudiofullscreen/following{/other_user}","gists_url":"https://api.github.com/users/claudiofullscreen/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiofullscreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiofullscreen/subscriptions","organizations_url":"https://api.github.com/users/claudiofullscreen/orgs","repos_url":"https://api.github.com/users/claudiofullscreen/repos","events_url":"https://api.github.com/users/claudiofullscreen/events{/privacy}","received_events_url":"https://api.github.com/users/claudiofullscreen/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T14:07:33Z","updated_at":"2015-05-27T14:07:33Z","body":"Hello @kevinelliott!\r\n\r\nThe code you wrote disables SSL certificate verification, and might not be a good idea. \r\nI think we're better off understand why this is happening and hopefully fixing it.\r\n\r\nThe following article is a great resource to debug why such an error happens. \r\nCould you run the script indicated in the article and tell me if see any red light? Thanks!\r\n\r\nhttp://mislav.uniqpath.com/2013/07/ruby-openssl/"}}