{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1994","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1994/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1994/comments","events_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1994/events","html_url":"https://github.com/letsencrypt/letsencrypt/issues/1994","id":123597035,"number":1994,"title":"Listening to any IP address in /etc/apache2/ports.conf results in failure","user":{"login":"rubin110","id":222551,"avatar_url":"https://avatars.githubusercontent.com/u/222551?v=3","gravatar_id":"","url":"https://api.github.com/users/rubin110","html_url":"https://github.com/rubin110","followers_url":"https://api.github.com/users/rubin110/followers","following_url":"https://api.github.com/users/rubin110/following{/other_user}","gists_url":"https://api.github.com/users/rubin110/gists{/gist_id}","starred_url":"https://api.github.com/users/rubin110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubin110/subscriptions","organizations_url":"https://api.github.com/users/rubin110/orgs","repos_url":"https://api.github.com/users/rubin110/repos","events_url":"https://api.github.com/users/rubin110/events{/privacy}","received_events_url":"https://api.github.com/users/rubin110/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/apache","name":"apache","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/milestones/12","html_url":"https://github.com/letsencrypt/letsencrypt/milestones/0.2.0","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/milestones/12/labels","id":1450588,"number":12,"title":"0.2.0","description":"This release will improve packagability, and make our UX for letsencrypt-auto better where packages aren't yet available.","creator":{"login":"pde","id":479213,"avatar_url":"https://avatars.githubusercontent.com/u/479213?v=3","gravatar_id":"","url":"https://api.github.com/users/pde","html_url":"https://github.com/pde","followers_url":"https://api.github.com/users/pde/followers","following_url":"https://api.github.com/users/pde/following{/other_user}","gists_url":"https://api.github.com/users/pde/gists{/gist_id}","starred_url":"https://api.github.com/users/pde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pde/subscriptions","organizations_url":"https://api.github.com/users/pde/orgs","repos_url":"https://api.github.com/users/pde/repos","events_url":"https://api.github.com/users/pde/events{/privacy}","received_events_url":"https://api.github.com/users/pde/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":26,"state":"open","created_at":"2015-12-08T19:20:06Z","updated_at":"2016-01-05T03:14:22Z","due_on":"2016-01-09T08:00:00Z","closed_at":null},"comments":10,"created_at":"2015-12-23T03:33:42Z","updated_at":"2016-01-05T15:51:18Z","closed_at":null,"body":"```\r\n# ./letsencrypt-auto --apache --text -vvvvv\r\n-vvvvv\r\nUpdating letsencrypt and virtual environment dependencies...\r\n\r\n...\r\n\r\nWhat would you like to do?\r\n-------------------------------------------------------------------------------\r\n1: Attempt to reinstall this existing certificate \r\n2: Renew & replace the cert (limit ~5 per 7 days) \r\n3: Cancel this operation and do nothing\r\n-------------------------------------------------------------------------------\r\nSelect the appropriate number [1-3] then [enter] (press 'c' to cancel): 1\r\n2015-12-23 03:05:45,459:INFO:letsencrypt_apache.configurator:Deploying Certificate to VirtualHost /etc/apache2/sites-available/someobscuredomain.net-le-ssl.conf\r\n2015-12-23 03:05:45,461:DEBUG:letsencrypt_apache.configurator:Apache version is 2.4.10\r\n2015-12-23 03:05:45,743:ERROR:letsencrypt.le_util:Error while running apache2ctl -k graceful.\r\nhttpd not running, trying to start\r\nAction '-k graceful' failed.\r\nThe Apache error log may have more information.\r\n\r\n(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443\r\nno listening sockets available, shutting down\r\nAH00015: Unable to open logs\r\n\r\n2015-12-23 03:05:45,751:DEBUG:letsencrypt.error_handler:Encountered exception:\r\nTraceback (most recent call last):\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py\", line 385, in deploy_certificate\r\n    self.installer.restart()\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/configurator.py\", line 1222, in restart\r\n    self._reload()\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/configurator.py\", line 1233, in _reload\r\n    raise errors.MisconfigurationError(str(err))  \r\nMisconfigurationError: Error while running apache2ctl -k graceful.\r\nhttpd not running, trying to start\r\nAction '-k graceful' failed.\r\nThe Apache error log may have more information.   \r\n\r\n(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443\r\nno listening sockets available, shutting down\r\nAH00015: Unable to open logs\r\n\r\n\r\n2015-12-23 03:05:45,755:DEBUG:letsencrypt.error_handler:Calling registered functions\r\n2015-12-23 03:05:45,755:CRITICAL:letsencrypt.client:Rolling back to previous server configuration...\r\n2015-12-23 03:05:46,016:INFO:letsencrypt.reporter:Reporting to user: We were unable to install your certificate, however, we successfully restored your server to its prior configuration.\r\n2015-12-23 03:05:46,020:DEBUG:letsencrypt.cli:Exiting abnormally:\r\nTraceback (most recent call last):\r\n  File \"/root/.local/share/letsencrypt/bin/letsencrypt\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py\", line 1396, in main\r\n    return args.func(args, config, plugins)\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py\", line 561, in run\r\n    lineage.chain, lineage.fullchain)\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py\", line 385, in deploy_certificate\r\n    self.installer.restart()\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/configurator.py\", line 1222, in restart\r\n    self._reload()\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/configurator.py\", line 1233, in _reload\r\n    raise errors.MisconfigurationError(str(err))  \r\nMisconfigurationError: Error while running apache2ctl -k graceful.\r\nhttpd not running, trying to start\r\nAction '-k graceful' failed.\r\nThe Apache error log may have more information.   \r\n\r\n(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443\r\nno listening sockets available, shutting down\r\nAH00015: Unable to open logs\r\n\r\n\r\nError while running apache2ctl -k graceful.\r\nhttpd not running, trying to start\r\nAction '-k graceful' failed.\r\nThe Apache error log may have more information.   \r\n\r\n(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443\r\nno listening sockets available, shutting down\r\nAH00015: Unable to open logs\r\n\r\n\r\nIMPORTANT NOTES:\r\n - We were unable to install your certificate, however, we\r\n   successfully restored your server to its prior configuration.\r\n```\r\n\r\nWhen I went through and commented the following line out of /etc/apache2/ports.conf the problem went away.\r\n\r\n```\r\nListen 127.0.0.1:8088\r\n```\r\n\r\nThe line had nothing to do with 443 or SSL.\r\n\r\nNotes, I was sitting next to Noah when this happened. It was like magic."},"comment":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/comments/169041380","html_url":"https://github.com/letsencrypt/letsencrypt/issues/1994#issuecomment-169041380","issue_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/1994","id":169041380,"user":{"login":"watercrossing","id":5656196,"avatar_url":"https://avatars.githubusercontent.com/u/5656196?v=3","gravatar_id":"","url":"https://api.github.com/users/watercrossing","html_url":"https://github.com/watercrossing","followers_url":"https://api.github.com/users/watercrossing/followers","following_url":"https://api.github.com/users/watercrossing/following{/other_user}","gists_url":"https://api.github.com/users/watercrossing/gists{/gist_id}","starred_url":"https://api.github.com/users/watercrossing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watercrossing/subscriptions","organizations_url":"https://api.github.com/users/watercrossing/orgs","repos_url":"https://api.github.com/users/watercrossing/repos","events_url":"https://api.github.com/users/watercrossing/events{/privacy}","received_events_url":"https://api.github.com/users/watercrossing/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T15:51:18Z","updated_at":"2016-01-05T15:51:18Z","body":"TBH `def prepare_server_https(self, port, temp=False):` should really be able to specify a listening interface, rather than just a port..."}}