S
Supabase2mo ago
Mas0n

i am trying to connect to supabase from palantir foundry, but running into some connection issues --

has anyone dealt with this before?
No description
37 Replies
Mas0n
Mas0nOP2mo ago
these are the fields i need to fill out, and an ingress/ egress policy still stuck on this would love some help
garyaustin
garyaustin2mo ago
You get the connection info from the connection tab at the top of the dashboard. Pay attention to the IPv4 and IPv6 options depending on how palantir connects to the db. No one has ever mentioned palantir here before so you are on your own as far as the specifics for it.
Mas0n
Mas0nOP2mo ago
@garyaustin might i need to whitelist the connection. I pulled those creentials but am still getting some connection error, im connecting via hostname, database name, user,pass
garyaustin
garyaustin2mo ago
There is no whitelist for supabase. What connection method are you using? Show some info but mask instance id.
Mas0n
Mas0nOP2mo ago
can i pm?
garyaustin
garyaustin2mo ago
Just the link. I don't solve issues in PM's.
Mas0n
Mas0nOP2mo ago
im connecting via direct connection, i dont mind sending a screencap because the info is not sensitive on the database. its data pulled from a public api
Mas0n
Mas0nOP2mo ago
No description
garyaustin
garyaustin2mo ago
So the direct connection is IPv6 only. Are you sure you have an IPv6 compatible computer/router/network or the palantir server (if that is what it is) supports it. Also 6543 is normally used for pooling. 5432 would be for the direct DB connection.
Mas0n
Mas0nOP2mo ago
yeah i was using that before just tinkering.
garyaustin
garyaustin2mo ago
Try the session pooler info which is IPv4 compatible.
Mas0n
Mas0nOP2mo ago
so on foundry (palantir) i can connect via hostname or ipv4 Ok still in the hostname option from the screencap correct? or switch to ipv4
garyaustin
garyaustin2mo ago
No there is a different host name and user name see the connection tab.
Mas0n
Mas0nOP2mo ago
im looking at it, i see ok, moment
garyaustin
garyaustin2mo ago
I don't know what palantir IPv4 means... It could be use the REST API which is different.
Mas0n
Mas0nOP2mo ago
No description
garyaustin
garyaustin2mo ago
Stay on hostname setting
Mas0n
Mas0nOP2mo ago
Palantir
Palantir
Connect Foundry to PostgreSQL ↗ to read and sync data between PostgreSQL databases and Foundry. This connector uses the official PostgreSQL driver...
Mas0n
Mas0nOP2mo ago
kk crap, its still not working, if you'd be able to join voice I could screen share
garyaustin
garyaustin2mo ago
You want to use this info:
No description
garyaustin
garyaustin2mo ago
But with hostname settings not the IPv4 one
Mas0n
Mas0nOP2mo ago
so the hostname text box, i would enter the long postgres string?
garyaustin
garyaustin2mo ago
The host string aws....com
Mas0n
Mas0nOP2mo ago
i see and just match the values accordingly, database name = postgres , etc
garyaustin
garyaustin2mo ago
user is the tricky one but if you copy it with the instance id part that is what is needed.
Mas0n
Mas0nOP2mo ago
damnit im still getting an error, let me double check my database pw this is so frustrating :/ ooh i got a differet error this time
Failed to load tables
Unknown error occurred: STATUS MagritteSourceStore:MissingEncryptedValuesDuringSubstitution
Failed to load tables
Unknown error occurred: STATUS MagritteSourceStore:MissingEncryptedValuesDuringSubstitution
garyaustin
garyaustin2mo ago
Not sure what magrittesourcestore means.
Mas0n
Mas0nOP2mo ago
me neither, looking closer.
garyaustin
garyaustin2mo ago
Not sure if it is related to the connection or not.
Mas0n
Mas0nOP2mo ago
let me whitelist this on foundry real quick ok still same error - i might just put this on a different hosted db for the moment
Mas0n
Mas0nOP2mo ago
is there anyway to see if these are foundry?
No description
Mas0n
Mas0nOP2mo ago
eh foundry is still being a pain, different error though
Mas0n
Mas0nOP2mo ago
No description
Mas0n
Mas0nOP2mo ago
i got it! @garyaustin '
Mas0n
Mas0nOP2mo ago
i just had to disable ssl mode on foundry - I guess it wasn't able to create a handshake
No description
garyaustin
garyaustin2mo ago
There are settings in SB for that too, but if it is working.... https://supabase.com/dashboard/project/_/database/settings
Mas0n
Mas0nOP2mo ago
thank you! @garyaustin

Did you find this page helpful?