Has anyone had any luck connecting to neon.tech po...
# ory-selfhosting
a
Has anyone had any luck connecting to neon.tech postgres via Kratos? I'd like to use it as my data store, but so far in both prod and now locally I'm having issues actually connecting to it (both pooler + static)
Copy code
time=2024-04-30T19:53:30Z level=debug msg=Connecting to SQL Database audience=application connMaxLifetime=0s idlePool=24 pool=48 service_name=Ory Kratos service_version=v1.1.0
time=2024-04-30T19:53:34Z level=warning msg=Unable to ping database, retrying. audience=application error=map[message:failed to connect to `host=example-host.us-east-1.aws.neon.tech user=neondb_owner database=neondb`: dial error (dial tcp [IPV6_ADDRESS]:5432: connect: cannot assign requested address) stack_trace:
~I am able to connect to the database locally - just not via Kratos. I'm running Kratos in a docker container. Any thoughts?~