{"action":"created","issue":{"url":"https://api.github.com/repos/yourivw/LEClient/issues/61","repository_url":"https://api.github.com/repos/yourivw/LEClient","labels_url":"https://api.github.com/repos/yourivw/LEClient/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/yourivw/LEClient/issues/61/comments","events_url":"https://api.github.com/repos/yourivw/LEClient/issues/61/events","html_url":"https://github.com/yourivw/LEClient/issues/61","id":403217425,"node_id":"MDU6SXNzdWU0MDMyMTc0MjU=","number":61,"title":"Uncaught RuntimeException: Invalid response, header: HTTP/1.1 200 OK","user":{"login":"adigital","id":11165524,"node_id":"MDQ6VXNlcjExMTY1NTI0","avatar_url":"https://avatars3.githubusercontent.com/u/11165524?v=4","gravatar_id":"","url":"https://api.github.com/users/adigital","html_url":"https://github.com/adigital","followers_url":"https://api.github.com/users/adigital/followers","following_url":"https://api.github.com/users/adigital/following{/other_user}","gists_url":"https://api.github.com/users/adigital/gists{/gist_id}","starred_url":"https://api.github.com/users/adigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adigital/subscriptions","organizations_url":"https://api.github.com/users/adigital/orgs","repos_url":"https://api.github.com/users/adigital/repos","events_url":"https://api.github.com/users/adigital/events{/privacy}","received_events_url":"https://api.github.com/users/adigital/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-01-25T15:58:41Z","updated_at":"2019-03-08T06:38:36Z","closed_at":null,"author_association":"NONE","body":"Great job taking your time to craft this library.\r\n\r\nI encountered an error and after some digging, it turns out Let's Encrypt has made changes to HTTP Status Code for HEAD new-nonce.\r\n\r\nMore Info:\r\n-------\r\nhttps://community.letsencrypt.org/t/acme-v2-change-to-http-status-code-for-head-new-nonce/82000\r\n\r\nFix:\r\n---------\r\nFile: https://github.com/yourivw/LEClient/blob/master/src/LEConnector.php#L91\r\nChange to:\r\n\t\t`if(strpos($this->head($this->newNonce)['header'], \"200 OK\") == false) throw new \\RuntimeException('No new nonce.');`\r\n\r\nFile: https://github.com/yourivw/LEClient/blob/master/src/LEConnector.php#L145\r\nChange to:\r\n\r\n`if(\t(($method == 'POST' OR $method == 'GET') AND strpos($header, \"200 OK\") === false AND strpos($header, \"201 Created\") === false) OR\r\n\t\t\t($method == 'HEAD' AND strpos($header, \"200 OK\") === false))\r\n\t\t{\r\n\t\t\tthrow new \\RuntimeException('Invalid response, header: ' . $header);\r\n\t\t}`\r\n\r\nHeads Up!"},"comment":{"url":"https://api.github.com/repos/yourivw/LEClient/issues/comments/470822962","html_url":"https://github.com/yourivw/LEClient/issues/61#issuecomment-470822962","issue_url":"https://api.github.com/repos/yourivw/LEClient/issues/61","id":470822962,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MDgyMjk2Mg==","user":{"login":"vaaguirre","id":8311947,"node_id":"MDQ6VXNlcjgzMTE5NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/8311947?v=4","gravatar_id":"","url":"https://api.github.com/users/vaaguirre","html_url":"https://github.com/vaaguirre","followers_url":"https://api.github.com/users/vaaguirre/followers","following_url":"https://api.github.com/users/vaaguirre/following{/other_user}","gists_url":"https://api.github.com/users/vaaguirre/gists{/gist_id}","starred_url":"https://api.github.com/users/vaaguirre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaaguirre/subscriptions","organizations_url":"https://api.github.com/users/vaaguirre/orgs","repos_url":"https://api.github.com/users/vaaguirre/repos","events_url":"https://api.github.com/users/vaaguirre/events{/privacy}","received_events_url":"https://api.github.com/users/vaaguirre/received_events","type":"User","site_admin":false},"created_at":"2019-03-08T06:38:36Z","updated_at":"2019-03-08T06:38:36Z","author_association":"NONE","body":"This is the best acme library is found. Can this fix be merged please? \r\n\r\nI realize its been a while since the last activity here, can someone fork and add this fix?"}}
{"actor":{"display_login":"vaaguirre"}}