Hey,
it seems that is was’nt the best idea to upgrade our working sentry instance on friday afternoon, which was setup 2 month ago. We use the latest master version from the onpremise repo. After the install.sh was successfull executed, the webfrontend starts without problem, but our events aren’t process anymore. Its seems like the that kafka some how doesnt work anymore.
Find the logs attached of the relay after the docker-compose up -d
relay_1 | 2021-05-03T08:16:52Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/1001: Disconnected (after 292723ms in state UP)
relay_1 | 2021-05-03T08:16:52Z [rdkafka::client] ERROR: librdkafka: Global error: AllBrokersDown (Local: All broker connections are down): 1/1 brokers are down
relay_1 | 2021-05-03T08:16:52Z [rdkafka::client] ERROR: librdkafka: Global error: AllBrokersDown (Local: All broker connections are down): 1/1 brokers are down
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 333ms in state CONNECT)
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 333ms in state CONNECT)
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 467ms in state CONNECT)
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 467ms in state CONNECT)
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:16:53Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:16:58Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Failed to resolve 'kafka:9092': Name or service not known (after 66ms in state CONNECT)
relay_1 | 2021-05-03T08:16:58Z [rdkafka::client] ERROR: librdkafka: Global error: Resolve (Local: Host resolution failure): kafka:9092/1001: Failed to resolve 'kafka:9092': Name or service not known (after 66ms in state CONNECT)
relay_1 | 2021-05-03T08:16:59Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Failed to resolve 'kafka:9092': Name or service not known (after 240ms in state CONNECT)
relay_1 | 2021-05-03T08:16:59Z [rdkafka::client] ERROR: librdkafka: Global error: Resolve (Local: Host resolution failure): kafka:9092/1001: Failed to resolve 'kafka:9092': Name or service not known (after 240ms in state CONNECT)
relay_1 | 2021-05-03T08:17:00Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:00Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:00Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:00Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/1001: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:04Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 1ms in state CONNECT)
relay_1 | 2021-05-03T08:17:04Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 1ms in state CONNECT)
relay_1 | 2021-05-03T08:17:04Z [rdkafka::client] ERROR: librdkafka: Global error: AllBrokersDown (Local: All broker connections are down): 1/1 brokers are down
relay_1 | 2021-05-03T08:17:04Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:04Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:04Z [rdkafka::client] ERROR: librdkafka: Global error: AllBrokersDown (Local: All broker connections are down): 1/1 brokers are down
relay_1 | 2021-05-03T08:17:04Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 403 Forbidden
relay_1 | caused by: no error details
relay_1 | 2021-05-03T08:17:04Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 403 Forbidden
relay_1 | caused by: no error details
relay_1 | 2021-05-03T08:17:05Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:17:05Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:17:05Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:17:05Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT, 1 identical error(s) suppressed)
relay_1 | 2021-05-03T08:17:05Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 403 Forbidden
relay_1 | caused by: no error details
relay_1 | 2021-05-03T08:17:06Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 403 Forbidden
relay_1 | caused by: no error details
relay_1 | 2021-05-03T08:17:09Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 403 Forbidden
relay_1 | caused by: no error details
relay_1 | 2021-05-03T08:17:12Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 403 Forbidden
relay_1 | caused by: no error details
relay_1 | 2021-05-03T08:17:16Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Name or service not known (after 7ms in state CONNECT)
relay_1 | 2021-05-03T08:17:16Z [rdkafka::client] ERROR: librdkafka: Global error: Resolve (Local: Host resolution failure): kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Name or service not known (after 7ms in state CONNECT)
relay_1 | 2021-05-03T08:17:16Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Name or service not known (after 3ms in state CONNECT)
relay_1 | 2021-05-03T08:17:16Z [rdkafka::client] ERROR: librdkafka: Global error: Resolve (Local: Host resolution failure): kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Name or service not known (after 3ms in state CONNECT)
relay_1 | 2021-05-03T08:17:17Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 403 Forbidden
relay_1 | caused by: no error details
relay_1 | 2021-05-03T08:17:18Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:18Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:18Z [rdkafka::client] ERROR: librdkafka: FAIL [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused (after 0ms in state CONNECT)
relay_1 | 2021-05-03T08:17:18Z [rdkafka::client] ERROR: librdkafka: Global error: BrokerTransportFailure (Local: Broker transport failure): kafka:9092/bootstrap: Connect to ipv4#172.21.0.11:9092 failed: Connection refused
What i did, to try to fix the problem:
- I removed the volumes of kafka and so on.
- I followed the steps here https://develop.sentry.dev/self-hosted/troubleshooting/#kafka
It is important to mention that I have secured the Sentry server via SSL, but nginx and web interface works without problems.
The host also has more than enough power, 32 cores, 128gb RAM etc.
Thanks for your help!