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

[🐛 Bug]: Relay Node unable to check service status of Appium service. #2612

Closed
biggiethehacker opened this issue Jan 24, 2025 · 2 comments

Comments

@biggiethehacker
Copy link

What happened?

I have deployed a single relay node that connects to an Appium instance, both deployed in AKS. I have exec'd onto the pod and can confirm that the Appium instance /status endpoint is accessible. However, the relay node is unable to check the service status (see log below).

seluser@appium-android-relay-b5d7577cf-kgjfc:/$ curl -v http://appium-android:4723/status --noproxy '*'
* Host appium-android:4723 was resolved.
* IPv6: (none)
* IPv4: 192.168.155.183
*   Trying 192.168.155.183:4723...
* Connected to appium-android (192.168.155.183) port 4723
> GET /status HTTP/1.1> Host: appium-android:4723
> User-Agent: curl/8.5.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< X-Powered-By: Express
< Content-Type: application/json; charset=utf-8
< Content-Length: 111
< ETag: W/"6f-zzKZfRMJr2gw2xMw961KhvnKwiM"
< Date: Fri, 24 Jan 2025 10:06:30 GMT
< Connection: keep-alive
< Keep-Alive: timeout=600
< * Connection #0 to host appium-android left intact
{"value":{"ready":true,"message":"The server is ready to accept new connections","build":{"version":"2.15.0"}}}

Command used to start Selenium Grid with Docker (or Kubernetes)

crossBrowsers
  relayNode:
    - nameOverride: appium-android-relay
      enabled: true
      imageName: node-base
      port: 5555
      annotations:
        sidecar.istio.io/inject: "false"
      extraEnvironmentVariables:
        - name: SE_NODE_RELAY_URL
          value: "http://appium-android:4723"
        - name: SE_NODE_RELAY_STATUS_ENDPOINT
          value: "/status"
        - name: SE_NODE_RELAY_PROTOCOL_VERSION
          value: "HTTP/1.1"
        - name: SE_NODE_RELAY_MAX_SESSIONS
          value: "1"
        - name: SE_NODE_RELAY_BROWSER_NAME
          value: "chrome"
        - name: SE_NODE_RELAY_PLATFORM_NAME
          value: "Android"
        - name: SE_NODE_RELAY_PLATFORM_VERSION
          value: "13"

Relevant log output

09:45:14.978 WARN [RelaySessionFactory.isServiceUp] - Error checking service status http://appium-android:4723/status. java.net.ConnectException{"class": "RelaySessionFactory","log-level": "WARNING","log-message": "Error checking service status http:\u002f\u002fappium-android:4723\u002fstatus. java.net.ConnectException","log-name": "org.openqa.selenium.grid.node.relay.RelaySessionFactory","log-time-local": "2025-01-24T09:45:14.978Z","log-time-utc": "2025-01-24T09:45:14.978Z","method": "isServiceUp"}

Operating System

AKS

Docker Selenium version (image tag)

4.27.0

Selenium Grid chart version (chart version)

0.38.5

Copy link

@biggiethehacker, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@biggiethehacker
Copy link
Author

Issue was on appium side.

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

No branches or pull requests

1 participant