{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/37689","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/37689/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/37689/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/37689/events","html_url":"https://github.com/NixOS/nixpkgs/issues/37689","id":307938987,"number":37689,"title":"simp_le is broken on nixos-unstable-small","user":{"login":"gnidorah","id":12064730,"avatar_url":"https://avatars2.githubusercontent.com/u/12064730?v=4","gravatar_id":"","url":"https://api.github.com/users/gnidorah","html_url":"https://github.com/gnidorah","followers_url":"https://api.github.com/users/gnidorah/followers","following_url":"https://api.github.com/users/gnidorah/following{/other_user}","gists_url":"https://api.github.com/users/gnidorah/gists{/gist_id}","starred_url":"https://api.github.com/users/gnidorah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnidorah/subscriptions","organizations_url":"https://api.github.com/users/gnidorah/orgs","repos_url":"https://api.github.com/users/gnidorah/repos","events_url":"https://api.github.com/users/gnidorah/events{/privacy}","received_events_url":"https://api.github.com/users/gnidorah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-23T08:24:49Z","updated_at":"2018-03-25T23:05:30Z","closed_at":"2018-03-24T16:54:30Z","author_association":"CONTRIBUTOR","body":"## Issue description\r\n\r\n`simp_le: error: unrecognized arguments: --tos_sha256 <hash>`\r\n\r\n### Steps to reproduce\r\n\r\n```nix\r\n  services.nginx = {\r\n    enable = true;\r\n    virtualHosts.${host}.enableACME = true;\r\n  };\r\n```\r\nWorks at `cc4677c36ee8d880e881459ad114fd2224b3ac1c` (nixos-unstable)\r\nBroken at `f83cbf20292cfde64e2df49bf0bd84338749c49e` (nixos-unstable-small)\r\n\r\n## Technical details\r\n\r\nPlease run `nix-shell -p nix-info --run \"nix-info -m\"` and paste the\r\nresults.\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/376011269","html_url":"https://github.com/NixOS/nixpkgs/issues/37689#issuecomment-376011269","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/37689","id":376011269,"user":{"login":"aszlig","id":192147,"avatar_url":"https://avatars1.githubusercontent.com/u/192147?v=4","gravatar_id":"","url":"https://api.github.com/users/aszlig","html_url":"https://github.com/aszlig","followers_url":"https://api.github.com/users/aszlig/followers","following_url":"https://api.github.com/users/aszlig/following{/other_user}","gists_url":"https://api.github.com/users/aszlig/gists{/gist_id}","starred_url":"https://api.github.com/users/aszlig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aszlig/subscriptions","organizations_url":"https://api.github.com/users/aszlig/orgs","repos_url":"https://api.github.com/users/aszlig/repos","events_url":"https://api.github.com/users/aszlig/events{/privacy}","received_events_url":"https://api.github.com/users/aszlig/received_events","type":"User","site_admin":false},"created_at":"2018-03-25T23:05:30Z","updated_at":"2018-03-25T23:05:30Z","author_association":"MEMBER","body":"@wmertens: There is a VM test for [`acme`](https://github.com/NixOS/nixpkgs/blob/a0c525bd0a93fba70471392b8651882b52197788/nixos/tests/acme.nix) which you can use to test this. The error described here was already caught with that test, but it still seems that it's not yet entirely fixed:\r\n\r\n```\r\nwebserver# [   16.370413] acme-example.com-start[781]: 2018-03-25 20:07:33,461:DEBUG:simp_le:1546: ('-v', '-d', 'example.com', '--default_root', '/var/lib/acme/acme-challenge', '--valid_min', '2592000', '-f', 'fullchain.pem', '-f', 'full.pem', '-f', 'key.pem', '-f', 'account_key.json') parsed as Namespace(account_key_public_exponent=65537, account_key_size=4096, cert_key_size=4096, default_root='/var/lib/acme/acme-challenge', email=None, help=False, integration_test=False, ioplugins=['fullchain.pem', 'full.pem', 'key.pem', 'account_key.json'], reuse_key=False, revoke=False, server='https://acme-v01.api.letsencrypt.org/directory', test=False, user_agent='simp_le/0.8.0', valid_min=2592000, verbose=True, version=False, vhosts=[Vhost(name='example.com', root=None)])\r\nwebserver# [   16.385653] acme-example.com-start[781]: 2018-03-25 20:07:33,470:DEBUG:simp_le:336: Loading fullchain.pem\r\nwebserver# [   16.387494] acme-example.com-start[781]: Not enough PEM encoded messages were found in fullchain.pem; at least 2 were expected, found 1.\r\nwebserver# [   16.390363] acme-example.com-start[781]: Debugging tips: -v improves output verbosity. Help is available under --help.\r\n```"}}
{"actor":{"display_login":"aszlig"}}