Connecting to Google Looker Studio
I'm trying to connect Looker Studio to my Neon database but am getting a vague error from the UI:
* I can connect to my database using other GUI tools
* I've read the discussion in the old forums: https://community.neon.tech/t/connect-to-data-studio-looker-studio/299
* I've tried enabling SSL in Looker and uploading the
isrgrootx1.pem certificate from Let'sEncrypt
Can anyone provide some guidance on how to troubleshoot?Neon
Connect to Data Studio / Looker Studio
Hi! π π I migrate from heroku recently on my project with hasura, but now I donβt have metrics about my SaaS, is possible to connect to Data Studio? Some idea how? Regards.
36 Replies
foreign-sapphireβ’2y ago
I tested too, and can't get a connection working. If you open a web inspector the error coming back is
JDBC_HOST_NOT_REACHABLE. The error is the same regardless of Enable SSL being ticked. Can you open a support case with Looker?
CC @Daniel maybe you can sanity check since it worked for you in the past?optimistic-goldβ’2y ago
I tried it without any luck. It worked previously. Something must have changed on the Looker Studio side. I saw a couple of mentions online of using a Google BigQuery connector instead, but I have not explored that path. https://support.google.com/looker-studio/thread/252342730/error-when-connecting-postgresql-to-looker-studio?hl=en
optimistic-goldβ’2y ago
I tried Postgres 14, too. No luck.
extended-salmonβ’2y ago
I am also facing the same issue. I changed the JDBC URL query string ssl_mode to require and I got the error below
{"reason":23,"code":14,"reasonStr":"JDBC_BACKEND_ERROR","errorCategoryStr":"DATASET_CONFIGURATION","category":5,"uniqueErrorCode":"4660330d"},"params":{"errorId":"4660330d"}
foreign-sapphireβ’2y ago
Same. Seems likely that something changed in Looker.
@[FM] Kethiri Sundaralingam @james-fl0 I suggest opening a ticket with Google to investigate further
extended-salmonβ’2y ago
I created a ticket https://issuetracker.google.com/326508717. Please follow up if you want to add more details.
foreign-sapphireβ’2y ago
Thanks! I also commented on the issue
flat-fuchsiaOPβ’2y ago
thanks for your help!!
flat-fuchsiaOPβ’2y ago
I was able to connect using a couple of the community connectors

foreign-sapphireβ’2y ago
Fantastic! Thanks for letting us know. Sounds like the official (?) connector is borked
wise-whiteβ’2y ago
Thank you. SynchWith worked for me.
rival-blackβ’2y ago
Another workaround for this issue consists in using an IP address and setting the endpoint name in the password field (https://neon.tech/docs/connect/connection-errors#d-specify-the-endpoint-id-in-the-password-field).
Not very elegant, but it did the trick.
Neon
Connection errors - Neon Docs
This topic describes how to resolve connection errors you may encounter when using Neon. The errors covered include The endpoint ID is not specified Password authentication failed for user Couldn't co...

rival-blackβ’2y ago
I completely missed this thread, but had to work on a customer case about this today.
While reproducing this problem, I could observe that when clicking on "Authenticate", the connection always failed with .
However, based on our proxy logs, it seems that the auth request never reached our infra.
As soon as I replaced the FQDN by an IP, I saw the requests reaching our proxy server.
(But looker kept failing, for a valid reason: without EP name in the connection string, our proxy couldn't determine where to route the request. Hence the trick of setting the EP name in the password field :-p )
foreign-sapphireβ’2y ago
Awesome trick Yanic. I saw the
JDBC_HOST_NOT_REACHABLE but wasn't smart enough to try replacing the hostname with IP π¬harsh-harlequinβ’2y ago
This is strange. Just last month I got looker studio working without 'password hack' or needing to specify a specific IP: https://github.com/neondatabase/neon/issues/2321#issuecomment-1919091648. What did Google change to break it π€
Just to clarify, hardcoding the IP is not a recommended long term solution as our IP addresses are not stable and likely will change over time. Ideally google will revert whatever they changed and fix it to actually resolve the DNS again
GitHub
Connecting with Google Data Suite Β· Issue #2321 Β· neondatabase/neon
Steps to reproduce go to https://datastudio.google.com Click "Data sources" Click "+ Create" -> "Data source" Choose "PostgreSQL" (by google) Fill in Host...
harsh-harlequinβ’2y ago
I thought it might have been our rollout of ipv6 support, but it also does not work in us-east-1 which has no ipv6 support as of yet
(our DNS is a recursive resolver, so it would list the AAAA fields from the CNAME in this response)
wise-whiteβ’2y ago
Stupid question. Where do I find the IP address...? I'm on a starter plan.
foreign-sapphireβ’2y ago
@adacow on Linux or WSL you can use
dig or nslookup commands with you database's hostname. For example:
wise-whiteβ’2y ago
Thanks. I see a bunch of addresses. Would any of them do?
foreign-sapphireβ’2y ago
brother do you know how to obtain the SSL encryption to connect to looker studio? I'm stuck on that part
wise-whiteβ’2y ago
I think it's through the ca certificate mentioned above.
foreign-sapphireβ’2y ago
you right, but the problem solution was this one haha
wise-whiteβ’2y ago
I'm in the same boat π
foreign-sapphireβ’2y ago
hahah, the one by SyncWith worked wonderful for me
wise-whiteβ’2y ago
It does work but do you not see it being slow?
foreign-sapphireβ’2y ago
well it kinda is but I'm not the one to judge cus it's my first time using looker
foreign-sapphireβ’2y ago
Yep, any should do. The issue (as Conrad pointed out) is that there's no guarantee the IPs won't change. Hostname is the ideal option.
wise-whiteβ’2y ago
I couldn't get the solution to work for some reason. What buffles me: why does elephantsql work without the ssl full option?
Is there a way to test this without the SSL enforced option via Neon?
Also it works with 15.4 in elephantsql (not sure if helpful)
harsh-harlequinβ’2y ago
Neon requires SSL for all connections. Some postgres clients might default to using SSL
optimistic-goldβ’2y ago
Hey @adacow Odd. I tried it again today with the Neon hostname (not IP address as mentioned above) and the connection worked.

wise-whiteβ’2y ago
Sweet. Will try it in a bit. Which region and what version of pg?
optimistic-goldβ’2y ago
sorry, forgot to show the .pem file:

optimistic-goldβ’2y ago
I am on us-east-2. This was a Postgres 16 project.
wise-whiteβ’2y ago
Nice. Cheers for that detail.
It does work for me as well on eu-east-12 v14
Thank you @Daniel π₯
foreign-sapphireβ’2y ago
Nice! π I guess Google patched something?
exotic-emeraldβ’2y ago
We managed to get the connection work (only on pooled) and the database tables are perfectly discoverable but now the issue is that I get query issues. I don't think the connector is quering the right stuff. Has anyone had these types of problems?