docker-selenium
docker-selenium copied to clipboard
vnc is not working with helm template deployment on gke used 5900 port can you please help on it
What happened?
i have provided below values in values.yaml and applied helm template
chromeNode:
port: 6666 # Update SE_NODE_PORT to 6666
nodePort: 30666 # Specify a NodePort to expose SE_NODE_PORT to outside traffic
ports:
- 5900 # You can give port number alone, default protocol is TCP
- 7900
service:
type: NodePort # Expose entire ports on Service via NodePort
ports:
- name: vnc-port
protocol: TCP
port: 5900
targetPort: 5900
nodePort: 30590 # Specify a NodePort to expose VNC port
- name: novnc-port
protocol: TCP
port: 7900
targetPort: 7900
# NodePort will be assigned randomly if not set
still i am not able to see the video browsing.
video uploader is also not working , i am not seeing the videos in gcs bucket videoRecorder: enabled: true
imageRegistry: selenium
Image of video recorder
imageName: video
Image of video recorder
imageTag: ffmpeg-6.1.1-20240505
Image pull policy (see https://kubernetes.io/docs/concepts/containers/images/#updating-images)
imagePullPolicy: IfNotPresent
Image pull secret (see https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)
targetFolder: "/videos" uploader: enabled: true # Where to upload the video file e.g. remoteName://bucketName/path. Refer to destination syntax of rclone https://rclone.org/docs/ destinationPrefix: "gcs://seleniumgrid_bucket/vnc" # What uploader to use. See .videRecorder.rclone for how to create a new one. name:
configFileName: upload.conf
entryPointFileName: upload.sh
# For environment variables used in uploader which contains sensitive information, store in secret and refer envFrom
# Set config for rclone via ENV var with format: RCLONE_CONFIG_ + name of remote + _ + name of config file option (make it all uppercase)
#secrets:
secrets:
RCLONE_CONFIG_GCS_TYPE: "s3"
RCLONE_CONFIG_GCS_PROVIDER: "GCS"
RCLONE_CONFIG_GCS_ENV_AUTH: "true"
RCLONE_CONFIG_GCS_ACL: "private"
RCLONE_CONFIG_GCS_PROJECT_NUMBER: "856041249079"
RCLONE_CONFIG_GCS_OBJECT_ACL: "private"
secretName: "gcs-service-account"
secretKey: "key.json"
Command used to start Selenium Grid with Docker (or Kubernetes)
helm repo add docker-selenium https://www.selenium.dev/docker-selenium
helm search repo docker-selenium
helm install/upgrade selenium-grid docker-selenium/selenium-grid
Relevant log output
video browsing and video recorder and uploader need to work
Operating System
gke
Docker Selenium version (image tag)
4.9.0-20230421
Selenium Grid chart version (chart version)
4.9.0-20230421
@rahulnadikattu, 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!
I see you are using latest video recorder image, however the Selenium Grid image mentioned 4.9.0-20230421
Can you share a full you own chart values as YAML file for me to reproduce? You can hide the credentials part, and I will replace it with my own.
tried to attach yaml file but it is not taking so i converted to json and attched the file.
I saw values file is fine, from the test, did you run with headless mode?
Since with the screenshot, novnc is able to access and preview is there, just browser not open (headless capabilities is set)
