{"action":"created","issue":{"url":"https://api.github.com/repos/Pylons/waitress/issues/149","repository_url":"https://api.github.com/repos/Pylons/waitress","labels_url":"https://api.github.com/repos/Pylons/waitress/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/Pylons/waitress/issues/149/comments","events_url":"https://api.github.com/repos/Pylons/waitress/issues/149/events","html_url":"https://github.com/Pylons/waitress/issues/149","id":194754423,"number":149,"title":"waitress 1.0 doesn't work on linux without reachable DNS","user":{"login":"romor","id":2196173,"avatar_url":"https://avatars.githubusercontent.com/u/2196173?v=3","gravatar_id":"","url":"https://api.github.com/users/romor","html_url":"https://github.com/romor","followers_url":"https://api.github.com/users/romor/followers","following_url":"https://api.github.com/users/romor/following{/other_user}","gists_url":"https://api.github.com/users/romor/gists{/gist_id}","starred_url":"https://api.github.com/users/romor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romor/subscriptions","organizations_url":"https://api.github.com/users/romor/orgs","repos_url":"https://api.github.com/users/romor/repos","events_url":"https://api.github.com/users/romor/events{/privacy}","received_events_url":"https://api.github.com/users/romor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-10T08:46:53Z","updated_at":"2016-12-12T22:32:55Z","closed_at":null,"body":"I use waitress on a Debian server without Internet connection. Waitress does not start if the DNS server is not reachable:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/pserve\", line 9, in <module>\r\n    load_entry_point('pyramid==1.6.1', 'console_scripts', 'pserve')()\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyramid-1.6.1-py3.4.egg/pyramid/scripts/pserve.py\", line 60, in main\r\n    return command.run()\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyramid-1.6.1-py3.4.egg/pyramid/scripts/pserve.py\", line 399, in run\r\n    serve()\r\n  File \"/usr/local/lib/python3.4/dist-packages/pyramid-1.6.1-py3.4.egg/pyramid/scripts/pserve.py\", line 378, in serve\r\n    server(app)\r\n  File \"/usr/local/lib/python3.4/dist-packages/PasteDeploy-1.5.2-py3.4.egg/paste/deploy/loadwsgi.py\", line 189, in server_wrapper\r\n    **context.local_conf)\r\n  File \"/usr/local/lib/python3.4/dist-packages/PasteDeploy-1.5.2-py3.4.egg/paste/deploy/util.py\", line 55, in fix_call\r\n    val = callable(*args, **kw)\r\n  File \"/usr/local/lib/python3.4/dist-packages/waitress-1.0.0-py3.4.egg/waitress/__init__.py\", line 20, in serve_paste\r\n    serve(app, **kw)\r\n  File \"/usr/local/lib/python3.4/dist-packages/waitress-1.0.0-py3.4.egg/waitress/__init__.py\", line 11, in serve\r\n    server = _server(app, **kw)\r\n  File \"/usr/local/lib/python3.4/dist-packages/waitress-1.0.0-py3.4.egg/waitress/server.py\", line 78, in create_server\r\n    sockinfo=sockinfo)\r\n  File \"/usr/local/lib/python3.4/dist-packages/waitress-1.0.0-py3.4.egg/waitress/server.py\", line 176, in __init__\r\n    self.effective_host, self.effective_port = self.getsockname()\r\n  File \"/usr/local/lib/python3.4/dist-packages/waitress-1.0.0-py3.4.egg/waitress/server.py\", line 292, in getsockname\r\n    self.socketmod.NI_NUMERICSERV)\r\nsocket.gaierror: [Errno -3] Temporary failure in name resolution\r\n```\r\n\r\nI am not sure whether this is related to issue #131, but at least this is still open in version 1.0.0. Version 0.9.0 does not show this problem."},"comment":{"url":"https://api.github.com/repos/Pylons/waitress/issues/comments/266574733","html_url":"https://github.com/Pylons/waitress/issues/149#issuecomment-266574733","issue_url":"https://api.github.com/repos/Pylons/waitress/issues/149","id":266574733,"user":{"login":"romor","id":2196173,"avatar_url":"https://avatars.githubusercontent.com/u/2196173?v=3","gravatar_id":"","url":"https://api.github.com/users/romor","html_url":"https://github.com/romor","followers_url":"https://api.github.com/users/romor/followers","following_url":"https://api.github.com/users/romor/following{/other_user}","gists_url":"https://api.github.com/users/romor/gists{/gist_id}","starred_url":"https://api.github.com/users/romor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romor/subscriptions","organizations_url":"https://api.github.com/users/romor/orgs","repos_url":"https://api.github.com/users/romor/repos","events_url":"https://api.github.com/users/romor/events{/privacy}","received_events_url":"https://api.github.com/users/romor/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T22:32:55Z","updated_at":"2016-12-12T22:32:55Z","body":"Yes, I have a /etc/resolv.conf and it contains a `nameserver` entry.\r\n\r\nBut, as mentioned, the system is not always connected to Internet so the DNS server may not be reachable while starting Pyramid."}}
{"actor":{"display_login":"romor"}}