Can i change timeout value when uploading recording video by remote path?
维护者通常 5 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先通过 Java 客户端复现 remote-path 录制上传,并检查与 5000ms 超时相关的 Appium stop_recording_screen 请求。使用所引用的 sample-code 并捕获完整日志;done 应意味着可以为此上传路径配置超时,或者已记录受支持的限制。
由索引模型根据 Issue 内容生成。
描述
Description
now I'm using remote path to upload recording video.
but, sometime exception occurs when uploading video
default value of timeout is 5000ms
so i wanna change timeout, how can i change this?
Environment
- Java client build version or git revision if you use some snapshot: v7.5.1
- Appium server version or git revision if you use some snapshot: v1.22.3
- Desktop OS/version used to run Appium if necessary: Mac
Details
[debug] [W3C (abc86c7b)] Encountered internal error running command: Error: timeout of 5000ms exceeded
[debug] [W3C (abc86c7b)] at createError (/usr/local/lib/node_modules/appium/node_modules/axios/lib/core/createError.js:16:15)
[debug] [W3C (abc86c7b)] at RedirectableRequest.handleRequestTimeout (/usr/local/lib/node_modules/appium/node_modules/axios/lib/adapters/http.js:280:16)
[debug] [W3C (abc86c7b)] at RedirectableRequest.emit (node:events:513:28)
[debug] [W3C (abc86c7b)] at Timeout._onTimeout (/usr/local/lib/node_modules/appium/node_modules/follow-redirects/index.js:166:12)
[debug] [W3C (abc86c7b)] at listOnTimeout (node:internal/timers:564:17)
[debug] [W3C (abc86c7b)] at processTimers (node:internal/timers:507:7)
[HTTP] <-- POST /wd/hub/session/abc86c7b-99a8-4806-9f52-b5e86fa8e8dc/appium/stop_recording_screen 500 6710 ms - 549
Code To Reproduce Issue [ Good To Have ]
Please remember: it's easier to reproduce and fix the bug with sample code.
You can git clone https://github.com/appium/appium/tree/master/sample-code or https://github.com/appium/appium/tree/master/sample-code/apps and reproduce an issue using Java and sample apps.
Also you can create a gist with pasted java code sample or put it here using markdown. About markdown please read Mastering markdown and
Writing on GitHub
Exception Stacktraces
Please create a gist with the pasted stacktrace of the exception thrown by java.
Link To Appium Logs
Please create a gist which is a paste of your full Appium logs, and link them here. Do not paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include Appium logs as linked gists! It helps to define the problem correctly and clearly.
- 主要语言
- Java
- 星标
- 1.3k
- 派生
- 755
- 平均合并
- 5 天 14 小时
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
appium/java-client 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
appium/java-client#2426 ·
维护者通常 5 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 50/100
appium/java-client#2372 ·
维护者通常 5 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
appium/java-client#2368 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 30/100
appium/java-client#2341 · 1 条评论 ·
维护者通常 5 天内回复
-
难度 5/5 一周以上 新手友好度 15/100
appium/java-client#2323 ·
维护者通常 5 天内回复
查看 appium/java-client 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
github/copilot-sdk#2793 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
enhancement good first issue
难度 1/5 1-3 小时 新手友好度 88/100