Hi, Since this morning we are experiencing weird issues: without having changed any code (I verified it), Java client seems to be unable to connect to Appium.
This happens no matter if it’s a local appium, Saucelabs or whatever, it just breaks before even reaching the server.
I tried to debug it, the URL seems correct, and so are the capabilities, but when it tries to instantiate either AndroidDriver or IosDriver I get
[Guice/ErrorInjectingConstructor]: SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Guice is there because I use it for dependency injection, however the cause is this line:
Caused by: org.openqa.selenium.WebDriverException: java.lang.NoSuchMethodException: org.openqa.selenium.remote.ProtocolHandshake.createSession(org.openqa.selenium.remote.http.HttpHandler,java.util.function.Supplier,long)
Up to yesterday it was working, both with appium 9.0.0 and 9.2.0.
Same problem here. The issue starts from version 9.0 of the appium-java client but I can’t find why. Debugging the initialization of the driver brings me till the startSession method in AppiumDriver but I can’t get more useful feedback.