Giter Site home page Giter Site logo

Comments (21)

tking16 avatar tking16 commented on May 23, 2024

Have just uploaded a newer version of the appium log, I had to reload the console to grab more logs

from appium.

mykola-mokhnach avatar mykola-mokhnach commented on May 23, 2024

I don't observe any suspicious traces in the server log. Have you tried to ask at the Selenium hub issues tracker?

from appium.

tking16 avatar tking16 commented on May 23, 2024

@mykola-mokhnach I did, unfortunately didn't get much help with a resolution, can see here

from appium.

tking16 avatar tking16 commented on May 23, 2024

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.

mykola-mokhnach avatar mykola-mokhnach commented on May 23, 2024

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.

tking16 avatar tking16 commented on May 23, 2024

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.

mykola-mokhnach avatar mykola-mokhnach commented on May 23, 2024

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.

tking16 avatar tking16 commented on May 23, 2024

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.

tking16 avatar tking16 commented on May 23, 2024

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.

mykola-mokhnach avatar mykola-mokhnach commented on May 23, 2024

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.

tking16 avatar tking16 commented on May 23, 2024

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.

mykola-mokhnach avatar mykola-mokhnach commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.