{"action":"created","issue":{"url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef/issues/1979","repository_url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef","labels_url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef/issues/1979/labels{/name}","comments_url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef/issues/1979/comments","events_url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef/issues/1979/events","html_url":"https://github.com/DeaDBeeF-Player/deadbeef/issues/1979","id":301486902,"number":1979,"title":"Curl error 60 (SSL certificate problem) accessing lastfm for (legacy) artwork","user":{"login":"Lithopsian","id":7702742,"avatar_url":"https://avatars0.githubusercontent.com/u/7702742?v=4","gravatar_id":"","url":"https://api.github.com/users/Lithopsian","html_url":"https://github.com/Lithopsian","followers_url":"https://api.github.com/users/Lithopsian/followers","following_url":"https://api.github.com/users/Lithopsian/following{/other_user}","gists_url":"https://api.github.com/users/Lithopsian/gists{/gist_id}","starred_url":"https://api.github.com/users/Lithopsian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lithopsian/subscriptions","organizations_url":"https://api.github.com/users/Lithopsian/orgs","repos_url":"https://api.github.com/users/Lithopsian/repos","events_url":"https://api.github.com/users/Lithopsian/events{/privacy}","received_events_url":"https://api.github.com/users/Lithopsian/received_events","type":"User","site_admin":false},"labels":[{"id":70935216,"url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-01T17:10:51Z","updated_at":"2018-03-07T16:14:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Steps to reproduce the problem\r\n1. Configure the legacy artwork plugin to search for cover images at lastfm (and nowhere else)\r\n2. Play a track where there should be a cover image at lastfm\r\n3. Artwork doesn't load, default image doesn't load, and network activity is high\r\n\r\n### What's going on? Describe the problem in as much detail as possible.\r\nThe artwork plugin finds an https location for the artwork.  When it attempts to copy down the image, Curl fails with error 60 which means there is no SSL certificate for the url.  It aborts the request and returns zero bytes and errno 0.  The artwork plugin doesn't understand this and ends up with neither a cover image nor an understanding that its request failed, so it keeps trying continuously.\r\n\r\nThe artwork plugin could be fixed to behave better in this situation, but I don't know what should be done about Curl.  Is there something in my build that has failed to load certificates?  Is it just because of Debian not automatically downloading a certificate package with libcurl?  Does vfs_curl need to catch this and pass information back to the caller?\r\n\r\n### Information about the software:\r\nDeadbeef version: trunk\r\nOS: Debian\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef/issues/comments/371191361","html_url":"https://github.com/DeaDBeeF-Player/deadbeef/issues/1979#issuecomment-371191361","issue_url":"https://api.github.com/repos/DeaDBeeF-Player/deadbeef/issues/1979","id":371191361,"user":{"login":"Lithopsian","id":7702742,"avatar_url":"https://avatars0.githubusercontent.com/u/7702742?v=4","gravatar_id":"","url":"https://api.github.com/users/Lithopsian","html_url":"https://github.com/Lithopsian","followers_url":"https://api.github.com/users/Lithopsian/followers","following_url":"https://api.github.com/users/Lithopsian/following{/other_user}","gists_url":"https://api.github.com/users/Lithopsian/gists{/gist_id}","starred_url":"https://api.github.com/users/Lithopsian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lithopsian/subscriptions","organizations_url":"https://api.github.com/users/Lithopsian/orgs","repos_url":"https://api.github.com/users/Lithopsian/repos","events_url":"https://api.github.com/users/Lithopsian/events{/privacy}","received_events_url":"https://api.github.com/users/Lithopsian/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T16:14:41Z","updated_at":"2018-03-07T16:14:41Z","author_association":"CONTRIBUTOR","body":"> are you sure that the same version of libcurl is used by command line curl and deadbeef?\r\n\r\nI don't think it is.  The plugin is linked against libcurl-gnutls.so.  /usr/bin/curl is linked against libcurl.so."}}
{"actor":{"display_login":"Lithopsian"}}