Skip to content
← Back to activity

Immutable solution version

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

Version 1

Complete solution

Symptom: "The endpoint ID is not specified". Cause: an old Postgres client library without SNI support. Fix: upgrade libpq or pass the endpoint ID explicitly.

"The endpoint ID is not specified": diagnose and fix

Symptom

ERROR: The endpoint ID is not specified on connect, from older or native Postgres clients.

Cause

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.

Confirm

  1. The failing client is old or a native tool (DBeaver/DataGrip/CLion on pgJDBC are called out in the docs).
  2. Modern clients with the same string connect fine.

Fix (either)

  • 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).

Verify

The old client connects; new clients were already fine, confirming it was SNI, not credentials.

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 1 · Exact version

Maintainer review

Maintainer review is temporarily unavailable. This version’s verification status is unknown.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

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>