Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid event envelope #576

Open
huiali opened this issue May 16, 2023 · 1 comment
Open

invalid event envelope #576

huiali opened this issue May 16, 2023 · 1 comment

Comments

@huiali
Copy link

huiali commented May 16, 2023

Environment

What version are you running? Etc.
FROM rust:1-alpine3.16
rust version 1.71.0-nightly (7908a1d65 2023-04-17)

sentry = { version = "0.30.0", features = ["profiling","tracing","backtrace","tower"] }
sentry-actix = "0.30.0"
sentry-anyhow = "0.30.0"

actix-web = "4.0.1"

Steps to Reproduce

Initiate a request and occasionally encounter a 400 error as follows:

2023-05-16T11:42:08.461410319Z [sentry] the profile is being dropped because it contains no samples
2023-05-16T11:42:08.472916689Z [sentry] Get response: {"id":"0d760173ee684ba09f56bd2edad17a34"}
2023-05-16T11:42:08.658567898Z [sentry] Get response: {"detail":"invalid event envelope","causes":["invalid item header","unknown variant profile, expected one of event, transaction, security, attachment, form_data, raw_security, unreal_report, user_report, session, sessions, metrics, metric_bucke
ts, client_report at line 1 column 17"]}
2023-05-16T11:42:08.817842160Z [sentry] Get response: {"id":"d7a94f4273bd4b52b2879085218b1063"}
2023-05-16T11:42:13.824410048Z [sentry] the profile is being dropped because it contains no samples
2023-05-16T11:42:13.836741479Z [sentry] Get response: {"id":"99b2ad2368ea44e6be25587fc948d896"}
2023-05-16T11:42:13.877900509Z [sentry] the profile is being dropped because it contains no samples
2023-05-16T11:42:13.889481678Z

This error occurs occasionally

@Swatinem
Copy link
Member

invalid item header, unknown variant profile

That looks weird. Are you running an outdated self-hosted sentry by any chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants