You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit: I should add, great work with this server, very insightful, well done!
Original:
The error message FATAL: SSL/TLS required (SQLSTATE 28000) is coming from the PostgreSQL server itself, rejecting a non-SSL connection attempt.
What needs to be fixed:
The render_query_render_postgres tool in your MCP Burst server needs to ensure that when it makes requests to the Render API endpoint for database queries, it either:
Passes SSL/TLS parameters in the API request (if the Render API supports it)
The Render API backend needs to be configured to always use SSL when connecting to PostgreSQL
This is likely a limitation or bug in how the Render API's query endpoint connects to databases.
Or am I doing this wrong..?
Reacted by andrew12-forge, Drew Ipson and Nitzan Pomerantz
Thanks for the feedback! Can you share some more context of what you were trying to do when it failed? Render-managed Postgres should generally always use SSL, so not quite sure what went wrong here. More detailed logs or reproduction steps would be very helpful!
Database has a configured IP allowlist (not open to 0.0.0.0/0)
Steps to Reproduce
Configure Render MCP server with valid API credentials
Select a workspace using select_workspace
Attempt to query a Postgres database that has IP allowlist restrictions using query_render_postgres
Error Message
Error connecting to database: failed to connect to user=<redacted> database=<redacted>:
:5432 (.ohio-postgres.render.com): failed to receive message: unexpected EOF
:5432 (.ohio-postgres.render.com): server error: FATAL: SSL/TLS required (SQLSTATE 28000)
The connection attempts multiple IPs and fails with both "unexpected EOF" and "SSL/TLS required" errors.
Impact
This essentially makes the query_render_postgres tool unusable for any database with an IP allowlist configured. Since IP allowlists are a security best practice, this affects a significant portion of production databases and defeats one of the main value propositions of the Render MCP server.
Workaround
Connecting directly via psql from the command line with the same credentials works fine - SSL is negotiated automatically. This suggests the MCP server's database query tool isn't properly configuring SSL/TLS for the connection.
Additional Context
Databases open to all IPs (0.0.0.0/0) may not exhibit this issue since they might have different SSL enforcement
The issue appears specific to databases with IP allowlists configured, which enforce SSL for external connections
I am running into the same issue and it's a major blocker for us to do our day-to-day work. Consider setting up Railway in parallel or switch just to have an MCP that can read the database...
Running into the same issue. The query_render_postgres tool fails with FATAL: SSL/TLS required (SQLSTATE 28000) on every query attempt despite the database being accessible via psql with the external connection string.
The tool is read-only by design which is exactly what we want for AI-assisted database inspection, but the SSL gap makes it completely unusable against Render-managed Postgres instances. This is the primary use case for the tool.
Workaround for now: psql $DATABASE_URL from the Render shell, or externally via the PSQL Command from the dashboard.
Would love to see this fixed — first-party MCP tooling that can actually query the database would be a big unlock for agentic workflows on Render.
Still reproducing on the latest release, as of 2026-10-18.
Environment
render-mcp-server v0.3.0 (local binary, the newest tag at the time of writing)
MCP host: Claude Code CLI
Render Postgres 18, Oregon region, with an IP allowlist (not 0.0.0.0/0)
Result query_render_postgres fails with the same pair of errors reported above: failed to receive message: unexpected EOF on one address and FATAL: SSL/TLS required (SQLSTATE 28000) on the other. Other tools in the server (list_services, list_deploys, get_service) work normally with the same credentials and workspace.
One extra data point that narrows it down
From the same machine, at the same time, psql against the external connection string got all the way to the password prompt. So the client IP is on the allowlist and the network path is fine. The only difference between the two clients is the connection setup, which is consistent with the SSL theory earlier in this thread: the server rejects a non TLS startup from an allowlisted address, and the tool does not appear to retry with TLS (or to send sslmode=require).
Happy to test a build with a fix against this database if that helps.
Activity
aaijazi commentedon Oct 22, 2025
Hi,
Thanks for the feedback! Can you share some more context of what you were trying to do when it failed? Render-managed Postgres should generally always use SSL, so not quite sure what went wrong here. More detailed logs or reproduction steps would be very helpful!
deep-randhawa commentedon Jan 20, 2026
I ran into this same issue today and wanted to share reproduction details that might help.
Environment
Steps to Reproduce
Error Message
Error connecting to database: failed to connect to
user=<redacted> database=<redacted>::5432 (.ohio-postgres.render.com): failed to receive message: unexpected EOF
:5432 (.ohio-postgres.render.com): server error: FATAL: SSL/TLS required (SQLSTATE 28000)
The connection attempts multiple IPs and fails with both "unexpected EOF" and "SSL/TLS required" errors.
Impact
This essentially makes the query_render_postgres tool unusable for any database with an IP allowlist configured. Since IP allowlists are a security best practice, this affects a significant portion of production databases and defeats one of the main value propositions of the Render MCP server.
Workaround
Connecting directly via psql from the command line with the same credentials works fine - SSL is negotiated automatically. This suggests the MCP server's database query tool isn't properly configuring SSL/TLS for the connection.
Additional Context
Hope this helps with debugging!
Stop requesting all deploys for a service (#6)
andywang416 commentedon Mar 30, 2026
I am running into the same issue and it's a major blocker for us to do our day-to-day work. Consider setting up Railway in parallel or switch just to have an MCP that can read the database...
andrew12-forge commentedon Apr 21, 2026
+1
diegows commentedon Apr 24, 2026
✋
areeves9 commentedon May 4, 2026
Running into the same issue. The
query_render_postgrestool fails withFATAL: SSL/TLS required (SQLSTATE 28000)on every query attempt despite the database being accessible viapsqlwith the external connection string.The tool is read-only by design which is exactly what we want for AI-assisted database inspection, but the SSL gap makes it completely unusable against Render-managed Postgres instances. This is the primary use case for the tool.
Workaround for now:
psql $DATABASE_URLfrom the Render shell, or externally via the PSQL Command from the dashboard.Would love to see this fixed — first-party MCP tooling that can actually query the database would be a big unlock for agentic workflows on Render.
Use read permissions in GitHub workflows (#39)
bent-verbiage commentedon Jul 21, 2026
Confirmed that this is still an open issue today.
nitzpo commentedon Aug 28, 2026
Still an issue
fix(postgres): require TLS for query_render_postgres connections
timomitchel commentedon Oct 19, 2026
Still reproducing on the latest release, as of 2026-10-18.
Environment
Result
query_render_postgresfails with the same pair of errors reported above:failed to receive message: unexpected EOFon one address andFATAL: SSL/TLS required (SQLSTATE 28000)on the other. Other tools in the server (list_services,list_deploys,get_service) work normally with the same credentials and workspace.One extra data point that narrows it down
From the same machine, at the same time,
psqlagainst the external connection string got all the way to the password prompt. So the client IP is on the allowlist and the network path is fine. The only difference between the two clients is the connection setup, which is consistent with the SSL theory earlier in this thread: the server rejects a non TLS startup from an allowlisted address, and the tool does not appear to retry with TLS (or to sendsslmode=require).Happy to test a build with a fix against this database if that helps.
andywang416 commentedon Nov 23, 2026
Founder said they are working on this...
Require TLS for Render Postgres queries (#280)