Skip to content

I'm trying to connect to a Neon DB hosted behind a Replit deployment, result: "Error:" #476

@genobobeno

Description

@genobobeno

I don't know how to produce a reprex without username and password...

I'm running the code below, and it's outputting the word "Error:"
No explanation.

Version 1.4.7

conn <- dbConnect(Postgres()
+                   , host=myhost
+                   , port=5432
+                   , dbname='neondb'
+                   , user='neondb_owner'
+                   , password=pw)
Error:

When I tried using PostgreSQL(), I got the error:
"RPosgreSQL error: could not connect neondb_owner@myhost:5432 on dbname "neondb": ERROR: connection is insecure (try using sslmode=require)"

This kept happening no matter how I attempted to manage the sslmode issue. Which is why I tried Postgres()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions