Skip to content

WDA v14.1.1 Has issues with MJPEG screenshots - SessionNotCreatedException #1157

Description

@tking16

I'm using pytest-html to report on my test runs. For the iOS tests particularly I'm getting failures since upgrading my xcuitest and Appium. These failures aren't generating screenshots for my tests either:

 raise exception_class(message, screen, stacktrace)
E       selenium.common.exceptions.SessionNotCreatedException: Message: Could not start a new session. Could not start a new session. Error while creating session with the service http://localhost:4726. Could not start a new session. Response code 500. Message: Waited 10000ms but the MJPEG server never sent any images 
E       Host info: host: 'XD99WFXHKN', ip: '10.63.15.144'
E       Build info: version: '4.38.0', revision: '6b412e825c'
E       System info: os.name: 'Mac OS X', os.arch: 'aarch64', os.version: '26.2', java.version: '17.0.19'
E       Driver info: driver.version: unknown
E       Build info: version: '4.38.0', revision: '6b412e825c'
E       System info: os.name: 'Mac OS X', os.arch: 'aarch64', os.version: '26.2', java.version: '17.0.19'
E       Driver info: driver.version: unknown
E       Build info: version: '4.38.0', revision: '6b412e825c'
E       System info: os.name: 'Mac OS X', os.arch: 'aarch64', os.version: '26.4.1', java.version: '17.0.17'
E       Driver info: driver.version: unknown
E       Stacktrace:
E           at org.openqa.selenium.grid.node.remote.RemoteNode.newSession (RemoteNode.java:167)
E           at org.openqa.selenium.grid.distributor.local.LocalDistributor.startSession (LocalDistributor.java:427)
E           at org.openqa.selenium.grid.distributor.local.LocalDistributor.newSession (LocalDistributor.java:346)
E           at org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.handleNewSessionRequest (LocalDistributor.java:601)
E           at org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.lambda$run$1 (LocalDistributor.java:551)
E           at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1136)
E           at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:635)
E           at java.lang.Thread.run (Thread.java:840)

_env/lib/python3.14/site-packages/selenium/webdriver/remote/errorhandler.py:232: SessionNotCreatedException

Appium Server Log Snippet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions