{"action":"created","issue":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/1495","repository_url":"https://api.github.com/repos/nodegit/nodegit","labels_url":"https://api.github.com/repos/nodegit/nodegit/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/1495/comments","events_url":"https://api.github.com/repos/nodegit/nodegit/issues/1495/events","html_url":"https://github.com/nodegit/nodegit/issues/1495","id":322902835,"node_id":"MDU6SXNzdWUzMjI5MDI4MzU=","number":1495,"title":"Error: SSL error: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init","user":{"login":"b-3-n","id":7460509,"node_id":"MDQ6VXNlcjc0NjA1MDk=","avatar_url":"https://avatars2.githubusercontent.com/u/7460509?v=4","gravatar_id":"","url":"https://api.github.com/users/b-3-n","html_url":"https://github.com/b-3-n","followers_url":"https://api.github.com/users/b-3-n/followers","following_url":"https://api.github.com/users/b-3-n/following{/other_user}","gists_url":"https://api.github.com/users/b-3-n/gists{/gist_id}","starred_url":"https://api.github.com/users/b-3-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-3-n/subscriptions","organizations_url":"https://api.github.com/users/b-3-n/orgs","repos_url":"https://api.github.com/users/b-3-n/repos","events_url":"https://api.github.com/users/b-3-n/events{/privacy}","received_events_url":"https://api.github.com/users/b-3-n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-14T17:05:54Z","updated_at":"2018-06-22T14:08:53Z","closed_at":null,"author_association":"NONE","body":"Hey. I'm getting the following error when cloning many repositories in a queue like fashion:\r\n\r\n> Error: SSL error: error:140E0197:SSL routines:SSL_shutdown:shutdown while in init\r\n\r\nOnce this error occurs, nodegit does not recover from it and any successive clone fails as well. Thus this is a severe issue for our application.\r\n\r\nMinimal example to reproduce the error:\r\nhttps://github.com/b-3-n/nodegit_debug\r\n\r\nI see no apparent reason for why nodegit would fail for the given example. If you remove the queue from the example it works on my machine so maybe the way the nodegit threads are being used with the queue data structure triggers the error. \r\n\r\nSince it is not clear whether this is a node git or libgit issue I created a libgit issue as well: https://github.com/libgit2/libgit2/issues/4644\r\n\r\nBackstory:\r\nWe are developing an application which among other things has to clone user repositories. Now since nodegit has a thread pool which has a fixed size we use a specialized data structure that makes sure that no more than 8 of threads of nodegit are used for cloning so that there are 2 threads available for other operations all the time. \r\n"},"comment":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/399455085","html_url":"https://github.com/nodegit/nodegit/issues/1495#issuecomment-399455085","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/1495","id":399455085,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQ1NTA4NQ==","user":{"login":"graphicore","id":393132,"node_id":"MDQ6VXNlcjM5MzEzMg==","avatar_url":"https://avatars2.githubusercontent.com/u/393132?v=4","gravatar_id":"","url":"https://api.github.com/users/graphicore","html_url":"https://github.com/graphicore","followers_url":"https://api.github.com/users/graphicore/followers","following_url":"https://api.github.com/users/graphicore/following{/other_user}","gists_url":"https://api.github.com/users/graphicore/gists{/gist_id}","starred_url":"https://api.github.com/users/graphicore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphicore/subscriptions","organizations_url":"https://api.github.com/users/graphicore/orgs","repos_url":"https://api.github.com/users/graphicore/repos","events_url":"https://api.github.com/users/graphicore/events{/privacy}","received_events_url":"https://api.github.com/users/graphicore/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T14:08:53Z","updated_at":"2018-06-22T14:08:53Z","author_association":"NONE","body":"Is anyone looking into this?"}}
{"actor":{"display_login":"graphicore"}}