{"action":"created","issue":{"url":"https://api.github.com/repos/elgalu/docker-selenium/issues/120","repository_url":"https://api.github.com/repos/elgalu/docker-selenium","labels_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/120/comments","events_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/120/events","html_url":"https://github.com/elgalu/docker-selenium/issues/120","id":180064889,"number":120,"title":"Starting chromedriver on port 9515 Only local connections are allowed.","user":{"login":"elgalu","id":111569,"avatar_url":"https://avatars.githubusercontent.com/u/111569?v=3","gravatar_id":"","url":"https://api.github.com/users/elgalu","html_url":"https://github.com/elgalu","followers_url":"https://api.github.com/users/elgalu/followers","following_url":"https://api.github.com/users/elgalu/following{/other_user}","gists_url":"https://api.github.com/users/elgalu/gists{/gist_id}","starred_url":"https://api.github.com/users/elgalu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elgalu/subscriptions","organizations_url":"https://api.github.com/users/elgalu/orgs","repos_url":"https://api.github.com/users/elgalu/repos","events_url":"https://api.github.com/users/elgalu/events{/privacy}","received_events_url":"https://api.github.com/users/elgalu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elgalu/docker-selenium/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"elgalu","id":111569,"avatar_url":"https://avatars.githubusercontent.com/u/111569?v=3","gravatar_id":"","url":"https://api.github.com/users/elgalu","html_url":"https://github.com/elgalu","followers_url":"https://api.github.com/users/elgalu/followers","following_url":"https://api.github.com/users/elgalu/following{/other_user}","gists_url":"https://api.github.com/users/elgalu/gists{/gist_id}","starred_url":"https://api.github.com/users/elgalu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elgalu/subscriptions","organizations_url":"https://api.github.com/users/elgalu/orgs","repos_url":"https://api.github.com/users/elgalu/repos","events_url":"https://api.github.com/users/elgalu/events{/privacy}","received_events_url":"https://api.github.com/users/elgalu/received_events","type":"User","site_admin":false},"assignees":[{"login":"elgalu","id":111569,"avatar_url":"https://avatars.githubusercontent.com/u/111569?v=3","gravatar_id":"","url":"https://api.github.com/users/elgalu","html_url":"https://github.com/elgalu","followers_url":"https://api.github.com/users/elgalu/followers","following_url":"https://api.github.com/users/elgalu/following{/other_user}","gists_url":"https://api.github.com/users/elgalu/gists{/gist_id}","starred_url":"https://api.github.com/users/elgalu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elgalu/subscriptions","organizations_url":"https://api.github.com/users/elgalu/orgs","repos_url":"https://api.github.com/users/elgalu/repos","events_url":"https://api.github.com/users/elgalu/events{/privacy}","received_events_url":"https://api.github.com/users/elgalu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-29T14:28:27Z","updated_at":"2016-09-29T14:29:06Z","closed_at":null,"body":"Seeing this error from time to time:\r\n\r\n```sh\r\nStarting chromedriver on port {{some_port}} Only local connections are allowed.\r\n```\r\n\r\nThe hack `DBUS_SESSION_BUS_ADDRESS=/dev/null` seems to work but is not exactly correct, chromedriver log complains `/dev/null` is not a valid value for that."},"comment":{"url":"https://api.github.com/repos/elgalu/docker-selenium/issues/comments/250482705","html_url":"https://github.com/elgalu/docker-selenium/issues/120#issuecomment-250482705","issue_url":"https://api.github.com/repos/elgalu/docker-selenium/issues/120","id":250482705,"user":{"login":"elgalu","id":111569,"avatar_url":"https://avatars.githubusercontent.com/u/111569?v=3","gravatar_id":"","url":"https://api.github.com/users/elgalu","html_url":"https://github.com/elgalu","followers_url":"https://api.github.com/users/elgalu/followers","following_url":"https://api.github.com/users/elgalu/following{/other_user}","gists_url":"https://api.github.com/users/elgalu/gists{/gist_id}","starred_url":"https://api.github.com/users/elgalu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elgalu/subscriptions","organizations_url":"https://api.github.com/users/elgalu/orgs","repos_url":"https://api.github.com/users/elgalu/repos","events_url":"https://api.github.com/users/elgalu/events{/privacy}","received_events_url":"https://api.github.com/users/elgalu/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T14:29:06Z","updated_at":"2016-09-29T14:29:06Z","body":"Found a way without having to share `/var/run/dbus`\r\n\r\n```sh\r\n# Dockerfile\r\nsudo apt-get -qyy install dbus-x11\r\n# entry.sh\r\nsudo rm -f /var/lib/dbus/machine-id\r\nsudo mkdir -p /var/run/dbus\r\nsudo service dbus restart\r\nservice dbus status\r\nexport $(dbus-launch)\r\nexport NSS_USE_SHARED_DB=ENABLED\r\necho \"-- INFO: DBUS_SESSION_BUS_ADDRESS=${DBUS_SESSION_BUS_ADDRESS}\"\r\n#=> e.g. DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-APZO4BE4TJ,guid=6e9c098d053d3038cb0756ae57ecc885\r\necho \"-- INFO: DBUS_SESSION_BUS_PID=${DBUS_SESSION_BUS_PID}\"\r\n#=> e.g. DBUS_SESSION_BUS_PID=44\r\n```\r\n"}}
{"actor":{"display_login":"elgalu"}}