appium / appium/java-client

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

Open
#1,806 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

Description

I have updated the version appium-java-client to 8.2.0. During the creation of the session, I get an error "org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure."

Environment

Windows 10
Java 11
Appium java-client: 8.2.0
selenium-support: 4.4.0
Appium: 2.0.0-beta.46

  • uiautomator2@2.10.2 [installed (NPM)]
  • espresso@2.13.8 [installed (NPM)]
  • windows@2.1.2 [installed (NPM)]
    Node.js: v14.17.6
    npm: 8.19.3
    Real android 11 device

Code To Reproduce Issue

creating session class
pom file

Exception Stacktraces

java stacktrace - run with UiAutomator2Options
java stacktrace - run with EspressoOptions

Link To Appium Logs

appium log - run with UiAutomator2Options
appium log - run with EspressoOptions

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked creating-session class and pom file, then compare the UiAutomator2 and Espresso stack traces with their corresponding Appium logs. No repository file, failing test, or specific expected behavior is identified; this would need a confirmed, reproducible client defect and a defined regression test before implementation can begin.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev, testing-qa
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.