Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(mssql): tell customers to re-enable the sync after an unreachable server (#111288)

Tom Owers1010dd261250
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/mssql/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/mssql/source.py
index def2368b292d..832d7d0a2a5e 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/mssql/source.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/mssql/source.py
@@ -103,7 +103,10 @@ class MSSQLSource(SQLSource[MSSQLSourceConfig], SSHTunnelMixin, ValidateDatabase
# connection attempt. On a managed instance this is a persistent connectivity issue
# (security group doesn't allow PostHog's IPs, the instance is stopped, or the
# hostname is wrong), not a momentary blip, so retrying the job won't recover it.
- "Adaptive Server is unavailable or does not exist": "Could not reach your SQL Server. Check that the server is running and reachable, and that PostHog's IP addresses are allowed through its firewall / security group.",
+ "Adaptive Server is unavailable or does not exist": (
+ "PostHog couldn't reach your SQL Server. Check that it's running and that PostHog's IP addresses "
+ "are allowed through your firewall, then re-enable the sync."
+ ),
# SQL Server error 18456 — the login was rejected (wrong username/password, or the login
# is disabled). Deterministic until the customer fixes the credentials, so retrying just
# replays the same rejection; surface the same actionable wording as the validation path