{"action":"created","issue":{"url":"https://api.github.com/repos/kelunik/acme-client/issues/10","repository_url":"https://api.github.com/repos/kelunik/acme-client","labels_url":"https://api.github.com/repos/kelunik/acme-client/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/kelunik/acme-client/issues/10/comments","events_url":"https://api.github.com/repos/kelunik/acme-client/issues/10/events","html_url":"https://github.com/kelunik/acme-client/issues/10","id":127962292,"number":10,"title":"UnexpectedValueException: Decode error: Incomplete packet in daverandom/libdns/src/Decoder/Decoder.php:111","user":{"login":"DSpeichert","id":1254971,"avatar_url":"https://avatars.githubusercontent.com/u/1254971?v=3","gravatar_id":"","url":"https://api.github.com/users/DSpeichert","html_url":"https://github.com/DSpeichert","followers_url":"https://api.github.com/users/DSpeichert/followers","following_url":"https://api.github.com/users/DSpeichert/following{/other_user}","gists_url":"https://api.github.com/users/DSpeichert/gists{/gist_id}","starred_url":"https://api.github.com/users/DSpeichert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DSpeichert/subscriptions","organizations_url":"https://api.github.com/users/DSpeichert/orgs","repos_url":"https://api.github.com/users/DSpeichert/repos","events_url":"https://api.github.com/users/DSpeichert/events{/privacy}","received_events_url":"https://api.github.com/users/DSpeichert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kelunik/acme-client/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-01-21T16:24:07Z","updated_at":"2016-05-01T11:12:34Z","closed_at":"2016-01-22T04:55:23Z","body":"I have the following error and I can't figure out what is causing it. I can use DNS normally with dig but this asynchronous resolver fails to work.\r\n\r\n```\r\n[2016-01-21 17:22:09] ACME.INFO: Generating key keys ...\r\n[2016-01-21 17:22:10] ACME.INFO: Registering with ACME server acme-v01.api.letsencrypt.org/directory ...\r\n[2016-01-21 17:22:11] ACME.ERROR: Amp\\CombinatorException: All promises passed to Amp\\some() failed\r\n[2016-01-21 17:22:11] ACME.ERROR: UnexpectedValueException: Decode error: Incomplete packet (tried to read 4 bytes from index 510 in /home/ciapi/acme-client/vendor/daverandom/libdns/src/Decoder/Decoder.php:111\r\n[2016-01-21 17:22:11] ACME.ERROR: Next Amp\\Dns\\ResolutionException: Response decode error in /home/ciapi/acme-client/vendor/amphp/dns/lib/functions.php:542\r\n[2016-01-21 17:22:11] ACME.ERROR: UnexpectedValueException: Decode error: Incomplete packet (tried to read 4 bytes from index 510 in /home/ciapi/acme-client/vendor/daverandom/libdns/src/Decoder/Decoder.php:111\r\n[2016-01-21 17:22:11] ACME.ERROR: Next Amp\\Dns\\ResolutionException: Response decode error in /home/ciapi/acme-client/vendor/amphp/dns/lib/functions.php:542\r\n[2016-01-21 17:22:11] ACME.ERROR: UnexpectedValueException: Decode error: Incomplete packet (tried to read 4 bytes from index 510 in /home/ciapi/acme-client/vendor/daverandom/libdns/src/Decoder/Decoder.php:111\r\n[2016-01-21 17:22:11] ACME.ERROR: Next Amp\\Dns\\ResolutionException: Response decode error in /home/ciapi/acme-client/vendor/amphp/dns/lib/functions.php:542\r\n[2016-01-21 17:22:11] ACME.ERROR: UnexpectedValueException: Decode error: Incomplete packet (tried to read 4 bytes from index 510 in /home/ciapi/acme-client/vendor/daverandom/libdns/src/Decoder/Decoder.php:111\r\n[2016-01-21 17:22:11] ACME.ERROR: Next Amp\\Dns\\ResolutionException: Response decode error in /home/ciapi/acme-client/vendor/amphp/dns/lib/functions.php:542\r\n[2016-01-21 17:22:11] ACME.ERROR: Next Amp\\Dns\\ResolutionException: All name resolution requests failed in /home/ciapi/acme-client/vendor/amphp/dns/lib/functions.php:266\r\n[2016-01-21 17:22:11] ACME.ERROR: Next Kelunik\\Acme\\AcmeException: Could not obtain directory. in /home/ciapi/acme-client/vendor/kelunik/acme/lib/AcmeClient.php:118\r\n```"},"comment":{"url":"https://api.github.com/repos/kelunik/acme-client/issues/comments/216035271","html_url":"https://github.com/kelunik/acme-client/issues/10#issuecomment-216035271","issue_url":"https://api.github.com/repos/kelunik/acme-client/issues/10","id":216035271,"user":{"login":"DaveRandom","id":2396425,"avatar_url":"https://avatars.githubusercontent.com/u/2396425?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveRandom","html_url":"https://github.com/DaveRandom","followers_url":"https://api.github.com/users/DaveRandom/followers","following_url":"https://api.github.com/users/DaveRandom/following{/other_user}","gists_url":"https://api.github.com/users/DaveRandom/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveRandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveRandom/subscriptions","organizations_url":"https://api.github.com/users/DaveRandom/orgs","repos_url":"https://api.github.com/users/DaveRandom/repos","events_url":"https://api.github.com/users/DaveRandom/events{/privacy}","received_events_url":"https://api.github.com/users/DaveRandom/received_events","type":"User","site_admin":false},"created_at":"2016-05-01T11:12:34Z","updated_at":"2016-05-01T11:12:34Z","body":"It's not enabled by default because strictly it is a protocol violation (and that would be a BC break) and semver. I guess I could just tag a v2 but i'd like to investigate https://github.com/DaveRandom/LibDNS/issues/6 first.\r\n\r\nI'm not sure about TCP, since it's a sporadic fail dependent on dodgy server behaviour it's hard to know. I'm guessing not but I'll look at both issues this week."}}