{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/148","repository_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl","labels_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/148/comments","events_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/148/events","html_url":"https://github.com/JuliaWeb/MbedTLS.jl/issues/148","id":322428450,"node_id":"MDU6SXNzdWUzMjI0Mjg0NTA=","number":148,"title":"new handshake changes appear to be throwing ECONNRESET unexpectedly ","user":{"login":"s2maki","id":9142796,"node_id":"MDQ6VXNlcjkxNDI3OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/9142796?v=4","gravatar_id":"","url":"https://api.github.com/users/s2maki","html_url":"https://github.com/s2maki","followers_url":"https://api.github.com/users/s2maki/followers","following_url":"https://api.github.com/users/s2maki/following{/other_user}","gists_url":"https://api.github.com/users/s2maki/gists{/gist_id}","starred_url":"https://api.github.com/users/s2maki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s2maki/subscriptions","organizations_url":"https://api.github.com/users/s2maki/orgs","repos_url":"https://api.github.com/users/s2maki/repos","events_url":"https://api.github.com/users/s2maki/events{/privacy}","received_events_url":"https://api.github.com/users/s2maki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-11T20:43:23Z","updated_at":"2018-06-18T17:49:53Z","closed_at":null,"author_association":"NONE","body":"When using 1c8c0a1 and trying to make several calls to AWS in quick succession, I am seeing the following error:\r\n\r\n```\r\nERROR (unhandled task failure): read: connection reset by peer (ECONNRESET)\r\nStacktrace:\r\n [1] try_yieldto(::Base.##296#297{Task}, ::Task) at ./event.jl:189\r\n [2] wait() at ./event.jl:234\r\n [3] wait(::Condition) at ./event.jl:27\r\n [4] macro expansion at /home/jrun/.julia/v0.6/MbedTLS/src/ssl.jl:188 [inlined]\r\n [5] (::MbedTLS.##36#37{MbedTLS.SSLContext})() at ./event.jl:73\r\n```\r\n\r\nThe line in question (ssl.jl:188) appears to be waiting on a Condition (`ctx.bio.readnotify`) , but somehow it ends up throwing an `ECONNRESET` in some cases.\r\n\r\nWhile it does appear from the Julia source that this Condition is allowed to throw exceptions, there is no handler for it since this is happening in a `@schedule`.  Separately, I'm not sure why the `ECONNRESET` is occurring in the first place.  If I roll back to v0.5.8, there are no errors for the same sequence of AWS calls.\r\n\r\nThis is in Julia 0.6 on Linux."},"comment":{"url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/comments/398139304","html_url":"https://github.com/JuliaWeb/MbedTLS.jl/issues/148#issuecomment-398139304","issue_url":"https://api.github.com/repos/JuliaWeb/MbedTLS.jl/issues/148","id":398139304,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODEzOTMwNA==","user":{"login":"s2maki","id":9142796,"node_id":"MDQ6VXNlcjkxNDI3OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/9142796?v=4","gravatar_id":"","url":"https://api.github.com/users/s2maki","html_url":"https://github.com/s2maki","followers_url":"https://api.github.com/users/s2maki/followers","following_url":"https://api.github.com/users/s2maki/following{/other_user}","gists_url":"https://api.github.com/users/s2maki/gists{/gist_id}","starred_url":"https://api.github.com/users/s2maki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s2maki/subscriptions","organizations_url":"https://api.github.com/users/s2maki/orgs","repos_url":"https://api.github.com/users/s2maki/repos","events_url":"https://api.github.com/users/s2maki/events{/privacy}","received_events_url":"https://api.github.com/users/s2maki/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T17:49:53Z","updated_at":"2018-06-18T17:49:53Z","author_association":"NONE","body":"The error is no longer being thrown.  However, I am seeing (on Linux with a \"high\"* volume of HTTPS requests going out to DynamoDB), I am seeing a considerable sluggishness.  It's as though the ECONNRESET error is occurring a lot and it's causing excessive retries.\r\n\r\n*a few dozen per second; nothing crazy, and this is probably still considered \"low\" to most people these days."}}
{"actor":{"display_login":"s2maki"}}