{"action":"created","issue":{"url":"https://api.github.com/repos/certbot/certbot/issues/3140","repository_url":"https://api.github.com/repos/certbot/certbot","labels_url":"https://api.github.com/repos/certbot/certbot/issues/3140/labels{/name}","comments_url":"https://api.github.com/repos/certbot/certbot/issues/3140/comments","events_url":"https://api.github.com/repos/certbot/certbot/issues/3140/events","html_url":"https://github.com/certbot/certbot/issues/3140","id":159367912,"number":3140,"title":"certbot fails to renew certificate from previous letsencrypt with \"EntryPoint\" error","user":{"login":"noccio","id":2983282,"avatar_url":"https://avatars.githubusercontent.com/u/2983282?v=3","gravatar_id":"","url":"https://api.github.com/users/noccio","html_url":"https://github.com/noccio","followers_url":"https://api.github.com/users/noccio/followers","following_url":"https://api.github.com/users/noccio/following{/other_user}","gists_url":"https://api.github.com/users/noccio/gists{/gist_id}","starred_url":"https://api.github.com/users/noccio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noccio/subscriptions","organizations_url":"https://api.github.com/users/noccio/orgs","repos_url":"https://api.github.com/users/noccio/repos","events_url":"https://api.github.com/users/noccio/events{/privacy}","received_events_url":"https://api.github.com/users/noccio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T09:47:11Z","updated_at":"2016-06-10T19:30:14Z","closed_at":null,"body":"I have a working certificate made for my domain with previous letsencrypt on my debian 8.0.\r\n\r\nNewly installed certbot fails to renew with this error:\r\n\r\n`2016-06-09 11:32:11,731:WARNING:certbot.renewal:Attempting to renew cert from /etc/letsencrypt/renewal/bbs.cybervalley.org.conf produced an unexpected error: 'EntryPoint' object has no attribute 'resolve'. Skipping.`\r\n\r\nThis is the complete log from this try:\r\n\r\n`2016-06-09 09:32:10,842:DEBUG:certbot.main:Root logging level set at 30\r\n\r\n2016-06-09 09:32:10,843:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log\r\n\r\n2016-06-09 09:32:10,843:DEBUG:certbot.main:certbot version: 0.8.0\r\n\r\n2016-06-09 09:32:10,843:DEBUG:certbot.main:Arguments: ['--dry-run']\r\n\r\n2016-06-09 09:32:10,844:DEBUG:certbot.main:Discovered plugins: \r\nPluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)\r\n\r\n2016-06-09 09:32:10,857:DEBUG:certbot.plugins.selection:Requested authenticator <certbot.cli._Default object at 0x7f8a7d29e390> and installer <certbot.cli._Default object at 0x7f8a7d29e390>\r\n\r\n2016-06-09 09:32:10,857:DEBUG:certbot.cli:Default Detector is Namespace(account=<certbot.cli._Default object at 0x7f8a7d26e710>, agree_dev_preview=None, allow_subset_of_names=<certbot.cli._Default object at 0x7f8a7d26e510>, apache=<certbot.cli._Default object at 0x7f8a7d29e490>, apache_challenge_location=<certbot.cli._Default object at 0x7f8a7d298c10>, apache_ctl=<certbot.cli._Default object at 0x7f8a7d298410>, apache_dismod=<certbot.cli._Default object at 0x7f8a7d29ead0>, apache_enmod=<certbot.cli._Default object at 0x7f8a7d29e9d0>, apache_handle_modules=<certbot.cli._Default object at 0x7f8a7d298910>, apache_handle_sites=<certbot.cli._Default object at 0x7f8a7d298610>, apache_init_script=<certbot.cli._Default object at 0x7f8a7d2980d0>, apache_le_vhost_ext=<certbot.cli._Default object at 0x7f8a7d29ec10>, apache_server_root=<certbot.cli._Default object at 0x7f8a7d29ed50>, apache_vhost_root=<certbot.cli._Default object at 0x7f8a7d298dd0>, authenticator=<certbot.cli._Default object at 0x7f8a7d29e390>, break_my_certs=<certbot.cli._Default object at 0x7f8a7d294050>, cert_path=<certbot.cli._Default object at 0x7f8a7d298850>, chain_path=<certbot.cli._Default object at 0x7f8a7d298b50>, checkpoints=<certbot.cli._Default object at 0x7f8a7d298350>, config_dir=<certbot.cli._Default object at 0x7f8a7d298c50>, config_file=None, configurator=<certbot.cli._Default object at 0x7f8a7d29e390>, csr=<certbot.cli._Default object at 0x7f8a7d298250>, debug=<certbot.cli._Default object at 0x7f8a7d26ec10>, dialog_mode=<certbot.cli._Default object at 0x7f8a7d267a50>, domains=<certbot.cli._Default object at 0x7f8a7d6d8510>, dry_run=True, duplicate=<certbot.cli._Default object at 0x7f8a7d26e810>, email=<certbot.cli._Default object at 0x7f8a7d6d8690>, expand=<certbot.cli._Default object at 0x7f8a7d26e250>, fullchain_path=<certbot.cli._Default object at 0x7f8a7d298a50>, func=<function renew at 0x7f8a7ebc92a8>, hsts=<certbot.cli._Default object at 0x7f8a7d294550>, http01_port=<certbot.cli._Default object at 0x7f8a7d26ef10>, ifaces=<certbot.cli._Default object at 0x7f8a7d298650>, init=<certbot.cli._Default object at 0x7f8a7d298450>, installer=<certbot.cli._Default object at 0x7f8a7d29e390>, key_path=<certbot.cli._Default object at 0x7f8a7d298950>, logs_dir=<certbot.cli._Default object at 0x7f8a7d298e50>, manual=<certbot.cli._Default object at 0x7f8a7d29e790>, manual_public_ip_logging_ok=<certbot.cli._Default object at 0x7f8a7d294910>, manual_test_mode=<certbot.cli._Default object at 0x7f8a7d294b10>, must_staple=<certbot.cli._Default object at 0x7f8a7d294250>, nginx=<certbot.cli._Default object at 0x7f8a7d29e590>, no_self_upgrade=<certbot.cli._Default object at 0x7f8a7d26ea10>, no_verify_ssl=<certbot.cli._Default object at 0x7f8a7d26ed10>, noninteractive_mode=<certbot.cli._Default object at 0x7f8a7d267710>, num=<certbot.cli._Default object at 0x7f8a7d298050>, os_packages_only=<certbot.cli._Default object at 0x7f8a7d26e910>, post_hook=<certbot.cli._Default object at 0x7f8a7d294d50>, pre_hook=<certbot.cli._Default object at 0x7f8a7d294c50>, prepare=<certbot.cli._Default object at 0x7f8a7d298550>, quiet=<certbot.cli._Default object at 0x7f8a7d26eb10>, redirect=<certbot.cli._Default object at 0x7f8a7d294350>, register_unsafely_without_email=<certbot.cli._Default object at 0x7f8a7d267ed0>, reinstall=<certbot.cli._Default object at 0x7f8a7d26e150>, renew_by_default=<certbot.cli._Default object at 0x7f8a7d26e410>, renew_hook=<certbot.cli._Default object at 0x7f8a7d294e50>, rsa_key_size=<certbot.cli._Default object at 0x7f8a7d294150>, server=<certbot.cli._Default object at 0x7f8a7d298f50>, staging=<certbot.cli._Default object at 0x7f8a7d29e090>, standalone=<certbot.cli._Default object at 0x7f8a7d29e690>, standalone_supported_challenges=<certbot.cli._Default object at 0x7f8a7d294ed0>, staple=<certbot.cli._Default object at 0x7f8a7d294950>, strict_permissions=<certbot.cli._Default object at 0x7f8a7d294b50>, text_mode=<certbot.cli._Default object at 0x7f8a7d267510>, tls_sni_01_port=<certbot.cli._Default object at 0x7f8a7d26ee10>, tos=<certbot.cli._Default object at 0x7f8a7d26e610>, uir=<certbot.cli._Default object at 0x7f8a7d294750>, update_registration=<certbot.cli._Default object at 0x7f8a7d6d8810>, user_agent=<certbot.cli._Default object at 0x7f8a7d298150>, verb='renew', verbose_count=<certbot.cli._Default object at 0x7f8a7d2671d0>, webroot=<certbot.cli._Default object at 0x7f8a7d29e890>, webroot_map=<certbot.cli._Default object at 0x7f8a7d294d10>, webroot_path=<certbot.cli._Default object at 0x7f8a7d294f10>, work_dir=<certbot.cli._Default object at 0x7f8a7d298d50>)\r\n\r\n2016-06-09 09:32:10,864:DEBUG:parsedatetime:parse (top of loop): [30 days][]\r\n\r\n2016-06-09 09:32:10,876:DEBUG:parsedatetime:CRE_UNITS matched\r\n\r\n2016-06-09 09:32:10,877:DEBUG:parsedatetime:parse (bottom) [][30 days][][]\r\n\r\n2016-06-09 09:32:10,877:DEBUG:parsedatetime:weekday False, dateStd False, dateStr False, time False, timeStr False, meridian False\r\n\r\n2016-06-09 09:32:10,877:DEBUG:parsedatetime:dayStr False, modifier False, modifier2 False, units True, qunits False\r\n\r\n2016-06-09 09:32:10,877:DEBUG:parsedatetime:_evalString(30 days, time.struct_time(tm_year=2016, tm_mon=6, tm_mday=9, tm_hour=9, tm_min=32, tm_sec=10, tm_wday=3, tm_yday=161, tm_isdst=0))\r\n\r\n2016-06-09 09:32:10,877:DEBUG:parsedatetime:_buildTime: [30 ][][days]\r\n\r\n2016-06-09 09:32:10,877:DEBUG:parsedatetime:units days --> realunit days\r\n\r\n2016-06-09 09:32:10,877:DEBUG:parsedatetime:return\r\n\r\n2016-06-09 09:32:10,877:DEBUG:certbot.storage:Should renew, less than 30 days before certificate expiry 2016-06-30 05:59:00 UTC.\r\n\r\n2016-06-09 09:32:10,878:INFO:certbot.renewal:Cert is due for renewal, auto-renewing...\r\n\r\n2016-06-09 09:32:10,878:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache\r\n\r\n2016-06-09 09:32:11,727:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache\r\nDescription: Apache Web Server - Alpha\r\nInterfaces: IAuthenticator, IInstaller, IPlugin\r\nEntry point: apache = certbot_apache.configurator:ApacheConfigurator\r\nInitialized: <certbot_apache.configurator.ApacheConfigurator object at 0x7f8a7d298290>\r\nPrep: True\r\n\r\n2016-06-09 09:32:11,729:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache\r\nDescription: Apache Web Server - Alpha\r\nInterfaces: IAuthenticator, IInstaller, IPlugin\r\nEntry point: apache = certbot_apache.configurator:ApacheConfigurator\r\nInitialized: <certbot_apache.configurator.ApacheConfigurator object at 0x7f8a7d298290>\r\nPrep: True\r\n\r\n2016-06-09 09:32:11,730:DEBUG:certbot.plugins.selection:Selected authenticator <certbot_apache.configurator.ApacheConfigurator object at 0x7f8a7d298290> and installer <certbot_apache.configurator.ApacheConfigurator object at 0x7f8a7d298290>\r\n\r\n2016-06-09 09:32:11,731:WARNING:certbot.renewal:Attempting to renew cert from /etc/letsencrypt/renewal/bbs.cybervalley.org.conf produced an unexpected error: 'EntryPoint' object has no attribute 'resolve'. Skipping.\r\n\r\n2016-06-09 09:32:11,732:DEBUG:certbot.renewal:Traceback was:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/certbot/renewal.py\", line 345, in renew_all_lineages\r\n    main.obtain_cert(lineage_config, plugins, renewal_candidate)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/certbot/main.py\", line 549, in obtain_cert\r\n    le_client = _init_le_client(config, auth, installer)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/certbot/main.py\", line 359, in _init_le_client\r\n    acc, acme = _determine_account(config)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/certbot/main.py\", line 323, in _determine_account\r\n    accounts = account_storage.find_all()\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/certbot/account.py\", line 160, in find_all\r\n    accounts.append(self.load(account_id))\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/certbot/account.py\", line 173, in load\r\n    regr = messages.RegistrationResource.json_loads(regr_file.read())\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/interfaces.py\", line 180, in json_loads\r\n    return cls.from_json(loads)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/json_util.py\", line 297, in from_json\r\n    return cls(**cls.fields_from_json(jobj))\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/json_util.py\", line 288, in fields_from_json\r\n    fields[slot] = field.decode(value)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/json_util.py\", line 92, in decode\r\n    return self.fdec(value)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/json_util.py\", line 297, in from_json\r\n    return cls(**cls.fields_from_json(jobj))\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/json_util.py\", line 288, in fields_from_json\r\n    fields[slot] = field.decode(value)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/json_util.py\", line 92, in decode\r\n    return self.fdec(value)\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/json_util.py\", line 489, in from_json\r\n    return type_cls(**type_cls.fields_from_json(jobj))\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/acme/jose/jwk.py\", line 226, in fields_from_json\r\n    key = public_numbers.public_key(default_backend())\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/__init__.py\", line 35, in default_backend\r\n    _default_backend = MultiBackend(_available_backends())\r\n\r\n  File \"/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/__init__.py\", line 22, in _available_backends\r\n    \"cryptography.backends\"\r\n\r\nAttributeError: 'EntryPoint' object has no attribute 'resolve'``"},"comment":{"url":"https://api.github.com/repos/certbot/certbot/issues/comments/225274500","html_url":"https://github.com/certbot/certbot/issues/3140#issuecomment-225274500","issue_url":"https://api.github.com/repos/certbot/certbot/issues/3140","id":225274500,"user":{"login":"bmw","id":6504915,"avatar_url":"https://avatars.githubusercontent.com/u/6504915?v=3","gravatar_id":"","url":"https://api.github.com/users/bmw","html_url":"https://github.com/bmw","followers_url":"https://api.github.com/users/bmw/followers","following_url":"https://api.github.com/users/bmw/following{/other_user}","gists_url":"https://api.github.com/users/bmw/gists{/gist_id}","starred_url":"https://api.github.com/users/bmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmw/subscriptions","organizations_url":"https://api.github.com/users/bmw/orgs","repos_url":"https://api.github.com/users/bmw/repos","events_url":"https://api.github.com/users/bmw/events{/privacy}","received_events_url":"https://api.github.com/users/bmw/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T19:30:14Z","updated_at":"2016-06-10T19:30:14Z","body":"How did you install `certbot`? According to pyca/cryptography#2838, the issue is do to an older version of `setuptools`."}}
{"actor":{"display_login":"bmw"}}