{"action":"created","issue":{"url":"https://api.github.com/repos/diafygi/acme-tiny/issues/11","repository_url":"https://api.github.com/repos/diafygi/acme-tiny","labels_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/11/comments","events_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/11/events","html_url":"https://github.com/diafygi/acme-tiny/issues/11","id":120434867,"number":11,"title":"Script claims it wrote file to /var/www/challenges/  but didn't actually write","user":{"login":"xxdesmus","id":186536,"avatar_url":"https://avatars.githubusercontent.com/u/186536?v=3","gravatar_id":"","url":"https://api.github.com/users/xxdesmus","html_url":"https://github.com/xxdesmus","followers_url":"https://api.github.com/users/xxdesmus/followers","following_url":"https://api.github.com/users/xxdesmus/following{/other_user}","gists_url":"https://api.github.com/users/xxdesmus/gists{/gist_id}","starred_url":"https://api.github.com/users/xxdesmus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxdesmus/subscriptions","organizations_url":"https://api.github.com/users/xxdesmus/orgs","repos_url":"https://api.github.com/users/xxdesmus/repos","events_url":"https://api.github.com/users/xxdesmus/events{/privacy}","received_events_url":"https://api.github.com/users/xxdesmus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-12-04T16:20:18Z","updated_at":"2016-02-08T23:04:55Z","closed_at":"2015-12-05T23:09:06Z","body":"So when I run the script it claims that it wrote the file to /var/www/challenges/ ...but when I check it didn't actually write it so then the challenge obviously fails.  Presumably there should be error handling to check if the challenge was correctly written? Seems right now it just assumes it did/could write it and then it carries on based on that assumption until the check fails.\r\n\r\n```\r\npython acme_tiny.py --account-key ./account.key --csr ./domain.csr --acme-dir /var/www/challenges/ > ./signed.crt\r\nParsing account key...parsed!\r\nParsing CSR...parsed!\r\nRegistering account...already registered!\r\nVerifying XXXXXX...Traceback (most recent call last):\r\n  File \"acme_tiny.py\", line 195, in <module>\r\n    signed_crt = get_crt(args.account_key, args.csr, args.acme_dir)\r\n  File \"acme_tiny.py\", line 127, in get_crt\r\n    wellknown_path, wellknown_url))\r\nValueError: Wrote file to /var/www/challenges/YYYYYYYYYYYY, but couldn't download http://XXXXXXX/.well-known/acme-challenge/YYYYYYYYYYYY\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/diafygi/acme-tiny/issues/comments/181612726","html_url":"https://github.com/diafygi/acme-tiny/issues/11#issuecomment-181612726","issue_url":"https://api.github.com/repos/diafygi/acme-tiny/issues/11","id":181612726,"user":{"login":"inklesspen","id":11397,"avatar_url":"https://avatars.githubusercontent.com/u/11397?v=3","gravatar_id":"","url":"https://api.github.com/users/inklesspen","html_url":"https://github.com/inklesspen","followers_url":"https://api.github.com/users/inklesspen/followers","following_url":"https://api.github.com/users/inklesspen/following{/other_user}","gists_url":"https://api.github.com/users/inklesspen/gists{/gist_id}","starred_url":"https://api.github.com/users/inklesspen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inklesspen/subscriptions","organizations_url":"https://api.github.com/users/inklesspen/orgs","repos_url":"https://api.github.com/users/inklesspen/repos","events_url":"https://api.github.com/users/inklesspen/events{/privacy}","received_events_url":"https://api.github.com/users/inklesspen/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T23:04:55Z","updated_at":"2016-02-08T23:04:55Z","body":"Got hit by the cloudflare issue here too. I can turn off the browser integrity feature if i know that's what's causing it, but it was just failing with an error that the challenge file wasn't readable, when i could verify in my browser it was."}}