Open MaxWvM opened 3 years ago
Hi ! I have the same problem on windows 10.
uninstall latest chrome and install this one 87.0.4280.66_chrome_installer.exe
I got the error, but with Windows 10, Chrome 89.0.4389.114 and chromedriver.exe 89.0.4389.23 copied to drivers/windows/
, it seems to work for me. (At least I get to the login - I haven't set LOGIN and PASSWORD environment variables yet.)
i noticed that there is an error with the newly released google chrome V89 (released march 9) it broke spring for me, even after getting a v89 compatable chrome driver anyone know if there is a fix here? or just downgrade the chrome browser? best regards, Max.
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| ._|| ||| |_, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.2.4.RELEASE) 2021-03-15 10:33:55.373 INFO 6412 --- [ main] ok.work.etoroapi.EtoroApiApplicationKt : Starting EtoroApiApplicationKt on DESKTOP-VS716JB with PID 6412 (C:\Users\KunsthandelMJvdS\Desktop\project M\project test\etoro-api-master\build\libs\etoro-api-0.1.4.jar started by KunsthandelMJvdS in C:\Users\KunsthandelMJvdS\Desktop\project M\project test\etoro-api-master) 2021-03-15 10:33:55.373 INFO 6412 --- [ main] ok.work.etoroapi.EtoroApiApplicationKt : No active profile set, falling back to default profiles: default 2021-03-15 10:33:57.116 INFO 6412 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8088 (http) 2021-03-15 10:33:57.132 INFO 6412 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-03-15 10:33:57.132 INFO 6412 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.30] 2021-03-15 10:33:57.251 INFO 6412 --- [ main] o.a.c.c.C.[.[localhost].[/etoro-api] : Initializing Spring embedded WebApplicationContext 2021-03-15 10:33:57.251 INFO 6412 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1815 ms Starting ChromeDriver 87.0.4280.88 (89e2380a3e36c3464b5dd1302349b1382549290d-refs/branch-heads/4280@{#1761}) on port 2895 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully. 2021-03-15 10:33:59.197 WARN 6412 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'etoroMetadataService': Invocation of init method failed; nested exception is org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 87 Current browser version is 89.0.4389.82 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'DESKTOP-VS716JB', ip: '192.168.2.8', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.10' Driver info: driver.version: ChromeDriver remote stacktrace: Backtrace: Ordinal0 [0x00A1C0C3+3326147] Ordinal0 [0x00900851+2164817] Ordinal0 [0x00787298+619160] Ordinal0 [0x00701D92+73106] Ordinal0 [0x006FE119+57625] Ordinal0 [0x006FC38A+50058] Ordinal0 [0x00725F3E+220990] Ordinal0 [0x00725CAC+220332] Ordinal0 [0x0072189B+202907] Ordinal0 [0x00703DF4+81396] Ordinal0 [0x00704DEE+85486] Ordinal0 [0x00704D79+85369] Ordinal0 [0x009185DC+2262492] GetHandleVerifier [0x00BA2874+1487204] GetHandleVerifier [0x00BA23CD+1486013] GetHandleVerifier [0x00BAA368+1518680] GetHandleVerifier [0x00BA2F4E+1488958] Ordinal0 [0x0090ED0D+2223373] Ordinal0 [0x0091A12B+2269483] Ordinal0 [0x0091A26F+2269807] Ordinal0 [0x0092ECB8+2354360] BaseThreadInitThunk [0x7738FA29+25] RtlGetAppContainerNamedObjectPath [0x776E76B4+228] RtlGetAppContainerNamedObjectPath [0x776E7684+180] 2021-03-15 10:33:59.212 INFO 6412 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2021-03-15 10:33:59.244 INFO 6412 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-03-15 10:33:59.262 ERROR 6412 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'etoroMetadataService': Invocation of init method failed; nested exception is org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 87 Current browser version is 89.0.4389.82 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'DESKTOP-VS716JB', ip: '192.168.2.8', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.10' Driver info: driver.version: ChromeDriver remote stacktrace: Backtrace: Ordinal0 [0x00A1C0C3+3326147] Ordinal0 [0x00900851+2164817] Ordinal0 [0x00787298+619160] Ordinal0 [0x00701D92+73106] Ordinal0 [0x006FE119+57625] Ordinal0 [0x006FC38A+50058] Ordinal0 [0x00725F3E+220990] Ordinal0 [0x00725CAC+220332] Ordinal0 [0x0072189B+202907] Ordinal0 [0x00703DF4+81396] Ordinal0 [0x00704DEE+85486] Ordinal0 [0x00704D79+85369] Ordinal0 [0x009185DC+2262492] GetHandleVerifier [0x00BA2874+1487204] GetHandleVerifier [0x00BA23CD+1486013] GetHandleVerifier [0x00BAA368+1518680] GetHandleVerifier [0x00BA2F4E+1488958] Ordinal0 [0x0090ED0D+2223373] Ordinal0 [0x0091A12B+2269483] Ordinal0 [0x0091A26F+2269807] Ordinal0 [0x0092ECB8+2354360] BaseThreadInitThunk [0x7738FA29+25] RtlGetAppContainerNamedObjectPath [0x776E76B4+228] RtlGetAppContainerNamedObjectPath [0x776E7684+180] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878) ~[spring-context-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.4.RELEASE.jar!/:2.2.4.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) ~[spring-boot-2.2.4.RELEASE.jar!/:2.2.4.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.2.4.RELEASE.jar!/:2.2.4.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.2.4.RELEASE.jar!/:2.2.4.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-2.2.4.RELEASE.jar!/:2.2.4.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) ~[spring-boot-2.2.4.RELEASE.jar!/:2.2.4.RELEASE] at ok.work.etoroapi.EtoroApiApplicationKt.main(EtoroApiApplication.kt:54) ~[classes!/:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) ~[etoro-api-0.1.4.jar:na] at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) ~[etoro-api-0.1.4.jar:na] at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) ~[etoro-api-0.1.4.jar:na] at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) ~[etoro-api-0.1.4.jar:na] Caused by: org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 87 Current browser version is 89.0.4389.82 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'DESKTOP-VS716JB', ip: '192.168.2.8', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.10' Driver info: driver.version: ChromeDriver remote stacktrace: Backtrace: Ordinal0 [0x00A1C0C3+3326147] Ordinal0 [0x00900851+2164817] Ordinal0 [0x00787298+619160] Ordinal0 [0x00701D92+73106] Ordinal0 [0x006FE119+57625] Ordinal0 [0x006FC38A+50058] Ordinal0 [0x00725F3E+220990] Ordinal0 [0x00725CAC+220332] Ordinal0 [0x0072189B+202907] Ordinal0 [0x00703DF4+81396] Ordinal0 [0x00704DEE+85486] Ordinal0 [0x00704D79+85369] Ordinal0 [0x009185DC+2262492] GetHandleVerifier [0x00BA2874+1487204] GetHandleVerifier [0x00BA23CD+1486013] GetHandleVerifier [0x00BAA368+1518680] GetHandleVerifier [0x00BA2F4E+1488958] Ordinal0 [0x0090ED0D+2223373] Ordinal0 [0x0091A12B+2269483] Ordinal0 [0x0091A26F+2269807] Ordinal0 [0x0092ECB8+2354360] BaseThreadInitThunk [0x7738FA29+25] RtlGetAppContainerNamedObjectPath [0x776E76B4+228] RtlGetAppContainerNamedObjectPath [0x776E7684+180] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:na] at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:na] at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[na:na] at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126) ~[selenium-remote-driver-3.141.59.jar!/:na] at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[na:na] at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) ~[na:na] at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) ~[na:na] at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) ~[na:na] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) ~[na:na] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[na:na] at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) ~[na:na] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:na] at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) ~[na:na] at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131) ~[selenium-remote-driver-3.141.59.jar!/:na] at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:181) ~[selenium-chrome-driver-3.141.59.jar!/:na] at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:168) ~[selenium-chrome-driver-3.141.59.jar!/:na] at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:157) ~[selenium-chrome-driver-3.141.59.jar!/:na] at ok.work.etoroapi.client.browser.EtoroMetadataService.login(EtoroBrowserContext.kt:46) ~[classes!/:na] at ok.work.etoroapi.client.browser.EtoroMetadataService.init(EtoroBrowserContext.kt:42) ~[classes!/:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] ... 26 common frames omitted