Open bintangkevin29 opened 1 month ago
Just to clarify, when your instance is properly ingesting errors, are you getting a crashlooping post-process-forwarder? What is the volume of your errors you're sending? You're right, this should be happening and it is abnormal behavior here.
Hi @hubertdeng123 thank you for responding. I must apologize in advance as I still new on using sentry and there's some terminology that you mentioned that I don't understand yet.
volume of your errors you're sending?
My instance is actually not live yet, I'm still testing it out so the volume is not big if that's what you're asking. I'm testing the sentry by sending dummy messages using Sentry.captureMessage()
.
are you getting a crashlooping post-process-forwarder
I'm not sure, I don't think so. But sentry-self-hosted-post-process-forwarder-errors
keep logging these even when idling (when not consuming any errors/events). I think these logs also appeared in my report above.
Please let me know if I need to provide something for the clarity of this issue
This OffsetOutOfRange
problem is a known issue, can you try the fixes suggested at https://github.com/getsentry/self-hosted/issues/2951?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Self-Hosted Version
23.3.1
CPU Architecture
x86_64
Docker Version
23.0.2
Docker Compose Version
2.17.2
Steps to Reproduce
Assume a succesfull installation of self-hosted sentry, and event logging works well. Within an hour later, it stopped logging. But whenever I generate and use a new DSN, it works again, but only for it to stop working also within an hour later. If I try using previous DSN, it still would not log.
Expected Result
Logging event works indefinitely
Actual Result
I'm not sure what to attach to identify my problem but one thing I noticed is from docker compose logs, ingest consumer won't fire on when using broken DSN
When it works:
``` sentry-self-hosted-nginx-1 | 2024-05-29T03:49:06.604566923Z 10.0.38.160 - - [29/May/2024:03:49:06 +0000] "POST /api/1/envelope/?sentry_key=1b5ea24aaa79475ca0fc4935be2c9500&sentry_version=7 HTTP/1.0" 200 2 "http://localhost:3000/" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1" "-" sentry-self-hosted-nginx-1 | 2024-05-29T03:49:06.621564590Z 10.0.38.161 - - [29/May/2024:03:49:06 +0000] "POST /api/1/envelope/?sentry_key=1b5ea24aaa79475ca0fc4935be2c9500&sentry_version=7 HTTP/1.0" 200 2 "http://localhost:3000/" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1" "-" sentry-self-hosted-nginx-1 | 2024-05-29T03:49:06.640194703Z 2024/05/29 03:49:06 [warn] 23#23: *2425 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000463, client: 10.0.38.158, server: , request: "POST /api/1/store/?sentry_key=1b5ea24aaa79475ca0fc4935be2c9500&sentry_version=7 HTTP/1.0", host: "10.0.38.186:9000", referrer: "http://localhost:3000/" sentry-self-hosted-nginx-1 | 2024-05-29T03:49:06.645601628Z 10.0.38.158 - - [29/May/2024:03:49:06 +0000] "POST /api/1/store/?sentry_key=1b5ea24aaa79475ca0fc4935be2c9500&sentry_version=7 HTTP/1.0" 200 41 "http://localhost:3000/" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1" "-" sentry-self-hosted-nginx-1 | 2024-05-29T03:49:06.664153144Z 10.0.38.159 - - [29/May/2024:03:49:06 +0000] "POST /api/1/envelope/?sentry_key=1b5ea24aaa79475ca0fc4935be2c9500&sentry_version=7 HTTP/1.0" 200 2 "http://localhost:3000/" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1" "-" sentry-self-hosted-nginx-1 | 2024-05-29T03:49:06.688075136Z 2024/05/29 03:49:06 [warn] 23#23: *2429 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000464, client: 10.0.38.160, server: , request: "POST /api/1/store/?sentry_key=1b5ea24aaa79475ca0fc4935be2c9500&sentry_version=7 HTTP/1.0", host: "10.0.38.186:9000", referrer: "http://localhost:3000/" sentry-self-hosted-nginx-1 | 2024-05-29T03:49:06.692642337Z 10.0.38.160 - - [29/May/2024:03:49:06 +0000] "POST /api/1/store/?sentry_key=1b5ea24aaa79475ca0fc4935be2c9500&sentry_version=7 HTTP/1.0" 200 41 "http://localhost:3000/" "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1" "-" sentry-self-hosted-ingest-consumer-1 | 2024-05-29T03:49:07.701018092Z 03:49:07 [INFO] sentry.batching-kafka-consumer: Flushing 2 items (from {('ingest-events', 0): [1763, 1764]}): forced:False size:False time:True sentry-self-hosted-ingest-consumer-1 | 2024-05-29T03:49:07.733312017Z 03:49:07 [INFO] sentry.batching-kafka-consumer: Worker flush took 32ms sentry-self-hosted-clickhouse-1 | 2024-05-29T03:49:07.824884556Z 2024.05.29 03:49:07.823321 [ 87 ] {d7efba4d-1231-4fce-9e86-dbcb5a895f01}When it's not working: Stops at nginx, then nothing![image](https://github.com/getsentry/self-hosted/assets/42114714/ec3e7fb9-8b92-4413-b3bc-eaa668a483cd)
Event ID
No response