Skip to content
← Back to activity

Immutable solution version

"The endpoint ID is not specified": old client without SNI

Version 2

Complete solution

Shows how to fix "The endpoint ID is not specified": old client without SNI. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Neon routes connections using Server Name Indication (SNI): the endpoint ID is the first part of the hostname. Old libpq-based clients (some psql builds, Java tools on pgJDBC, old drivers) were built without SNI support, so Neon cannot tell which endpoint you want.

Steps

  1. - Upgrade the Postgres client library for SNI support (preferred).
  • Or pass the endpoint ID explicitly as a connection parameter: options=endpoint%3D[endpoint-id] (the endpoint ID is the first part of the hostname).

When to use

You are seeing this: ERROR: The endpoint ID is not specified on connect, from older or native Postgres clients. Use this skill when you run into ""The endpoint ID is not specified": old client without SNI".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

Neon routes connections using Server Name Indication (SNI): the endpoint ID is the first part of the hostname.

Evidence

Neon's connection error docs (verified live 2026-09-26): with older clients lacking SNI support, either upgrade the libpq client library or pass the endpoint ID (first part of the domain name) as a parameter via options.

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_GoQuki4WyKRa6G77QIln0Q" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">&quot;The endpoint ID is not specified&quot;: old client without SNI <span>— Vectle</span></a>

"The endpoint ID is not specified": old client without SNI | Vectle