Comments (21)
Have just uploaded a newer version of the appium log, I had to reload the console to grab more logs
from appium.
I don't observe any suspicious traces in the server log. Have you tried to ask at the Selenium hub issues tracker?
from appium.
@mykola-mokhnach I did, unfortunately didn't get much help with a resolution, can see here
from appium.
I may be wrong, but seems as soon as it encounters a failure, instead of quitting the app and starting a new test it will just end the entire server instance. I tried to debug with telnet
and the server seems to have shut off there too
from appium.
As @diemol mentioned in the issue report above the exception means the server just stops responding to network requests.
I cannot see any hints in the server log above. Try to collect the Appium's node.js process output on that server - maybe it contains some more details or a stack trace.
from appium.
Try to collect the Appium's node.js process output on that server - maybe it contains some more details or a stack trace.
Will do, could you please advise on how I can do this?
from appium.
Unfortunately I cannot help there. It highly depends on how the server is configured. Maybe hire a consultant to help you with that
from appium.
I've added --long-stacktrace=true
to the server command, will share here once it fails and see if we can find anything else
from appium.
error_log.log
That managed to give a bit more info, I'm still confused as to why. Next steps I'll try are trying the nightly version of selenium server, as I'm on an old version due to this bug
EDIT: Just saw this in the trace 🤔
2024-05-03 09:10:08:365 [Xcode] 2024-05-03 10:10:08.338669+0100 WebDriverAgentRunner-Runner[57142:3015952] Error Domain=com.facebook.WebDriverAgent Code=1 "Cannot take a screenshot within 20000 ms timeout" UserInfo={NSLocalizedDescription=Cannot take a screenshot within 20000 ms timeout}
Maybe I didn't configure the mjpeg capabilities properly?
from appium.
2024-05-03 09:10:08:373 uncaughtException: write EPIPE
Error: write EPIPE
This error means that the server logging lib (winston) was not able to write its logs into one of the requested destinations. Make sure all log destinations are writeable while the server is running.
from appium.
Make sure all log destinations are writeable while the server is running.
Don't know how to do that, but wouldn't Winston be failing because the server is shutting down? So there would technically be no way to know what went wrong
from appium.
Don't know how to do that, but wouldn't Winston be failing because the server is shutting down
I am not sure what exactly you mean by that. Winston allows to forward logs to one or more pipes. These could be files, consoles or TCP streams. If any of these streams is unsuspectedly closed during the lifecycle of the node server then the EPIPE exception is triggered
from appium.
Related Issues (20)
- Unable to install appium drivers on windows 11 HOT 4
- ERROR webdriver: Request failed with status 500 due to unsupported operation: This API is not supported anymore. See https://github.com/appium/appium/issues/15807 HOT 4
- Getting error "WDA is not listening at 'http://127.0.0.1" HOT 14
- × Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver' HOT 1
- Large DOM structure takes long time and sometimes crashed appium HOT 4
- Unable to start appium session HOT 1
- Unable to start appium session using appium GUI inspector even after upgrading or installing appium v2.5 HOT 12
- Is there a way or any desired capabilities in which we can stop Appium from launching the app after installation. HOT 1
- How to get bundleId dinamically? HOT 2
- My automation tests are flaky- get alert text returns empty string sometimes HOT 7
- bug: updating appium, driver or plugin, is not synchronized in node_modules/.cache/appium/extensions.yaml HOT 6
- Issue when perform gestures on both Android and iOS HOT 3
- [Feat]: introduce getContextsWithDetails endpoint HOT 4
- bug: Scroll on Android don't work HOT 1
- [Feat]: Can I specify my own registry in "appium driver install --source=npm" HOT 4
- universal-xml plugin issue with webview mode HOT 7
- Real device architecture is not supported application after upgraded xcuitest driver to 7.15.1 HOT 6
- Nothing happen after Responding to client with driver.createSession() HOT 7
- Delete key on iOS keyboard is not working HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.