As part of the Neo4j & LLM Fundamentals, was able to connect to the sandbox. Suddenly, was not able to do so. However, able to do so from the browser running some simple query. Any ideas how to resolve this issue?
It apparently timed-out, one of the error lines printed,
neo4j.exceptions.ServiceUnavailable: Timed out trying to establish connection to ResolvedIPv4Address(('44.198.60.201', 7687))
import os
from langchain_neo4j import Neo4jGraph
graph = Neo4jGraph(
url=os.getenv("NEO4J_URI"),
username=os.getenv("NEO4J_USERNAME"),
password=os.getenv("NEO4J_PASSWORD")
)
result = graph.query("""
MATCH (m:Movie{title: 'Toy Story'})
RETURN m.title, m.plot, m.poster
""")
print(result)