{"action":"created","issue":{"url":"https://api.github.com/repos/dokku/dokku-letsencrypt/issues/90","repository_url":"https://api.github.com/repos/dokku/dokku-letsencrypt","labels_url":"https://api.github.com/repos/dokku/dokku-letsencrypt/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/dokku/dokku-letsencrypt/issues/90/comments","events_url":"https://api.github.com/repos/dokku/dokku-letsencrypt/issues/90/events","html_url":"https://github.com/dokku/dokku-letsencrypt/issues/90","id":194537411,"number":90,"title":"Wrong directory fields","user":{"login":"slava-vishnyakov","id":817931,"avatar_url":"https://avatars.githubusercontent.com/u/817931?v=3","gravatar_id":"","url":"https://api.github.com/users/slava-vishnyakov","html_url":"https://github.com/slava-vishnyakov","followers_url":"https://api.github.com/users/slava-vishnyakov/followers","following_url":"https://api.github.com/users/slava-vishnyakov/following{/other_user}","gists_url":"https://api.github.com/users/slava-vishnyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/slava-vishnyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slava-vishnyakov/subscriptions","organizations_url":"https://api.github.com/users/slava-vishnyakov/orgs","repos_url":"https://api.github.com/users/slava-vishnyakov/repos","events_url":"https://api.github.com/users/slava-vishnyakov/events{/privacy}","received_events_url":"https://api.github.com/users/slava-vishnyakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-09T08:17:09Z","updated_at":"2016-12-11T20:05:57Z","closed_at":null,"body":"I'm getting a weird error on one of the domains: `DeserializationError: Deserialization error: Wrong directory fields`. Googling produces nothing.\r\n\r\nI have other domains with letsencrypt on this server and they work fine. \r\n\r\nAny ideas?\r\n\r\n    root@dokku ~ # dokku config:set --no-restart exampleapp.com DOKKU_LETSENCRYPT_EMAIL=myemail@provider.com\r\n    -----> Setting config vars\r\n           DOKKU_LETSENCRYPT_EMAIL: myemail@provider.com\r\n    \r\n    root@dokku ~ # dokku letsencrypt exampleapp.com\r\n    =====> Let's Encrypt exampleapp.com\r\n    -----> Updating letsencrypt docker image...\r\n    latest: Pulling from dokkupaas/letsencrypt-simp_le\r\n    420890c9e918: Already exists\r\n    e4a2ae244258: Already exists\r\n    5c6ac6d1c950: Already exists\r\n    Digest: sha256:18a19b34beceba79dd5be458abe7e132fc7486da1da19cc4d0395ad4578031ef\r\n    Status: Image is up to date for dokkupaas/letsencrypt-simp_le:latest\r\n           done updating\r\n    -----> Enabling ACME proxy for exampleapp.com...\r\n    -----> Getting letsencrypt certificate for exampleapp.com...\r\n            - Domain 'exampleapp.com'\r\n    darkhttpd/1.11, copyright (c) 2003-2015 Emil Mikulic.\r\n    listening on: http://0.0.0.0:80/\r\n    2016-12-09 08:06:47,751:INFO:__main__:1211: Generating new account key\r\n    2016-12-09 08:06:48,554:INFO:requests.packages.urllib3.connectionpool:758: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org\r\n    Traceback (most recent call last):\r\n      File \"/simp_le-master/simp_le.py\", line 1401, in main\r\n        return main_with_exceptions(cli_args)\r\n      File \"/simp_le-master/simp_le.py\", line 1386, in main_with_exceptions\r\n        persist_new_data(args, existing_data)\r\n      File \"/simp_le-master/simp_le.py\", line 1282, in persist_new_data\r\n        client = registered_client(args, existing_data.account_key)\r\n      File \"/simp_le-master/simp_le.py\", line 1224, in registered_client\r\n        client = acme_client.Client(directory=args.server, key=key, net=net)\r\n      File \"/usr/lib/python2.7/site-packages/acme/client.py\", line 63, in __init__\r\n        self.net.get(directory).json())\r\n      File \"/usr/lib/python2.7/site-packages/acme/messages.py\", line 169, in from_json\r\n        raise jose.DeserializationError(str(error))\r\n    DeserializationError: Deserialization error: Wrong directory fields\r\n    \r\n    Unhandled error has happened, traceback is above\r\n    \r\n    Debugging tips: -v improves output verbosity. Help is available under --help.\r\n    -----> Certificate retrieval failed!\r\n    -----> Disabling ACME proxy for exampleapp.com...\r\n           done"},"comment":{"url":"https://api.github.com/repos/dokku/dokku-letsencrypt/issues/comments/266303980","html_url":"https://github.com/dokku/dokku-letsencrypt/issues/90#issuecomment-266303980","issue_url":"https://api.github.com/repos/dokku/dokku-letsencrypt/issues/90","id":266303980,"user":{"login":"emveeoh","id":16849690,"avatar_url":"https://avatars.githubusercontent.com/u/16849690?v=3","gravatar_id":"","url":"https://api.github.com/users/emveeoh","html_url":"https://github.com/emveeoh","followers_url":"https://api.github.com/users/emveeoh/followers","following_url":"https://api.github.com/users/emveeoh/following{/other_user}","gists_url":"https://api.github.com/users/emveeoh/gists{/gist_id}","starred_url":"https://api.github.com/users/emveeoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emveeoh/subscriptions","organizations_url":"https://api.github.com/users/emveeoh/orgs","repos_url":"https://api.github.com/users/emveeoh/repos","events_url":"https://api.github.com/users/emveeoh/events{/privacy}","received_events_url":"https://api.github.com/users/emveeoh/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T20:05:57Z","updated_at":"2016-12-11T20:05:57Z","body":"Until this issue is fixed, here are step-by-step instructions on how you MANUALLY add Let's Encrypt certificates with Dokku:\r\n\r\nhttps://words.mxbry.com/http-2-let-s-encrypt-dokku-how-to-do-all-three-7de94a0028fb#.hggceynj0\r\n\r\nYou can enable the auto-updating of certificate renewals:\r\n```\r\n$certbot_github_directory/certbot-auto renew --renew-hook \"service nginx restart\"\r\n``` \r\n"}}
{"actor":{"display_login":"emveeoh"}}