terry3041 / pyChatGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
GNU General Public License v3.0
1.35k stars 255 forks source link

Selenium fail and session not created. #128

Open youmebangbang opened 1 year ago

youmebangbang commented 1 year ago

On a windows machine. I received this error today after plenty of use:

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:49820 from session not created: This version of ChromeDriver only supports Chrome version 110 Current browser version is 109.0.5414.120 Stacktrace: Backtrace: (No symbol) [0x00A837D3] (No symbol) [0x00A18B81] (No symbol) [0x0091B36D] (No symbol) [0x0093ED6D] (No symbol) [0x009370F0] (No symbol) [0x00936EE1] (No symbol) [0x00971ED5] (No symbol) [0x00971B2C] (No symbol) [0x0096B216] (No symbol) [0x00940D97] (No symbol) [0x0094253D] GetHandleVerifier [0x00CFABF2+2510930] GetHandleVerifier [0x00D28EC1+2700065] GetHandleVerifier [0x00D2C86C+2714828] GetHandleVerifier [0x00B33480+645344] (No symbol) [0x00A20FD2] (No symbol) [0x00A26C68] (No symbol) [0x00A26D4B] (No symbol) [0x00A30D6B] BaseThreadInitThunk [0x7556FA29+25] RtlGetAppContainerNamedObjectPath [0x77507B5E+286] RtlGetAppContainerNamedObjectPath [0x77507B2E+238]

I solved the issue by reinstalling ChromeSetup. Is there a way to prevent this?

JKPegasus commented 1 year ago

Hi, you can check the sentences here, "This version of ChromeDriver only supports Chrome version 110 Current browser version is 109.0.5414.120", the problem is the version of your chrome browser not match the version 110, you can solve this problem just upgrade your chrome browser!