-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
bugSomething isn't working rightSomething isn't working right
Description
Bug Description
Please describe.
If this affects the front-end, screenshots would be of great help.
LOGS
{'event': "\n You indicated your instance is behind a proxy (IS_BEHIND_PROXY env var),\n but you haven't configured any trusted proxies. See\n https://posthog.com/docs/configuring-posthog/running-behind-proxy for details.\n ", 'timestamp': '2026-02-27T14:56:29.131455Z', 'logger': 'posthog.settings.access', 'level': 'warning', 'pid': 1, 'tid': 135968570526592}
2026-02-27T14:56:30.959308Z [warning ] initialized clickhouse users: DEFAULT,API,APP [root] pid=1 tid=135968570526592
/python-runtime/lib/python3.12/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0.
"cipher": algorithms.TripleDES,
/python-runtime/lib/python3.12/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0.
"class": algorithms.TripleDES,
/python-runtime/lib/python3.12/site-packages/infi/clickhouse_orm/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__("pkg_resources").declare_namespace(__name__)
Traceback (most recent call last):
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/base/base.py", line 288, in ensure_connection
self.connect()
File "/python-runtime/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/base/base.py", line 269, in connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
connection = self.Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/psycopg/connection.py", line 98, in connect
attempts = conninfo_attempts(params)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/psycopg/_conninfo_attempts.py", line 50, in conninfo_attempts
raise e.OperationalError(str(last_exc))
psycopg.OperationalError: [Errno -3] Temporary failure in name resolution
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/code/manage.py", line 28, in <module>
main()
File "/code/manage.py", line 24, in main
execute_from_command_line(sys.argv)
File "/python-runtime/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/python-runtime/lib/python3.12/site-packages/django/core/management/__init__.py", line 416, in execute
django.setup()
File "/python-runtime/lib/python3.12/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/python-runtime/lib/python3.12/site-packages/django/apps/registry.py", line 124, in populate
app_config.ready()
File "/code/posthog/apps.py", line 81, in ready
setup_async_migrations()
File "/code/posthog/async_migrations/setup.py", line 43, in setup_async_migrations
applied_migrations = {instance.name for instance in get_all_completed_async_migrations()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/models/query.py", line 400, in __iter__
self._fetch_all()
File "/python-runtime/lib/python3.12/site-packages/django/db/models/query.py", line 1886, in _fetch_all
self._result_cache = list(self._iterable_class(self))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/models/query.py", line 93, in __iter__
results = compiler.execute_sql(
^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/models/sql/compiler.py", line 1560, in execute_sql
cursor = self.connection.cursor()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/base/base.py", line 329, in cursor
return self._cursor()
^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/base/base.py", line 305, in _cursor
self.ensure_connection()
File "/python-runtime/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/base/base.py", line 287, in ensure_connection
with self.wrap_database_errors:
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/base/base.py", line 288, in ensure_connection
self.connect()
File "/python-runtime/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/base/base.py", line 269, in connect
self.connection = self.get_new_connection(conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/django/db/backends/postgresql/base.py", line 275, in get_new_connection
connection = self.Database.connect(**conn_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/psycopg/connection.py", line 98, in connect
attempts = conninfo_attempts(params)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/python-runtime/lib/python3.12/site-packages/psycopg/_conninfo_attempts.py", line 50, in conninfo_attempts
raise e.OperationalError(str(last_exc))
django.db.utils.OperationalError: [Errno -3] Temporary failure in name resolution
exit status 1
How to reproduce
- Upgrade running this:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/upgrade-hobby)"
Additional context
DOCKER IMAGES
> docker images
caddy:latest 9068f76202c0 87.9MB 24.1MB
chrislusf/seaweedfs:4.03 d24be3bc1d6e 278MB 84.6MB
clickhouse/clickhouse-server:25.12.5.44 cacf32d68842 1.13GB 250MB
docker.redpanda.com/redpandadata/redpanda:v25.1.9 8f7e9e4c1422 650MB 192MB
elasticsearch:7.17.28 a06b03a2db8d 1.01GB 365MB
ghcr.io/posthog/posthog/capture:master 3c5e14be257d 319MB 89.5MB
ghcr.io/posthog/posthog/cyclotron-janitor:master a04bd5712999 284MB 80.6MB
ghcr.io/posthog/posthog/cymbal:master e94a3ded30e9 338MB 94.5MB
ghcr.io/posthog/posthog/feature-flags:master 47bfe981b4ec 321MB 89.8MB
ghcr.io/posthog/posthog/livestream:master e77859bcb8c0 258MB 77.2MB
ghcr.io/posthog/posthog/property-defs-rs:master 1287b5ffe328 287MB 81.5MB
minio/minio:RELEASE.2025-04-22T22-12-26Z a1ea29fa2835 250MB 64MB
postgres:15.12-alpine ef9d1517df69 391MB 109MB
posthog/posthog-node:latest 4a8e1f3213a6 2.35GB 447MB
posthog/posthog:latest fbab839fb7f0 13.6GB 3.09GB U
redis:7.2-alpine 5f8bafd0669a 60.3MB 17.3MB
temporalio/admin-tools:1.20.0 cf4fe7e103e4 623MB 175MB
temporalio/auto-setup:1.20.0 c2deeb6706ae 554MB 166MB
temporalio/ui:2.31.2 28bb3ea5a6ea 159MB 47MB
Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [x] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working rightSomething isn't working right