WebSocket connection to 'wss://hostname:7687/' failed:

Hi ,
i am running neo4j docker version 4.2 on aws ec2 and trying to display graph using neovis and getting wss error.

docker run --name neo4j -p7474:7474 -p7687:7687 -d -v $HOME/neo4j/data:/data -v $HOME/neo4j/logs:/logs -v $HOME/neo4j/import:/var/lib/neo4j/import -v $HOME/neo4j/plugins:/plugins --env NEO4J_AUTH=neo4j/neo4j --env NEO4J_dbms_security_auth__enabled=false --env NEO4J_dbms_default__database=neo4j --env NEO4J_dbms_connector_bolt_address= neo4j:4.2


You probably need to run your webpage from http as otherwise the certificate requirement from https fails?

Or you need to use neo4j+ssc if you want to use self-signed certificates.