{"action":"opened","issue":{"url":"https://api.github.com/repos/lukas2511/dehydrated/issues/540","repository_url":"https://api.github.com/repos/lukas2511/dehydrated","labels_url":"https://api.github.com/repos/lukas2511/dehydrated/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/lukas2511/dehydrated/issues/540/comments","events_url":"https://api.github.com/repos/lukas2511/dehydrated/issues/540/events","html_url":"https://github.com/lukas2511/dehydrated/issues/540","id":314601140,"number":540,"title":"Challenge is invalid! (returned: invalid)","user":{"login":"heyarne","id":525780,"avatar_url":"https://avatars2.githubusercontent.com/u/525780?v=4","gravatar_id":"","url":"https://api.github.com/users/heyarne","html_url":"https://github.com/heyarne","followers_url":"https://api.github.com/users/heyarne/followers","following_url":"https://api.github.com/users/heyarne/following{/other_user}","gists_url":"https://api.github.com/users/heyarne/gists{/gist_id}","starred_url":"https://api.github.com/users/heyarne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyarne/subscriptions","organizations_url":"https://api.github.com/users/heyarne/orgs","repos_url":"https://api.github.com/users/heyarne/repos","events_url":"https://api.github.com/users/heyarne/events{/privacy}","received_events_url":"https://api.github.com/users/heyarne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-16T11:01:43Z","updated_at":"2018-04-16T11:01:43Z","closed_at":null,"author_association":"NONE","body":"I didn't find any other place to ask for support, so sorry if this isn't the right place to ask this question.\r\n\r\nI'm trying to set up dehydrated and get rid of the official letsencrypt client. I've done so successfully on one server and I'm hitting problems doing it on another one.\r\n\r\nThe error message I get is this:\r\n```\r\n$ dehydrated/dehydrated -c\r\n# INFO: Using main config file /etc/dehydrated/config\r\nProcessing nuee.schlueter.is\r\n + Signing domains...\r\n + Generating private key...\r\n + Generating signing request...\r\n + Requesting new certificate order from CA...\r\n + Received 1 authorizations URLs from the CA\r\n + Handling authorization for nuee.schlueter.is\r\n + 1 pending challenge(s)\r\n + Deploying challenge tokens...\r\n + Responding to challenge for nuee.schlueter.is authorization...\r\n + Cleaning challenge tokens...\r\n + Challenge validation has failed :(\r\nERROR: Challenge is invalid! (returned: invalid) (result: {\r\n  \"type\": \"http-01\",\r\n  \"status\": \"invalid\",\r\n  \"error\": {\r\n    \"type\": \"urn:ietf:params:acme:error:connection\",\r\n    \"detail\": \"Fetching http://nuee.schlueter.is/.well-known/acme-challenge/lfvtAzbgkisw8Q4Q6GwjnwkCy0SQd5_F6XbPc4ctb84: Timeout\",\r\n    \"status\": 400\r\n  },\r\n  \"url\": \"https://acme-staging-v02.api.letsencrypt.org/acme/challenge/QiWcN1U_r-lrL0Mule3SiB6Qgo5Emdkyqgtqs2ezClk/118245333\",\r\n  \"token\": \"lfvtAzbgkisw8Q4Q6GwjnwkCy0SQd5_F6XbPc4ctb84\",\r\n  \"validationRecord\": [\r\n    {\r\n      \"url\": \"http://nuee.schlueter.is/.well-known/acme-challenge/lfvtAzbgkisw8Q4Q6GwjnwkCy0SQd5_F6XbPc4ctb84\",\r\n      \"hostname\": \"nuee.schlueter.is\",\r\n      \"port\": \"80\",\r\n      \"addressesResolved\": [\r\n        \"46.101.150.180\",\r\n        \"2a03:b0c0:3:d0::2457:3001\"\r\n      ],\r\n      \"addressUsed\": \"2a03:b0c0:3:d0::2457:3001\"\r\n    }\r\n  ]\r\n})\r\n```\r\n\r\nI've set up a `test.txt` in `/var/www/dehydrated` as suggested in the wiki. The file is accessible via .well-known/acme-challenge/test.txt. I'm not sure how to read the `400` error described in the JSON blob above.\r\n\r\nAs I said, I do have a currently still active cert from another client, which I thought might cause problems (even though it shouldn't, because the order is request cert - answer challenge - obtain cert, no?). I have thus disabled ssl redirection, making the folder accessible via plain port 80 http, but had the same result. Any other idea?\r\n\r\nSome environment info:\r\n```\r\n$ dehydrated/dehydrated --version\r\n# INFO: Using main config file /etc/dehydrated/config\r\nDehydrated by Lukas Schauer\r\nhttps://dehydrated.de\r\n\r\nDehydrated version: git-master-after-0.6.1\r\nGIT-Revision: unknown\r\n\r\nOS: Ubuntu 16.04.4 LTS \r\nUsed software:\r\n bash: 4.3.48(1)-release\r\n curl: curl 7.47.0\r\n awk: GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)\r\n sed: sed (GNU sed) 4.2.2\r\n mktemp: mktemp (GNU coreutils) 8.25\r\n grep: grep (GNU grep) 2.25\r\n diff: diff (GNU diffutils) 3.3\r\n openssl: OpenSSL 1.1.0h  27 Mar 2018\r\n```"}}
{"actor":{"display_login":"heyarne"}}