Chrome won't launch from my flow

from wont open in my flow.

the console outputs the following.

Open Chrome Browser (mrc5)

from rpa.activities.browser import Chrome
chrome = Chrome()
Traceback (most recent call last):
File “urllib3\connection.py”, line 160, in _new_conn
File “urllib3\util\connection.py”, line 84, in create_connection
File “urllib3\util\connection.py”, line 74, in create_connection
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 3, in
File “rpa\utilities.py”, line 48, in wrapper
File “rpa\activities\browser.py”, line 104, in init
File “rpa\activities\browser.py”, line 307, in download_latest_driver
File “rpa\httpclient.py”, line 83, in get
File “urllib3\request.py”, line 76, in request
File “urllib3\request.py”, line 97, in request_encode_url
File “urllib3\poolmanager.py”, line 336, in urlopen
File “urllib3\connectionpool.py”, line 727, in urlopen
File “urllib3\util\retry.py”, line 379, in increment
File “urllib3\packages\six.py”, line 735, in reraise
File “urllib3\connectionpool.py”, line 677, in urlopen
File “urllib3\connectionpool.py”, line 381, in _make_request
File “urllib3\connectionpool.py”, line 978, in _validate_conn
File “urllib3\connection.py”, line 309, in connect
File “urllib3\connection.py”, line 172, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x00000233379A29C8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Hi Matthew,

Looks like the downloading of the Chrome webdriver is blocked. Do you have outbound internet access on this machine?

You can always download the Chrome webdriver manually from here and point the “Open Chrome Browser” activity there (specify the webdriver path property in the properties window).

Hope this helps!

Kind regards,
Koen

It was being blocked by our proxy but downloading the driver like you suggested and pointing the node at it worked perfectly :smiley:

Thank you

2 Likes

Hi Mathhew,

Glad it worked for you!

Kind regards,
Koen

Hi Koen,

I am reopening this thread as my problem is also about Chrome not opening during the flow.
Since Saturday I get the the following error message:

Traceback (most recent call last):
File “”, line 3, in
File “rpa\utilities.py”, line 48, in wrapper
File “rpa\activities\browser.py”, line 104, in init
File “rpa\activities\browser.py”, line 315, in download_latest_driver
File “zipfile.py”, line 1258, in init
File “zipfile.py”, line 1325, in _RealGetContents
zipfile.BadZipFile: File is not a zip file

These are the seetings of the “Open Chrome Browser” Node:

It was working fine on friday still, and I don’t think anything changed in the environment…
Do you have an idea where this could come from?

Thank you
Michaela

Hi @koenvaneijk could you help me out with this? :slight_smile: or should I open a new thread?
Thank you!

Hi Michaela,

It appears chrome released new version 115 on 18th July 2023. The key for 115 version does not exist yet in the api call RPA uses https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115. Hence the zip file is not found for latest version.

The last stable version was 114 https://chromedriver.storage.googleapis.com/LATEST_RELEASE_114

Workaround:

Please uncheck ‘Auto update chromedriver’ option.

Add ‘Custom chrome path’ and ‘Custom chromedriver path’

Example –

Custom chrome path = “C:/Program Files (x86)/Google/Chrome/Application/chrome.exe”

Custom chromedriver path = “C:/Users/[Username]/RPA/Binaries/chromedriver.exe”

The ‘Auto update chromedriver’ option checked will work fine as soon as LATEST_RELEASE_115 key is added by google to the xml file here [https://chromedriver.storage.googleapis.com]
chrome driver options

1 Like

Hi Manpreet,

Thanks a lot for the workaround :slight_smile:

Hi all,

I just had to update the Chromedriver because of the changes. During the process, I checked if the automatic update was already working and realized that it didn’t.
After some short googling, I landed on a Google announcement that Google changed the Chromedriver release process (see here).


This reads (at least to me) as the XML file will no longer be updated.
Just wanted to let you know in case you hadn’t seen it :slight_smile:

Hi Michael, just saw your message. Sorry I do not get the notifications. Auto updating the Chromedriver was modified to align with new download process. Not sure which RPA version you’re on. If you download the latest installer from the controller this fix should be in place. Please let me know if you still face any issue.
Regards
Manpreet