Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Session ID is null. The session identified by ... is not known

未关闭
#1,716 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 5 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
java
领域
mobile, testing-qa

调研方向

未指定源文件、测试或入口点。首先使用报告中的 iOS capabilities 重现 Appium Java client 的会话创建调用,并检查服务器和 Selenium 日志。要视为完成,需要识别出一个可复现的客户端缺陷,并定义相应的修复和回归测试,而该 issue 目前并未对此作出说明。

由索引模型根据 Issue 内容生成。

描述

NeedsInfo

The problem

Cannot connect to appium server as its always getting an error of "Failed to create session. The session identified by b6c00d36-b450-44b7-b9b5-28362434fd1f is not known".
Also tried connecting using Appium Inspector but failed.

Environment

  • Appium version (or git revision) that exhibits the issue: 8.1.0
  • Appium Desktop:
  • Desktop OS/version used to run Appium: Mac Monterey
  • Node.js version (unless using Appium.app|exe): 8.5.5
  • Npm or Yarn package manager: Maven 11
  • Mobile platform/version under test: Android / IOS
  • Real device or emulator/simulator: Emulator
  • Selenium version: 4.2.0
  • testng version: 7.6.1

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '4.3.0', revision: 'a4995e2c09*'
System info: host: 'ComputerName', ip: '', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.3.1', java.version: '17.0.2'
Driver info: io.appium.java_client.AppiumDriver
Command: [null, newSession {capabilities=[{appium:deviceName=iPhone X, platformName=IOS, appium:automationName=XCUITest, appium:app=ios.app, appium:platformVersion=15.4}], desiredCapabilities=Capabilities {appium:app: ..., appium:automationName: XCUITest, appium:deviceName: iPhone X, appium:platformVersion: 15.4, platformName: IOS}}]
Capabilities {}

主要语言
Java
星标
1.3k
派生
755
平均合并
5 天 14 小时
30 天内合并 PR
8

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

appium/java-client 的其他 Issue

查看 appium/java-client 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。