You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@omar-khaled-mahmoud, 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.
What happened?
error I'm facing:
LiveView.tsx:63 WebSocket connection to 'wss://selenium.com/b590b8d…/se/vnc' failed:
x @ LiveView.tsx:63
(anonymous) @ LiveView.tsx:78
rfb.js:747 WebSocket on-error event
value @ rfb.js:747
_websocket.onerror @ websock.js:318
rfb.js:1005 Failed when connecting: Connection closed (code: 1006)
invariant.ts:42 Download the Apollo DevTools for a better development experience: https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm
I'm using helm chart latest version 0.40.0 on EKS cluster AWS
Hub config
Source: selenium-grid/templates/hub-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: selenium-grid-selenium-hub
namespace: {{ .Release.Namespace }}
labels: &hub_labels
app: selenium-grid-selenium-hub
app.kubernetes.io/name: selenium-grid-selenium-hub
app.kubernetes.io/managed-by: helm
app.kubernetes.io/instance: selenium-grid
app.kubernetes.io/version: 4.29.0-20250222
app.kubernetes.io/component: selenium-grid-4.29.0-20250222
helm.sh/chart: selenium-grid-0.40.0
spec:
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: selenium-grid-selenium-hub
app.kubernetes.io/instance: selenium-grid
template:
metadata:
labels: *hub_labels
annotations:
checksum/logging-configmap: c592f3a5208ae21dcb5084d8e0fd2583e962d96b35a03aa5ca20778e89e60745
checksum/server-configmap: aa1a1969b53a469c3b22bc99d3d95e8ba06ad8aa48ec6561e3393cda116af2c2
checksum/distributor-configmap: 4629ea17660b25f8969325c5d75aa19c7f13e3bf436e13d2f51c4d99cb335366
checksum/router-configmap: 8e3b8a2b42110162edac86294c8e09a297e9c6d5dc6c0171f4feb98648f73c44
checksum/secrets: 173e5d8ed0fbeb51a5be7e18e83329ae50ac01633bf18bfae5d7712f0b54dadc
checksum/tls-cert-secret: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
spec:
serviceAccountName: selenium-grid-selenium-serviceaccount
serviceAccount: selenium-grid-selenium-serviceaccount
containers:
- name: selenium-grid-selenium-hub
image: selenium/hub:4.29.0-20250222
imagePullPolicy: IfNotPresent
ports:
- containerPort: 4444
protocol: TCP
- containerPort: 4442
protocol: TCP
- containerPort: 4443
protocol: TCP
startupProbe:
httpGet:
scheme: HTTP
path: /readyz
port: 4444
failureThreshold: 10
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
readinessProbe:
httpGet:
scheme: HTTP
path: /readyz
port: 4444
failureThreshold: 10
initialDelaySeconds: 12
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
livenessProbe:
exec:
command: ["bash", "-c", "/opt/bin/distributorProbe.sh Liveness "]
failureThreshold: 30
initialDelaySeconds: 60
periodSeconds: 60
successThreshold: 1
timeoutSeconds: 60
env:
- name: KUBERNETES_NODE_HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: SE_OTEL_SERVICE_NAME
value: 'selenium-grid-selenium-hub'
- name: SE_HUB_HOST
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: SE_HUB_PORT
value: "4444"
envFrom:
- configMapRef:
name: selenium-grid-selenium-distributor-config
- configMapRef:
name: selenium-grid-selenium-router-config
- configMapRef:
name: selenium-grid-selenium-logging-config
- configMapRef:
name: selenium-grid-selenium-server-config
- secretRef:
name: selenium-grid-selenium-secrets
- secretRef:
name: selenium-grid-selenium-basic-auth-secrets
volumeMounts:
- name: selenium-grid-selenium-distributor-config
mountPath: /opt/bin/distributorProbe.sh
subPath: distributorProbe.sh
- name: "selenium-grid-selenium-router-config"
mountPath: /opt/bin/routerGraphQLUrl.sh
subPath: routerGraphQLUrl.sh
- name: "selenium-grid-selenium-router-config"
mountPath: /opt/bin/routerProbe.sh
subPath: routerProbe.sh
resources:
limits:
cpu: "1"
memory: 2Gi
requests:
cpu: "0.5"
memory: 1Gi
volumes:
- name: "selenium-grid-selenium-distributor-config"
configMap:
name: selenium-grid-selenium-distributor-config
defaultMode: 493
- name: "selenium-grid-selenium-router-config"
configMap:
name: selenium-grid-selenium-router-config
defaultMode: 493
and chrome node configs:
Source: selenium-grid/templates/chrome-node-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: selenium-grid-selenium-node-chrome
namespace: {{ .Release.Namespace }}
labels:
app: selenium-grid-selenium-node-chrome
app.kubernetes.io/name: selenium-grid-selenium-node-chrome
app.kubernetes.io/managed-by: helm
app.kubernetes.io/instance: selenium-grid
app.kubernetes.io/version: 4.29.0-20250222
app.kubernetes.io/component: selenium-grid-4.29.0-20250222
helm.sh/chart: selenium-grid-0.40.0
spec:
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: selenium-grid-selenium-node-chrome
app.kubernetes.io/instance: selenium-grid
template:
metadata:
labels:
app: selenium-grid-selenium-node-chrome
app.kubernetes.io/name: selenium-grid-selenium-node-chrome
app.kubernetes.io/managed-by: helm
app.kubernetes.io/instance: selenium-grid
app.kubernetes.io/version: 4.29.0-20250222
app.kubernetes.io/component: selenium-grid-4.29.0-20250222
helm.sh/chart: selenium-grid-0.40.0
annotations:
checksum/event-bus-configmap: 2beb6d2b917d8aaf016b1ceb3f59286625e49078b0a883140f41d8a668178b72
checksum/node-configmap: 4bc0e7432d4f1c7818ebdfa6674123f48b80b16b9ae7045f1a459aaf988fb558
checksum/logging-configmap: c592f3a5208ae21dcb5084d8e0fd2583e962d96b35a03aa5ca20778e89e60745
checksum/server-configmap: aa1a1969b53a469c3b22bc99d3d95e8ba06ad8aa48ec6561e3393cda116af2c2
spec:
shareProcessNamespace: true
serviceAccountName: selenium-grid-selenium-serviceaccount
serviceAccount: selenium-grid-selenium-serviceaccount
restartPolicy: Always
initContainers:
- name: "pre-puller-selenium-grid-selenium-node-chrome"
image: selenium/node-chrome:4.29.0-20250222
command: ["bash", "-c", "'true'"]
resources:
limits:
cpu: "1"
memory: 2Gi
requests:
cpu: "1"
memory: 1Gi
containers:
- name: selenium-grid-selenium-node-chrome
image: selenium/node-chrome:4.29.0-20250222
imagePullPolicy: IfNotPresent
env:
- name: KUBERNETES_NODE_HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: SE_NODE_MAX_SESSIONS
value: "1"
- name: SE_DRAIN_AFTER_SESSION_COUNT
value: "0"
- name: SE_NODE_CONTAINER_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: SE_BROWSER_ARGS_DISABLE_DSHM
value: "--disable-dev-shm-usage"
- name: SE_OTEL_SERVICE_NAME
value: "selenium-grid-selenium-node-chrome"
- name: SE_NODE_HOST
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: SE_NODE_PORT
value: "5555"
- name: SE_NODE_REGISTER_PERIOD
value: "120"
- name: SE_NODE_REGISTER_CYCLE
value: "5"
envFrom:
- configMapRef:
name: selenium-grid-selenium-event-bus-config
- configMapRef:
name: selenium-grid-selenium-node-config
- configMapRef:
name: selenium-grid-selenium-logging-config
- configMapRef:
name: selenium-grid-selenium-server-config
- secretRef:
name: selenium-grid-selenium-secrets
- secretRef:
name: selenium-grid-selenium-basic-auth-secrets
ports:
- containerPort: 5555
protocol: TCP
volumeMounts:
- name: selenium-grid-selenium-node-config
mountPath: /opt/bin/nodeGridUrl.sh
subPath: nodeGridUrl.sh
- name: selenium-grid-selenium-node-config
mountPath: /opt/bin/nodePreStop.sh
subPath: nodePreStop.sh
- name: selenium-grid-selenium-node-config
mountPath: /opt/bin/nodeProbe.sh
subPath: nodeProbe.sh
resources:
limits:
cpu: "1"
memory: 2Gi
requests:
cpu: "1"
memory: 1Gi
lifecycle:
preStop:
exec:
command:
- bash
- -c
- '/opt/bin/nodePreStop.sh '
startupProbe:
exec:
command: ["bash", "-c", "/opt/bin/nodeProbe.sh Startup "]
Appreciate your help!
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
Operating System
kubernetes EKS
Docker Selenium version (image tag)
selenium/hub:4.29.0-20250222
Selenium Grid chart version (chart version)
v0.40.0
The text was updated successfully, but these errors were encountered: