nurdism / neko

A self hosted virtual browser (rabb.it clone) that runs in docker.
Apache License 2.0
2.03k stars 185 forks source link

[BUG] Secure connection not working #61

Closed SweetLouHD closed 4 years ago

SweetLouHD commented 4 years ago

Browsers kept complaining about entering password for Plex and Netflix because the site wasn't secure. I enabled https on the Wamp/Apache server hosting the client, but when I try connecting from the secure site it won't join the server. Is there something missing from my docker config that would prevent the secure connection?

[NEKO] DBG connecting to wss://neko.server.site:8081/ws?password=neko WebSocket connection to 'wss://neko.server.site:8081/ws?password=neko' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR I have changed out the actual URL in the above console log as I am not ready for this site to be publicly used yet.

I switched over to using the docker compose again ` version: '3.4' services: neko1: image: nurdism/neko:firefox container_name: neko1 restart: unless-stopped shm_size: "4gb" environment: DISPLAY: :99.0 NEKO_EPR: E678-E6DB ports:

`

GigaFyde commented 4 years ago

I experience no issues using a nginx reverse proxy, so this seem due to your hosting configuration.

nurdism commented 4 years ago

to setup ssl you need to have a valid ssl cert generated for your host. Please provide some more info than "not working".

Your config looks right, but it does not include any setup need for ssl, I honestly haven tried neko with ssl so no idea if it'll work right out of the box, I've been using reverse proxies for ssl