Can i change timeout value when uploading recording video by remote path?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing remote-path recording upload through the Java client and inspect the Appium stop_recording_screen request associated with the 5000ms timeout. Use the referenced sample-code and capture the full logs; done should mean the timeout can be configured for this upload path or the supported limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100