Device Screen broadcasting to external networks #1586
Unanswered
Sparksonet
asked this question in
Q&A
Replies: 4 comments 3 replies
-
See if this helps also check the network tab for error |
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
@luprochazka-cen63872 We will work on adding the external libraries to be included as part of the package to avoid making network requests during run time. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@sudharsan-selvaraj @saikrishna321 Hi, is there any update on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys! I’d appreciate any advice as I’m trying to figure out what I might have set up incorrectly.
Problem:
Screen broadcasting only works when accessed from localhost and LAN. When I press the "Use Device" button in the Dashboard, I see the following error in the server logs:
Error: connect ECONNREFUSED 100.96.XX.XX:4723
This issue does not occur when accessing the Dashboard from:
However, it happens when opening:
Test execution works fine from any location.
Any insights would be greatly appreciated!
My setup config and logs
Arguments:
appium server -ka 800 --use-plugins=device-farm -pa /wd/hub --plugin-device-farm-platform=android --allow-insecure=adb_shell
Appium Device Farm is running at following addresses:
http://127.0.0.1:4723/wd/hub
http://192.168.110.10:4723/wd/hub
http://100.96.XX.XX:4723/wd/hub
[device-farm-main] Updated devices with filter: {"udid":{"$in":["R5CX11TW3FR"]}} [device-farm-main] Received error from remote node: {"message":"connect ECONNREFUSED 100.96.XX.XX:4723","name":"Error","stack":"Error: connect ECONNREFUSED 100.96.XX.XX:4723\\n at Function.AxiosError.from (/Users/warsawserver/.appium/node_modules/appium-device-farm/node_modules/axios/lib/core/AxiosError.js:92:14)\\n at RedirectableRequest.handleRequestError (/Users/warsawserver/.appium/node_modules/appium-device-farm/node_modules/axios/lib/adapters/http.js:620:25)\\n at RedirectableRequest.emit (node:events:536:35)\\n at ClientRequest.eventHandlers.<computed> (/Users/warsawserver/.appium/node_modules/appium-device-farm/node_modules/follow-redirects/index.js:49:24)\\n at ClientRequest.emit (node:events:524:28)\\n at emitErrorEvent (node:_http_client:104:11)\\n at Socket.socketErrorListener (node:_http_client:512:5)\\n at Socket.emit (node:events:524:28)\\n at emitErrorNT (node:internal/streams/destroy:170:8)\\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\\n at processTicksAndRejections (node:internal/process/task_queues:90:21)\\n at Axios.request (/Users/warsawserver/.appium/node_modules/appium-device-farm/node_modules/axios/lib/core/Axios.js:45:41)\\n at processTicksAndRejections (node:internal/process/task_queues:105:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":260000,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","User-Agent":"axios/1.8.2","Content-Length":"595","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"<http://100.96.XX.XX:4723/wd/hub/session","data":"{\\"capabilities\\":{\\"alwaysMatch\\":{\\"platformName\\":\\"android\\",\\"appium:automationName\\":\\"UIAutomator2\\",\\"appium:newCommandTimeout\\":120,\\"appium:waitForIdleTimeout\\":10,\\"appium:udid\\":\\"R5CX11TW3FR\\",\\"df:skipReport\\":true,\\"df:liveVideo\\":true,\\"appium:systemPort\\":50026,\\"appium:adbExecTimeout\\":80000,\\"appium:uiautomator2ServerLaunchTimeout\\":60000},\\"firstMatch\\":[{}]>},\\"desiredCapabilities\\":{\\"platformName\\":\\"android\\",\\"appium:automationName\\":\\"UIAutomator2\\",\\"appium:newCommandTimeout\\":120,\\"appium:waitForIdleTimeout\\":10,\\"appium:udid\\":\\"R5CX11TW3FR\\",\\"df:skipReport\\":true,\\"df:liveVideo\\":true,\\"appium:systemPort\\":50026}}","allowAbsoluteUrls":true},"code":"ECONNREFUSED"} [HTTP] <-- POST /device-farm/api/dashboard/appiumSession 400 10 ms - -
Thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions