Outbound Egress

I'm using the pg_net function to call the Google API (Gemini) from a PostgreSQL function, but the call is failing with error code Status 124 (pg_net timeout). I can't find the 'Outbound Egress' section to add the Hostname to the whitelist. I request that you allow the following Hostname for outbound traffic (Egress) in my project: generativelanguage.googleapis.com.
2 Replies
silentworks
silentworks5d ago
It's probably timing out because the API is taking too long to reply. This wouldn't not have anything to do with an whitelist.
garyaustin
garyaustin5d ago
More specifically there are no whitelists so it is not being blocked.

Did you find this page helpful?