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 messages logging as errors

See original GitHub issue

Description

After just recently upgrading to java-client 5.0.0-BETA4, my Appium jenkins jobs are now ending as failure even though all tests pass.

Environment

  • java client build version or git revision if you use some shapshot: 5.0.0-BETA4
  • Appium server version or git revision if you use some shapshot: 1.6.4-beta
  • Desktop OS/version used to run Appium if necessary: Windows and OSX
  • Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
  • Mobile platform/version under test: iOS and Android
  • Real device or emulator/simulator: emu and sim

Details

Each time I create a new IOSDriver or AndroidDriver, I see the following in my jenkins job console output…

com.company.dtr.brokeragent.TransactionRoomsDetailsTestSuite_BA > addTransactionContactDetailsFromNetwork STANDARD_ERROR Mar 15, 2017 5:13:23 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end Mar 15, 2017 5:13:29 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS My jenkins job will then end as FAILURE even though all my tests pass. I then noticed that these new output messages seem to be going to STANDARD_ERROR for some reason. When using the older java-client v4.1.2, I never had this problem.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
Brian-Watsoncommented, Mar 25, 2017

@saikrishna321 @TikhomirovSergey Just wanted to update you guys to say I installed the latest BETA6 and it indeed fixed my issue. Thank you guys so much for your work!!!

0reactions
TikhomirovSergeycommented, Mar 22, 2017

@Brian-Watson I am closing this issue. 5.0.0-BETA6 was published. Please try it. If not everything is ok then please re-open this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

org.openqa.selenium.remote.ProtocolHandshake ...
i am getting error org.openqa.selenium.remote.ProtocolHandshake createSession in selenium webriver when i run my file which will first ...
Read more >
"Can not attach to current VM" error message on trying to ...
"Can not attach to current VM" error message on trying to execute tests in parallel ... ServicedSession$Factory (provider: org.openqa.selenium.chrome.
Read more >
Selenium Tests not running in TFS 2015- Timed out receiving ...
Jul 06, 2018 4:07:01 PM org.openqa.selenium.remote. ... Based on the log and error message, pleas try below things to narrow down the issue:....
Read more >
Selenium 4 Features - Retrieving Browser Console Log Using ...
Logging is generally helpful to know what went wrong. When you launch a website in browser, you can see logs in console tab...
Read more >
580319 – Previously recorded Selenium Test is running ...
... certificate errors will be ignored for this session Jul 01, 2022 10:43:13 PM org.openqa.selenium.remote.ProtocolHandshake createSession ...
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