{"action":"created","issue":{"url":"https://api.github.com/repos/boostorg/beast/issues/1209","repository_url":"https://api.github.com/repos/boostorg/beast","labels_url":"https://api.github.com/repos/boostorg/beast/issues/1209/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/beast/issues/1209/comments","events_url":"https://api.github.com/repos/boostorg/beast/issues/1209/events","html_url":"https://github.com/boostorg/beast/issues/1209","id":344667996,"node_id":"MDU6SXNzdWUzNDQ2Njc5OTY=","number":1209,"title":"Getting \"existing connection forcibly closed by remote host\" when I should be getting websocket::error::closed","user":{"login":"emag37","id":28715405,"node_id":"MDQ6VXNlcjI4NzE1NDA1","avatar_url":"https://avatars3.githubusercontent.com/u/28715405?v=4","gravatar_id":"","url":"https://api.github.com/users/emag37","html_url":"https://github.com/emag37","followers_url":"https://api.github.com/users/emag37/followers","following_url":"https://api.github.com/users/emag37/following{/other_user}","gists_url":"https://api.github.com/users/emag37/gists{/gist_id}","starred_url":"https://api.github.com/users/emag37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emag37/subscriptions","organizations_url":"https://api.github.com/users/emag37/orgs","repos_url":"https://api.github.com/users/emag37/repos","events_url":"https://api.github.com/users/emag37/events{/privacy}","received_events_url":"https://api.github.com/users/emag37/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-26T02:04:56Z","updated_at":"2018-09-06T13:01:02Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI have a simple test setup where I have a simple secure websocket server running in Tornado websockets in Python 2.7, and a C++ websocket client using the version of boost::beast included with the Boost 1.67.0 release. The connection is made over SSL with TLSv1.2. I'm compiling with MSVC 19.14.26433.0 x86_64 (32 bit compiler for 64 bit host) \r\n\r\nMy C++ client calls async_read and waits for data. When it receives data, it checks for any errors then fires a callback with said data. It then starts another async_read.\r\n\r\nFrom what I understand, when I call close() on the server-side websocket connection, the async_read callback on the C++ side should gracefully intercept and respond to the websocket 'close' frame, and callback with the error code set to websocket::error::closed. \r\n\r\nHowever, my async_read callback always seems to have \"An existing connection was forcibly closed by the remote host\" set as the error. I've also seen it as \"stream truncated\" a couple of times.\r\n\r\nI registered a control_callback, and am able to see the 'close' frame being received there, so I'm not sure why async_read does not have the correct error message.\r\n\r\nIs this a known issue? Am I doing something wrong? Thank you!"},"comment":{"url":"https://api.github.com/repos/boostorg/beast/issues/comments/419084293","html_url":"https://github.com/boostorg/beast/issues/1209#issuecomment-419084293","issue_url":"https://api.github.com/repos/boostorg/beast/issues/1209","id":419084293,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTA4NDI5Mw==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-09-06T13:01:02Z","updated_at":"2018-09-06T13:01:02Z","author_association":"NONE","body":"This issue has been open for a while with no activity, has it been resolved?\n"}}
{"actor":{"display_login":"stale"}}