New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appium server crashes and shuts down on first test #20061
Comments
Have just uploaded a newer version of the appium log, I had to reload the console to grab more logs |
I don't observe any suspicious traces in the server log. Have you tried to ask at the Selenium hub issues tracker? |
@mykola-mokhnach I did, unfortunately didn't get much help with a resolution, can see here |
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 |
As @diemol mentioned in the issue report above the exception means the server just stops responding to network requests. |
Will do, could you please advise on how I can do this? |
Unfortunately I cannot help there. It highly depends on how the server is configured. Maybe hire a consultant to help you with that |
I've added |
error_log.log EDIT: Just saw this in the trace 🤔
Maybe I didn't configure the mjpeg capabilities properly? |
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. |
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 |
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 |
@alokkr016 Your issue is related to SeleniumHQ/selenium#13481 |
I am facing the same exception when I am using the selenium-server-4.13.0.jar |
@alokkr016 please create an issue in the Selenium repo with the details when you use the snapshot jar. |
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? |
@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. |
@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 |
Closed as not an issue |
Hi, I have absolutely no idea why this is happening, the appium servers on the node machines connect fine to the hub, but the test will run for about 10 seconds and then close down the Appium server resulting in
Unable to execute request: java.net.ConnectException: Connection refused: /127.0.0.1:4723
errors. Can't see much info from the log, just seems to get cut off.appium.log
node.log
Appium1.yml
Node file
Edit: Adding the run command as well
The text was updated successfully, but these errors were encountered: