question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Appium gets stuck at [JSONWP Proxy] Proxying [POST /session]...

See original GitHub issue

iOS, simulator Appium version 1.7.1 Xcode version 9.0.1 Language: Java

I have a problem that started occurring after update to new (1.7.0) Appium. When I start test form Intellij, app will start on simulator and then Appium will get stuck on this line : [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.****.*****","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}

Sometimes the test will start after few minutes, but most of the times nothing happens for very long time so I just quit everything. Sometimes I even have to restart mac for next test to run. I’m not 100% sure but I think that happens when test ran before did not finish (fail/pass) but I stopped it manually from Intellij.

Here are the full logs https://gist.github.com/deedora/43b5e939e086461745336b993ca00e89

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:25 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
aaleksandroffcommented, Apr 27, 2018

@imurchie Actually, I’ve managed to fix it by using those capabilities:

    capabilities.setCapability("clearSystemFiles", true);
    capabilities.setCapability("wdaStartupRetryInterval", "1000");
    capabilities.setCapability("useNewWDA", true);
    capabilities.setCapability("waitForQuiescence", false);
    capabilities.setCapability("shouldUseSingletonTestManager", false);

And

Stopped using capabilities.setCapability(“bundleId”, “value”);

0reactions
lock[bot]commented, Dec 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Appum Execution get stuck [debug] [JSONWP Proxy] Proxying ...
[XCUITest] Detected that WebDriverAgent is running at url 'http://192.168.2.4:8100' [XCUITest] WebDriverAgent started at url ...
Read more >
Appium gets stuck before running test - Issues/Bugs
When I start test form Intellij, app will start on simulator and then Appium gets stuck on this line : [JSONWP Proxy] Proxying...
Read more >
Appium along with the application gets stuck When attempting ...
Appium along with the application gets stuck When attempting to capture the screen image in order to get the Xpaths for the overlay...
Read more >
Appium WiFi Automation is not working with Appium Desktop ...
[JSONWP Proxy] Got an unexpected response: [XCUITest] Failed to create WDA session (An unknown server-side error occurred while processing the ...
Read more >
Not able to identify element getting [WD Proxy] Got an ...
Status is 500 for message “appium-base-driver\\lib\\jsonwp-proxy\\proxy.js:261:13)”". chetan_chauhan13 February 6, 2020, 2:35pm #3.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found