Client stopped session
I'm experimenting using this (with a codeceptjs / testcafe setup) and am finding my sessions are always stopped before the test can register as passed. Has anyone experienced similar problems? Many thanks

Browserstack log:
2019-10-31 14:46:45:531 REQUEST [2019-10-31 14:46:45:531] POST /session {"desiredCapabilities":{"browserstack.localIdentifier":1572533177321,"browserstack.local":true,"os":"Windows","os_version":"10","browser":"edge","device":null,"browser_version":"18.0","real_mobile":null,"browserstack.debug":true,"browserstack.networkLogs":true,"name":"TestCafe test run OHjs4DT","acceptSslCert":false}}
2019-10-31 14:46:45:531 START_SESSION
2019-10-31 14:46:45:531 REQUEST [2019-10-31 14:46:45:531] GET /session/87c1ff33b677649c0cf77d5c0ab5ad01ed07ed0e
2019-10-31 14:46:45:531 RESPONSE {"value":{"sessionId":"87c1ff33b677649c0cf77d5c0ab5ad01ed07ed0e","capabilities":{"proxy":{},"acceptInsecureCerts":false,"browserVersion":"44.18362.1.0","timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"browserName":"MicrosoftEdge","pageLoadStrategy":"normal","platformName":"windows","setWindowRect":false}}}
2019-10-31 14:46:46:64 REQUEST [2019-10-31 14:46:46:64] POST /session/87c1ff33b677649c0cf77d5c0ab5ad01ed07ed0e/url {"url":"http://localhost:64993/browser/connect/OHjs4DT"}
2019-10-31 14:46:47:632 DEBUG https://s3.amazonaws.com/testautomation/87c1ff33b677649c0cf77d5c0ab5ad01ed07ed0e/screenshot-3343c10065.jpeg
2019-10-31 14:46:47:632 RESPONSE {"value":null,"sessionId":"5FF1C5FC-6557-4A93-A28A-4B868E51CD01","status":0}
2019-10-31 14:47:12:89 STOP_SESSION {"status":0,"sessionId":"87c1ff33b677649c0cf77d5c0ab5ad01ed07ed0e","value":{"message":"CLIENT_STOPPED_SESSION"},"errorStack":{}}
Hi @willhowlett
I am afraid this information is not sufficient to find the cause of the issue. Could you please provider a small example so that we can reproduce it on our side?
Hi @miherlosev - thanks for the response!
I've setup a minimal repro here: https://github.com/willhowlett/codeceptexample
Hopefully I'm just doing something stupid! Please let me know if you need any further info. Thanks again
Hi @miherlosev - thanks for the response!
I've setup a minimal repro here: https://github.com/willhowlett/codeceptexample
Hopefully I'm just doing something stupid! Please let me know if you need any further info. Thanks again
Hi Will,
can I ask you, if you somehow resolved this issue? We've been having similar issue, that is happening only, when we run tests in bstack from Jenkins on chrome 81.0 version. Than we have client_stopped_session as the last info in failed test.
Thank you for your answer. Phil
Sorry. I haven’t used codecept for a long time now :)
On Wed, 29 Jun 2022 at 09:20, fidloch @.***> wrote:
Hi @miherlosev https://github.com/miherlosev - thanks for the response!
I've setup a minimal repro here: https://github.com/willhowlett/codeceptexample
Hopefully I'm just doing something stupid! Please let me know if you need any further info. Thanks again
Hi Will,
can I ask you, if you somehow resolved this issue? We've been having similar issue, that is happening only, when we run tests in bstack from Jenkins on chrome 81.0 version. Than we have client_stopped_session as the last info in failed test.
Thank you for your answer. Phil
— Reply to this email directly, view it on GitHub https://github.com/DevExpress/testcafe-browser-provider-browserstack/issues/92#issuecomment-1169677925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWPHONEUXWKYDTD5KWRZEDVRQBMRANCNFSM4JHLR7IA . You are receiving this because you were mentioned.Message ID: <DevExpress/testcafe-browser-provider-browserstack/issues/92/1169677925@ github.com>
any solution for client stopped session
Hi, I managed to reproduce the issue. However, it may be related to CodeceptJS. Please try to reproduce this issue without CodeceptJS. If you can, please share an example with us. If not, I recommend you report the issue to CodeceptJS.
@RahulSmartcloudPFQA Were you able to find a solution to this? I am also facing the same issue. Thanks
Were you able to find the issue? Can you please share if you have find a solution for it?
No updates yet. Once we make more progress, we will leave a comment.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.
Facing this issue while executing mobile automation scripts on browser stack for parallel execution.