angular - Neo4j - How to access bolt from a secure connection using Docker image? -


new docker. have managed deploy official neo4j ee docker image google container engine, , when running angular application localhost fine (because it's not coming secure connection).

however, when deploy app firebase, app makes calls db/docker container secure connection, results in following error:

mixed content: page @ 'https://luminate-testing-24112016.firebaseapp.com/dashboard' loaded on https, attempted connect insecure websocket endpoint 'ws://35.196.251.244:7687/'. request has been blocked; endpoint must available on wss. 

note happens regardless of whether docker image deployed gke or aws.

here yaml files:

apiversion: v1 kind: service metadata:   name: neo4j spec:   type: loadbalancer   loadbalancersourceranges:   - 0.0.0.0/0   ports:   - name: browser     port: 7474     protocol: tcp   - name: bolt     port: 7687     protocol: tcp   - name: https     port: 7473     protocol: tcp   selector:     app: neo4j  apiversion: "apps/v1beta1" kind: statefulset metadata:   name: neo4j spec:   servicename: neo4j   replicas: 1   template:     metadata:       labels:         app: neo4j     spec:       containers:       - name: neo4j         image: luminateqr/neo4j-with-apoc:latest         imagepullpolicy:         ports:         - name: browser           containerport: 7474         - name: bolt           containerport: 7687         - name: https           containerport: 7473         volumemounts:         - name: neo4j-data           mountpath: /data   volumeclaimtemplates:   - metadata:       name: neo4j-data       annotations:         volume.beta.kubernetes.io/storage-class: slow     spec:       accessmodes: [ "readwriteonce" ]       resources:         requests:           storage: 50gi  kind: storageclass apiversion: storage.k8s.io/v1beta1 metadata:   name: slow provisioner: kubernetes.io/gce-pd parameters:   type: pd-standard   zone: us-east1-c 

there few questions , answers floating around seem similar, can't figure out ones apply , ones don't. understand setting websocket on tls has it, there no consistent and/or explicit answer on how (which seems odd common scenario)

you should set parameter in neo4j.conf

dbms.connector.bolt.tls_level=required 

in case of docker have options described here: config file neo4j docker image


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -