{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2706","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2706/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2706/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2706/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/2706","id":174750946,"number":2706,"title":"selenium-html-runner throws BindException","user":{"login":"vainikkaj","id":661992,"avatar_url":"https://avatars.githubusercontent.com/u/661992?v=3","gravatar_id":"","url":"https://api.github.com/users/vainikkaj","html_url":"https://github.com/vainikkaj","followers_url":"https://api.github.com/users/vainikkaj/followers","following_url":"https://api.github.com/users/vainikkaj/following{/other_user}","gists_url":"https://api.github.com/users/vainikkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/vainikkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vainikkaj/subscriptions","organizations_url":"https://api.github.com/users/vainikkaj/orgs","repos_url":"https://api.github.com/users/vainikkaj/repos","events_url":"https://api.github.com/users/vainikkaj/events{/privacy}","received_events_url":"https://api.github.com/users/vainikkaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-02T12:42:40Z","updated_at":"2016-09-05T15:22:50Z","closed_at":null,"body":"## Meta -\r\nOS:  Ubuntu 16.04\r\n<!-- Windows 10? OSX? -->\r\nSelenium Version:  3.0.0-beta3\r\n<!-- 2.52.0, IDE, etc -->\r\nBrowser:  Firefox \r\n<!-- Internet Explorer?  Firefox? \r\n\r\nFIREFOX 48+ IS ONLY COMPATIBLE WITH GECKODRIVER. Any issue logged here for 48+ will be closed as a duplicate of #2603 \r\n\r\nIf the issue is with Google Chrome consider logging an issue with chromedriver instead:\r\nhttps://sites.google.com/a/chromium.org/chromedriver/help\r\n\r\nIf the issue is with Microsoft Edge consider logging an issue with Microsoft instead:\r\nhttps://developer.microsoft.com/en-us/microsoft-edge/platform/issues/\r\n\r\nIf the issue is with Firefox GeckoDriver (aka Marionette) consider logging an issue with Mozilla:\r\nhttps://bugzilla.mozilla.org/buglist.cgi?product=Testing&component=Marionette\r\n\r\nIf the issue is with PhantomJS consider logging an issue with Ghostdriver:\r\nhttps://github.com/detro/ghostdriver\r\n\r\n-->\r\n\r\nBrowser Version:  48.0\r\n<!-- e.g.: 49.0.2623.87 (64-bit) -->\r\n\r\n## Expected Behavior -\r\n\r\nSeeing new Firefox opening and browsing to www.google.com\r\n\r\n## Actual Behavior -\r\n\r\nFirefox opens and then closes immediately with following error message. \r\n\r\n## Steps to reproduce -\r\n<!-- \r\nPlease be sure to include an SSCCE (Short, Self Contained, Correct [compilable] example) http://sscce.org/ \r\nIf you can't provide a link to the page, consider creating a reproducible page on https://jsfiddle.net/\r\n-->\r\n\r\nWith latest geckodriver and simple IDE test.\r\n\r\n```\r\nvainiju@vainiju-ThinkPad-P50 ~/selenium-html\r\n» l\r\nyhteensä 19M\r\n-rw-r--r-- 1 vainiju vainiju  763 2016-09-02 12:41 simple-ide-generated-test.html\r\n-rwxrwxr-x 1 vainiju vainiju 3.7M 2016-08-03 01:49 geckodriver\r\n-rw-r----- 1 vainiju vainiju  15M 2016-09-02 01:29 selenium-html-runner-3.0.0-beta3.jar\r\n```\r\n\r\nExecuting selenium-html-runner causes following error.\r\n\r\n```\r\nvainiju@vainiju-ThinkPad-P50 ~/selenium-html \r\n» /opt/tools/oracle-jdk/jdk1.8.0_91/bin/java -jar selenium-html-runner-3.0.0-beta3.jar /tmp/output-selenium simple-ide-generated-test.html http://www.google.com false *firefox\r\n\r\nSep 02, 2016 1:37:41 PM org.openqa.selenium.remote.ProtocolHandshake createSession\r\nINFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end\r\n1472812662277\tMarionette\tINFO\tListening on port 42734\r\n1472812663347\tMarionette\tINFO\tstartBrowser d26740c7-6738-4f90-8628-dd5fecdbf346\r\n1472812663355\tMarionette\tINFO\tsendAsync d26740c7-6738-4f90-8628-dd5fecdbf346\r\n\r\n(process:7296): GLib-CRITICAL **: g_path_get_basename: assertion 'file_name != NULL' failed\r\nSep 02, 2016 1:37:43 PM org.openqa.selenium.remote.ProtocolHandshake createSession\r\nINFO: Detected dialect: W3C\r\n2016-09-02 13:37:43.549:INFO::main: Logging initialized @2243ms\r\n2016-09-02 13:37:43.577:INFO:osjs.Server:main: jetty-9.2.z-SNAPSHOT\r\n2016-09-02 13:37:43.590:INFO:osjs.ServerConnector:main: Started ServerConnector@1ddf84b8{HTTP/1.1}{0.0.0.0:7330}\r\n2016-09-02 13:37:43.591:INFO:osjs.Server:main: Started @2284ms\r\n2016-09-02 13:37:43.592:INFO:osjs.ServerConnector:main: Stopped ServerConnector@1ddf84b8{HTTP/1.1}{0.0.0.0:7330}\r\n[Child 7296] ###!!! ABORT: Aborting on channel error.: file /build/firefox-6p7T67/firefox-48.0+build2/ipc/glue/MessageChannel.cpp, line 2046\r\n[Child 7296] ###!!! ABORT: Aborting on channel error.: file /build/firefox-6p7T67/firefox-48.0+build2/ipc/glue/MessageChannel.cpp, line 2046\r\nSep 02, 2016 1:37:43 PM org.openqa.selenium.server.htmlrunner.HTMLLauncher mainInt\r\nWARNING: Test of browser failed: *firefox\r\njava.io.IOException: java.lang.RuntimeException: java.net.BindException: Osoite on jo käytössä\r\n\tat org.openqa.selenium.server.htmlrunner.HTMLLauncher.determineSuiteUrl(HTMLLauncher.java:188)\r\n\tat org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:120)\r\n\tat org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:85)\r\n\tat org.openqa.selenium.server.htmlrunner.HTMLLauncher.mainInt(HTMLLauncher.java:239)\r\n\tat org.openqa.selenium.server.htmlrunner.HTMLLauncher.main(HTMLLauncher.java:251)\r\nCaused by: java.lang.RuntimeException: java.net.BindException: Osoite on jo käytössä\r\n\tat org.openqa.selenium.net.PortProber.pollPort(PortProber.java:154)\r\n\tat org.openqa.selenium.net.PortProber.pollPort(PortProber.java:137)\r\n\tat org.openqa.selenium.server.htmlrunner.HTMLLauncher.determineSuiteUrl(HTMLLauncher.java:182)\r\n\t... 4 more\r\nCaused by: java.net.BindException: Osoite on jo käytössä\r\n\tat java.net.PlainSocketImpl.socketBind(Native Method)\r\n\tat java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)\r\n\tat java.net.Socket.bind(Socket.java:644)\r\n\tat org.openqa.selenium.net.PortProber.pollPort(PortProber.java:146)\r\n\t... 6 more\r\n```"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/244770751","html_url":"https://github.com/SeleniumHQ/selenium/issues/2706#issuecomment-244770751","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/2706","id":244770751,"user":{"login":"lukeis","id":926454,"avatar_url":"https://avatars.githubusercontent.com/u/926454?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeis","html_url":"https://github.com/lukeis","followers_url":"https://api.github.com/users/lukeis/followers","following_url":"https://api.github.com/users/lukeis/following{/other_user}","gists_url":"https://api.github.com/users/lukeis/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeis/subscriptions","organizations_url":"https://api.github.com/users/lukeis/orgs","repos_url":"https://api.github.com/users/lukeis/repos","events_url":"https://api.github.com/users/lukeis/events{/privacy}","received_events_url":"https://api.github.com/users/lukeis/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T15:22:50Z","updated_at":"2016-09-05T15:22:50Z","body":"file:///absolute/path/to/file is also a valid url\r\n\r\nBut I agree this should be more forgiving"}}
{"actor":{"display_login":"lukeis"}}