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

HTTP2 errors with ingestion #279

Open
gordallott opened this issue Jan 24, 2024 · 0 comments
Open

HTTP2 errors with ingestion #279

gordallott opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gordallott
Copy link

http2: Transport: cannot retry err [http2: Transport received Server's graceful shutdown GOAWAY] after Request.Body was written; define Request.GetBody to avoid this error

Solved by setting request.GetBody(), axiom-go would need to provide an additional ingest api, something like

client.IngestStream(ctx, "my-dataset", func() (io.ReadCloser, error) {
	return os.Open("/some/file")
})

so that the go http client can retry correctly

@lukasmalkmus lukasmalkmus self-assigned this Jan 24, 2024
@lukasmalkmus lukasmalkmus added the enhancement New feature or request label Jan 24, 2024
@lukasmalkmus lukasmalkmus added this to the v0.18.0 milestone Jan 24, 2024
@lukasmalkmus lukasmalkmus modified the milestones: v0.18.0, v0.19.0 May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants