Chromr browser not launching on remote machine | Selenium Forum
M
Posted on 16/09/2016
Hi Ashish,

Chrome browser not launching on remote machine, getting below error
Starting ChromeDriver 2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4) on port 30753
[color=#400040:2oztt7pg]error 16-Sep-2016 00:13:14 Only local connections are allowed.
error 16-Sep-2016 00:13:16 org.openqa.selenium.WebDriverException: unknown error: cannot create temp dir for user data dir[/color:2oztt7pg]

it was working before but suddenly this issue is coming

though, I have tried below solution from community help but no luck :(
1->downgrading chrome version
2-> uninstall n install again
3->removing chrome profile from user profile
but no luck

Could you please provide some help on this?

M
Replied on 16/09/2016

send the entire exception.


M
Replied on 23/09/2016

Stack Trace on Failure:
-------------------------------------------------------
build 21-Sep-2016 06:46:11 T E S T S
build 21-Sep-2016 06:46:11 -------------------------------------------------------
build 21-Sep-2016 06:46:11 Running TestSuite
build 21-Sep-2016 06:46:12 **********Test Started => mobilehandsetTest************
build 21-Sep-2016 06:46:12
error 21-Sep-2016 06:46:13 Starting ChromeDriver 2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b) on port 21470
error 21-Sep-2016 06:46:13 Only local connections are allowed.
error 21-Sep-2016 06:46:14 log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
error 21-Sep-2016 06:46:14 log4j:WARN Please initialize the log4j system properly.
error 21-Sep-2016 06:46:15 org.openqa.selenium.WebDriverException: unknown error: cannot create temp dir for user data dir
error 21-Sep-2016 06:46:15 (Driver info: chromedriver=2.22.397933 (1cab651507b88dec79b2b2a22d1943c01833cc1b),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
error 21-Sep-2016 06:46:15 Command duration or timeout: 936 milliseconds
error 21-Sep-2016 06:46:15 Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
error 21-Sep-2016 06:46:15 System info: host: 'nvpal898', ip: '10.48.211.36', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65'
error 21-Sep-2016 06:46:15 Driver info: org.openqa.selenium.chrome.ChromeDriver
error 21-Sep-2016 06:46:15 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)


M
Replied on 24/09/2016

send the screen shot also.