docker-selenium icon indicating copy to clipboard operation
docker-selenium copied to clipboard

live preview issue with Selenium Grid 4 in kubernetes

Open balajig18 opened this issue 2 years ago • 4 comments

What happened?

Hi Team,

We have deployed Selenium Grid 4 in our kubernetes cluster. When we trying to access live preview, we getting black page in UI

In Chrome node logs, we getting messages like Rejecting request with non local origin.

Grid Url - https://v1-selenium-grid.testenv.domain.com/

Command used to start Selenium Grid with Docker

Kubernetes deployment

Relevant log output

Rejecting request with non local origin https://v1-selenium-grid.testenv.domain.com/

Operating System

Linux

Docker Selenium version (tag)

4.3.0

balajig18 avatar Aug 04 '22 21:08 balajig18

We cannot do much with such little information. When the noVNC request is sent, something should be logged in the Node. Please provide the complete Hub and Node logs.

diemol avatar Aug 06 '22 05:08 diemol

I'm unable share the entire logs because of security reasons.

When trying to open live preview link in UI.

I'm seeing below error in Chrome node pod.

HTTP/1.1 500 Internal Server Error. Host header or Origin header is specified and is not whitelisted or localhost.

In the vnc request, I'm seeing origin and host headers pointing to https://v1-selenium-grid.testenv.domain.com

balajig18 avatar Aug 11 '22 22:08 balajig18

OK. We cannot do much without logs. Let us know if you can share them or if we should close this issue.

diemol avatar Aug 12 '22 03:08 diemol

@balajig18 can you share your selenium-hub and selenium-node-chrome values.yaml? BTW did you implemented using helm?

lirany1 avatar Aug 31 '22 20:08 lirany1

Closing as no more information was provided.

diemol avatar Oct 17 '22 15:10 diemol