Forum Discussion

heisenbug's avatar
New Contributor
3 years ago

HTTPS Connection for Selenium Grid Hub

The documentation states to use for the selenium grid hub address

How do we use HTTPS for the hub address? When I tried changing the hub address to use HTTPS, I received errors regarding the hub connection.



Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '4.0.0', revision: '3a21814679'
System info: host: 'xxxxx', ip: '', 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}, platformName: windows}], desiredCapabilities=Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}, idle_timeout: 30, name: Testing: Test..., platform: WINDOWS, record_network: true, record_video: true, screenResolution: 1920x1080, version: latest}}]
Capabilities {}
Caused by: not an SSL/TLS record: xxxxxxxxxxxxxx
Caused by: not an SSL/TLS record: xxxxxxxxxxxxxx
Caused by: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: xxxxxxxxxxxxxx