Skip to content
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

Proxy does not work on the device #35

Open
purvikeny opened this issue May 15, 2024 · 0 comments
Open

Proxy does not work on the device #35

purvikeny opened this issue May 15, 2024 · 0 comments

Comments

@purvikeny
Copy link

2024-05-15T10:03:44.498Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:54578
[0-0] at ClientRequest. (file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/node_modules/got/dist/source/core/index.js:790:107)
[0-0] at Object.onceWrapper (node:events:632:26)
[0-0] at ClientRequest.emit (node:events:529:35)
[0-0] at ClientRequest.emit (node:domain:489:12)
[0-0] at Socket.socketErrorListener (node:_http_client:501:9)
[0-0] at Socket.emit (node:events:517:28)
[0-0] at Socket.emit (node:domain:489:12)
[0-0] at emitErrorNT (node:internal/streams/destroy:151:8)
[0-0] at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[0-0] at processTicksAndRejections (node:internal/process/task_queues:82:21)
[0-0] at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
[0-0] 2024-05-15T10:03:44.499Z ERROR @wdio/runner: Error: Failed to create session.
[0-0] Unable to connect to "http://127.0.0.1:54578/", make sure browser driver is running on that address.
[0-0] It seems like the service failed to start or is rejecting any connections.
[0-0] at startWebDriverSession (file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/node_modules/webdriver/build/utils.js:69:15)
[0-0] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[0-0] at async Function.newSession (file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/node_modules/webdriver/build/index.js:20:45)
[0-0] at async remote (file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/node_modules/webdriverio/build/index.js:46:22)
[0-0] at async Runner._startSession (file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/node_modules/@wdio/runner/build/index.js:241:29)
[0-0] at async Runner._initSession (file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/node_modules/@wdio/runner/build/index.js:207:25)
[0-0] at async Runner.run (file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/node_modules/@wdio/runner/build/index.js:88:19)
[0-0] 2024-05-15T10:03:44.501Z DEBUG @wdio/utils:shim: Finished to run "after" hook in 0ms
2024-05-15T10:03:44.631Z DEBUG @wdio/local-runner: Runner 0-0 finished with exit code 1
[0-0] FAILED in Android - file:///Users/purvikeny/Desktop/Tesco%20Mobile/TescoAppAutomationCode/mobileapp-tests/tests/paym/specs/journeys/change_password.spec.ts
2024-05-15T10:03:44.631Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
2024-05-15T10:03:44.632Z DEBUG @wdio/cli:utils: Finished to run "onWorkerEnd" hook in 0ms
2024-05-15T10:03:44.632Z INFO @wdio/cli:launcher: Run onComplete hook
2024-05-15T10:03:44.632Z INFO @wdio/appium-service: Appium (pid: 21782) killed
2024-05-15T10:03:44.632Z DEBUG @wdio/cli:utils: Finished to run "onComplete" hook in 0ms

Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:02

2024-05-15T10:03:44.634Z INFO @wdio/local-runner: Shutting down spawned worker
2024-05-15T10:03:44.887Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2024-05-15T10:03:44.889Z INFO @wdio/local-runner: shutting down
purvikeny@Purvis-MacBook-Pro mobileapp-tests %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant