I have deployed a flask app via zappa. The flask app makes a call to graphene, a service running neo4j db instances. I can connect to graphene through the terminal like this
from neo4j.v1 import GraphDatabase, basic_auth
driver = GraphDatabase.driver(
app.config['NEO4J_CONNECTION_URL'],
auth=basic_auth(app.config['NEO4J_CONNECTION_USERNAME'], app.config['NEO4J_CONNECTION_PASSWORD']),
encrypted=IS_ENCRYPTED
)
, flagging driver as unencrypted, and can run queries, etc. However, when I deploy this to AWS I get the error listed in the title, Errno 104 - connection reset by peer.
Stuck on this, not sure if there is other relevant info that would help solve the problem.