{"action":"opened","issue":{"url":"https://api.github.com/repos/ziahamza/webui-aria2/issues/177","labels_url":"https://api.github.com/repos/ziahamza/webui-aria2/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/ziahamza/webui-aria2/issues/177/comments","events_url":"https://api.github.com/repos/ziahamza/webui-aria2/issues/177/events","html_url":"https://github.com/ziahamza/webui-aria2/issues/177","id":123112013,"number":177,"title":"Can't connect to encrypted connection.","user":{"login":"hboetes","id":2285225,"avatar_url":"https://avatars.githubusercontent.com/u/2285225?v=3","gravatar_id":"","url":"https://api.github.com/users/hboetes","html_url":"https://github.com/hboetes","followers_url":"https://api.github.com/users/hboetes/followers","following_url":"https://api.github.com/users/hboetes/following{/other_user}","gists_url":"https://api.github.com/users/hboetes/gists{/gist_id}","starred_url":"https://api.github.com/users/hboetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hboetes/subscriptions","organizations_url":"https://api.github.com/users/hboetes/orgs","repos_url":"https://api.github.com/users/hboetes/repos","events_url":"https://api.github.com/users/hboetes/events{/privacy}","received_events_url":"https://api.github.com/users/hboetes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-19T21:26:08Z","updated_at":"2015-12-19T21:26:08Z","closed_at":null,"body":"When I run aria2c like this:\r\n\r\n```aria2c --enable-rpc --rpc-listen-all=true --console-log-level=debug --http-accept-gzip=true --rpc-secure=true --rpc-certificate=$HOME/aria/aria.crt --rpc-private-key=$HOME/aria/aria.key```\r\n\r\nI see this in the debug output:\r\n```\r\n12/19 22:19:54 [INFO] RPC: Accepted the connection from 1.2.3.4:56058.\r\n12/19 22:19:54 [DEBUG] Creating TLS session\r\n12/19 22:19:54 [DEBUG] TLS Handshaking\r\n12/19 22:19:54 [DEBUG] Securely connected to 1.2.3.4:56058\r\n12/19 22:19:54 [INFO] CUID#29 - Error occurred while reading HTTP request\r\nException: [SocketCore.cc:878] errorCode=1 Failed to receive data, cause: EOF was received                                                                                                                                     ```\r\n\r\nIf I try connecting to the same ip and port with a webbrowser I do get a gzipped json file.\r\n\r\nIf I disable encryption everything works OK. What am I missing here?"}}