I have developed an application using Neo4j, but when I try to host the app in Firebase, I encounter the following error:
The page at 'https://yourwebsite.com' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://ec2-18-140-45-111.ap-southeast-1.compute.amazonaws.com:7687/'. This request has been blocked; this endpoint must be available over WSS.
Here is a snippet of my code:
draw() {
const config = {
container_id: "viz",
server_url: "bolt://ec2-18-140-45-111.ap-southeast-1.compute.amazonaws.com:7687",
server_user: "neo4j",
server_password: "Password",
labels: {
},
relationships: {
},
initial_cypher: "QUery",
arrows: true
}
this.viz = new NeoVis.default(config);
this.viz.render();
}
How can I resolve this issue?
Your assistance would be greatly appreciated.