Comments (25)
@alokkr016, what you are commenting is not related to this issue; please create an issue as I mentioned above. This will help the Appium maintainers focus on what they need to check.
from appium.
from appium.
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.
I am also facing the same issue, only when I am running the grid and the server programatically using shell script.
from appium.
@alokkr016 Your issue is related to SeleniumHQ/selenium#13481
from appium.
I am facing the same exception when I am using the selenium-server-4.13.0.jar
Unable to execute request: java.net.ConnectException: Connection refused: /127.0.0.1:4723
but when I am using the selenium-server-4.21.0-SNAPSHOT.jar then I am getting the:
java.io.UncheckedIOException: java.io.IOException: HTTP/1.1 header parser received no bytes
from appium.
@alokkr016 please create an issue in the Selenium repo with the details when you use the snapshot jar.
from appium.
Could you please tell me why I encounter these exceptions when I run the grid and Appium server programmatically, but not when I run them manually?
from appium.
@alokkr016 Please let me know when you create that issue so I can track also, as I see similar problems - it works for me locally but when running through Github Actions I get all the errors
from appium.
Closed as not an issue
from appium.
The issue still persists. Can anyone help?
For reference, please see this GitHub issue: SeleniumHQ/selenium#13913
from appium.
@alokkr016 Your issue is related to SeleniumHQ/selenium#13481
@mykola-mokhnach They have told me that it is an Appium-related issue. Can you help, please?
from appium.
make sure the installed server version is up to date
from appium.
make sure the installed server version is up to date
Do you mean Appium 2.6.0? I have already checked Appium 2.5.4, and it did not work well with that version either.
from appium.
Related Issues (20)
- Original error: No Chromedriver found that can automate Chrome '121.0.6167'. HOT 21
- [Feat]: Remove npmlog dependency because it's no longer supported
- [Feat]: Remove inflight dependency because it's no longer supported HOT 7
- when app starts and app home page comes, appium can only locate systemui, I need locate app home page HOT 2
- Original error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'carthage bootstrap --platform iOS' exited with code 1 HOT 4
- [Feat]: add company logo icons in SPONSORS.md HOT 5
- [Feat]: Support for JavaFX / Swing Desktop applications HOT 1
- iOS 17 always get driver-to-platform version mismatch on Real Devices HOT 6
- bug: iOS - XCUITest - WDA crash during parallel Appium automation HOT 6
- Appium 2.6.0 error: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot read properties of null (reading 'unpipe') HOT 4
- bug: Appium v2 does't install the newer version of the app package. HOT 4
- [Feat]: Appium to generate .gcov, .gcna, .gcda files for iOS apps code coverage HOT 2
- Appium can't reach elements in iOS source tree and it works fine in android (with the same codebase) HOT 2
- appium 2.7.0 runtime failure HOT 1
- [Feat]: release script update license in logger/package.json to Apache-2.0 from ISC
- [Feat]: document all API endpoints HOT 6
- Appium taking 10-15 minutes in switching to webview context and getting current url HOT 10
- [Feat]: use ~ for dependencies in appium main package instead of ^ HOT 9
- WebDriverAgent v8.7.2 cause Appium touch error HOT 1
- [Feat]:Setting GPS address and “Shake” cell phone function does not work. HOT 5
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.