SnubaError: None: Max retries exceeded with url

I previously tried installing Sentry with Docker, but that didn’t work.
I’ve installed it manually now, and I can access the dashboard, but I’m constantly getting “internal errors”.

Sentry version is 10.0.0.

My log is filled with:

Apr 25 11:17:11 sentry-2 supervisord: sentry-worker SnubaError: None: Max retries exceeded with url: /tests/events/eventstream (Caused by None)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker 09:17:11 [ERROR] celery.worker.job: Task sentry.tasks.store.save_event[7c35a791-ed36-4695-a70a-7a22d5fbfcbe] raised unexpected: SnubaError(MaxRetryError(‘None: Max retries exceeded with url: /tests/events/eventstream (Caused by None)’,),) (data={u’hostname’: ‘celery@sentry-2’, u’name’: ‘sentry.tasks.store.save_event’, u’args’: ‘’, u’internal’: False, u’kwargs’: “{‘event_id’: u’9a3b09c9a6a045dba670ea1d48445e4b’, ‘cache_key’: u’e:9a3b09c9a6a045dba670ea1d48445e4b:1’, ‘start_time’: 1587806217.439278, ‘project_id’: 1L, ‘data’: None}”, u’id’: ‘7c35a791-ed36-4695-a70a-7a22d5fbfcbe’})
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker Traceback (most recent call last):
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/celery/app/trace.py”, line 240, in trace_task
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker R = retval = fun(*args, **kwargs)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/celery/app/trace.py”, line 438, in protected_call
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker return self.run(*args, **kwargs)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry_sdk/integrations/celery.py”, line 169, in _inner
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker reraise(*exc_info)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry_sdk/integrations/celery.py”, line 164, in _inner
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker return f(*args, **kwargs)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/tasks/base.py”, line 48, in _wrapped
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker result = func(*args, **kwargs)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/tasks/store.py”, line 660, in save_event
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker _do_save_event(cache_key, data, start_time, event_id, project_id, **kwargs)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/tasks/store.py”, line 591, in _do_save_event
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker event = manager.save(project_id, assume_normalized=True)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/event_manager.py”, line 777, in save
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker skip_consume=raw,
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/utils/services.py”, line 104, in
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker context[key] = (lambda f: lambda *a, **k: getattr(self, f)(*a, **k))(key)
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/eventstream/snuba.py”, line 261, in insert
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker skip_consume,
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/eventstream/snuba.py”, line 125, in insert
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker “skip_consume”: skip_consume,
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker File “/home/sentry/sentry_app/lib/python2.7/site-packages/sentry/eventstream/snuba.py”, line 239, in _send
Apr 25 11:17:11 sentry-2 supervisord: sentry-worker raise snuba.SnubaError(err)

Are you running all required services such as Snuba, Redis, Kafka, etc?

Could you point me to a guide on installing Snuba? I wasn’t able to find any.

Our installation guide is here: https://docs.sentry.io/server/installation/

Due to the number of services required to run, we only actively support installing through our on-premise repo which is based on Docker and Docker Compose.