question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

org.openqa.selenium.remote.ProtocolHandshake createSession Error

See original GitHub issue

Description

I updated to java-client v5.0.0 today and suddenly my tests would show an org.openqa.selenium.remote.ProtocolHandshake createSession error when starting the test suite, but the tests still all passed without issue.

Environment

  • java client build version or git revision if you use some shapshot: v5.0.0
  • Appium server version or git revision if you use some shapshot: 1.6.6-beta4
  • Desktop OS/version used to run Appium if necessary: macOS Sierra 10.12.6
  • Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: nodejs v8.4.0
  • Mobile platform/version under test: Android
  • Real device or emulator/simulator: Real Device

Exception stacktraces

This is all I get from gradle, even with exceptionFormat set to full:

Gradle suite > Gradle test STANDARD_ERROR
    Aug 28, 2017 2:11:03 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: OSS

Since the tests don’t actually fail, I don’t get any stacktrace anywhere

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
omkarnathsinghcommented, Jan 23, 2020

@testingy12345 This is not an issue

1reaction
SantiCFcommented, Sep 5, 2017

@TikhomirovSergey it fixed it for me. As well as excluding selenium and adding the latest manually. So 5.0.2 is good on my end even without the mentioned workaround. 👍🏻

Read more comments on GitHub >

github_iconTop Results From Across the Web

org.openqa.selenium.remote.ProtocolHandshake ...
The root cause was a ClassCastException . We now catch that exception, log the thing that we were trying to parse, and continue...
Read more >
ERROR: org.openqa.selenium.remote.ProtocolHandshake ...
Only local connections are allowed. Oct 29, 2018 12:33:31 PM org.openqa.selenium.remote.ProtocolHandshake createSession. INFO: Detected dialect: ...
Read more >
org.openqa.selenium.remote.ProtocolHandshake ...
This error message... org.openqa.selenium.remote.ProtocolHandshake createSession INFORMATION: Attempting bi-dialect session, ...
Read more >
org.openqa.selenium.remote.ProtocolHandshake createSession
From the stack-trace it doesn't look to be a problem with Selenium but more of a problem with the Thucydides library you are...
Read more >
Error: Unable to open browser with url. PLEASE HELP!
ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126) at org.openqa.selenium.remote.ProtocolHandshake.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found