{"action":"created","issue":{"url":"https://api.github.com/repos/vincenthz/hs-tls/issues/179","repository_url":"https://api.github.com/repos/vincenthz/hs-tls","labels_url":"https://api.github.com/repos/vincenthz/hs-tls/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/vincenthz/hs-tls/issues/179/comments","events_url":"https://api.github.com/repos/vincenthz/hs-tls/issues/179/events","html_url":"https://github.com/vincenthz/hs-tls/issues/179","id":197893623,"number":179,"title":"Invalid header type: 72","user":{"login":"creichert","id":526560,"avatar_url":"https://avatars.githubusercontent.com/u/526560?v=3","gravatar_id":"","url":"https://api.github.com/users/creichert","html_url":"https://github.com/creichert","followers_url":"https://api.github.com/users/creichert/followers","following_url":"https://api.github.com/users/creichert/following{/other_user}","gists_url":"https://api.github.com/users/creichert/gists{/gist_id}","starred_url":"https://api.github.com/users/creichert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creichert/subscriptions","organizations_url":"https://api.github.com/users/creichert/orgs","repos_url":"https://api.github.com/users/creichert/repos","events_url":"https://api.github.com/users/creichert/events{/privacy}","received_events_url":"https://api.github.com/users/creichert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-28T18:07:54Z","updated_at":"2016-12-28T21:26:20Z","closed_at":null,"body":"When making some vanilla calls to the stripe api, I receive some bizarre errors. I've done some sanity checking throughout my code with no luck.\r\n\r\nThis error happens roughly 35% of the time:\r\n\r\n```TlsExceptionHostPort (HandshakeFailed (Error_Packet_Parsing \"Failed reading: invalid header type: 72\\nFrom:\\theader\\n\\n\")) \"api.stripe.com\" 443```\r\n\r\n\r\n- https://github.com/vincenthz/hs-tls/blob/f4fec8169130b42c7b5591e064f359892e9c2a64/core/Network/TLS/Packet.hs#L105\r\n\r\nAny idea where I should start debugging this?\r\n"},"comment":{"url":"https://api.github.com/repos/vincenthz/hs-tls/issues/comments/269543333","html_url":"https://github.com/vincenthz/hs-tls/issues/179#issuecomment-269543333","issue_url":"https://api.github.com/repos/vincenthz/hs-tls/issues/179","id":269543333,"user":{"login":"vdukhovni","id":1107986,"avatar_url":"https://avatars.githubusercontent.com/u/1107986?v=3","gravatar_id":"","url":"https://api.github.com/users/vdukhovni","html_url":"https://github.com/vdukhovni","followers_url":"https://api.github.com/users/vdukhovni/followers","following_url":"https://api.github.com/users/vdukhovni/following{/other_user}","gists_url":"https://api.github.com/users/vdukhovni/gists{/gist_id}","starred_url":"https://api.github.com/users/vdukhovni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdukhovni/subscriptions","organizations_url":"https://api.github.com/users/vdukhovni/orgs","repos_url":"https://api.github.com/users/vdukhovni/repos","events_url":"https://api.github.com/users/vdukhovni/events{/privacy}","received_events_url":"https://api.github.com/users/vdukhovni/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T21:26:20Z","updated_at":"2016-12-28T21:26:20Z","body":"> @ocheron Btw 72 is not 'F' but 'H', the first character of an HTTP response in clear text.\r\n\r\nOops, indeed, sorry about the misdirection.  This is strong evidence that the connection was a service that does use TLS, perhaps some port 443 service is not in fact configured for TLS."}}
{"actor":{"display_login":"vdukhovni"}}