{"action":"opened","issue":{"url":"https://api.github.com/repos/airbnb/airflow/issues/656","labels_url":"https://api.github.com/repos/airbnb/airflow/issues/656/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/airflow/issues/656/comments","events_url":"https://api.github.com/repos/airbnb/airflow/issues/656/events","html_url":"https://github.com/airbnb/airflow/issues/656","id":117550477,"number":656,"title":"gunicorn ipv6 binding troubles","user":{"login":"zstan","id":1107510,"avatar_url":"https://avatars.githubusercontent.com/u/1107510?v=3","gravatar_id":"","url":"https://api.github.com/users/zstan","html_url":"https://github.com/zstan","followers_url":"https://api.github.com/users/zstan/followers","following_url":"https://api.github.com/users/zstan/following{/other_user}","gists_url":"https://api.github.com/users/zstan/gists{/gist_id}","starred_url":"https://api.github.com/users/zstan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zstan/subscriptions","organizations_url":"https://api.github.com/users/zstan/orgs","repos_url":"https://api.github.com/users/zstan/repos","events_url":"https://api.github.com/users/zstan/events{/privacy}","received_events_url":"https://api.github.com/users/zstan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T09:50:54Z","updated_at":"2015-11-18T09:50:54Z","closed_at":null,"body":"pls fix gunicorn initialization code under ipv6 only mashine:\r\n$ airflow webserver -p 8080 -hn 2a02:6b8:b010:3016::205\r\n...\r\nRunning the Gunicorn server with 4on host 2a02:6b8:b010:3016::205 and port 8080...\r\ngunicorn -w 4 -t 120 -b 2a02:6b8:b010:3016::205:8080 airflow.www.app:app\r\n\r\nError: '6b8:b010:3016::205:8080' is not a valid port number.\r\n\r\nairflow webserver -p 8080 -hn 2a02:6b8:b010:3016::205\r\nRunning the Gunicorn server with 4on host 2a02:6b8:b010:3016::205 and port 8080...\r\ngunicorn -w 4 -t 120 -b 2a02:6b8:b010:3016::205:8080 airflow.www.app:app\r\n[2015-11-18 12:44:24 +0000] [25937] [INFO] Starting gunicorn 19.3.0\r\n[2015-11-18 12:44:24 +0000] [25937] [INFO] Listening at: http://[2a02:6b8:b010:3016::205]:8080 (25937)\r\n\r\ndiff cli.py /usr/local/lib/python2.7/dist-packages/airflow-1.5.2-py2.7.egg/airflow/bin/cli.py\r\n```diff\r\n262a263,264\r\n>             args.hostname + ':' + str(args.port), 'airflow.www.app:app')\r\n265c267\r\n<             args.hostname + ':' + str(args.port), 'airflow.www.app:app'])\r\n---\r\n>             '[' + args.hostname + ']:' + str(args.port), 'airflow.www.app:app'])\r\n```\r\ndue to http://docs.gunicorn.org/en/19.3/settings.html#server-socket documentation"}}