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

Invalid device or streaming not supported for device ID #1517

Open
dipakkumar1225 opened this issue Jan 22, 2025 · 0 comments
Open

Invalid device or streaming not supported for device ID #1517

dipakkumar1225 opened this issue Jan 22, 2025 · 0 comments

Comments

@dipakkumar1225
Copy link

Received non-webdriver request with url /device-farm/api/dashboard/appiumSession. So, not proxying it to downstream.
[device-farm-C:\Users\Admin.appium] Updated devices with filter: {"udid":{"$in":["4Z01Z2791Y182707599"]}}
[device-farm-C:\Users\Admin.appium] Received error from remote node: {"message":"connect ECONNREFUSED ::1:4723","name":"Error","stack":"Error: connect ECONNREFUSED ::1:4723\n at Function.AxiosError.from (C:\Users\Admin\.appium\node_modules\appium-device-farm\node_modules\axios\lib\core\AxiosError.js:92:14)\n at RedirectableRequest.handleRequestError (C:\Users\Admin\.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. (C:\Users\Admin\.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 (C:\Users\Admin\.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.7.9","Content-Length":"611","Accept-Encoding":"gzip, compress, deflate,

ECONNREFUSED ::1:4723","name":"Error","stack":"Error: connect ECONNREFUSED ::1:4723\n at Function.AxiosError.from (C:\Users\Admin\.appium\node_modules\appium-device-farm\node_modules\axios\lib\core\

Details Log
https://gist.github.com/dipakkumar1225/7686f2aea464b5d6cf33022286b0280a#file-gistfile1-txt

command used to start
appium server --allow-insecure ALLOW_INSECURE --relaxed-security --session-override -ka 800 --use-plugins=device-farm --config D:/appiumServerConfig/server-config.json -pa /wd/hub

ServerConfig

{
  "server": {
    "port": 4723,
    "plugin": {
      "device-farm": {
        "platform": "android",
        "skipChromeDownload": true,
        "liveStreaming": true,
	"androidDeviceType": "real",
	"deviceAvailabilityTimeoutMs": 300000,
        "deviceAvailabilityQueryIntervalMs": 10000,
        "sendNodeDevicesToHubIntervalMs": 30000,
        "checkStaleDevicesIntervalMs": 30000,
        "checkBlockedDevicesIntervalMs": 30000,
        "newCommandTimeoutSec": 60,
        "removeDevicesFromDatabaseBeforeRunningThePlugin": true
      }
    }
  }
}

Environment

  1. Appium version: 2.11.5
  2. Node.js version : 22.12.0
  3. Npm Version: 10.9.0
  4. Mobile platform/version under test: Android 11
  5. Real device or emulator/simulator: real device Nokia C20Plus
  6. Appium CLI or Appium.app|exe: CLI
  7. java version: 21.0.5
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