Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

"Request parse error: Invalid Header provided" error when trying to create a dump with cURL in a DO droplet #42

Description

@CaroFG

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to DO and create a droplet with the official Meilisearch image
  2. Setup the Meilisearch instance for production with the setup script
  3. Add some documents to Meilisearch:
curl \
  -X POST 'http://{address}/indexes/movies/documents?primaryKey=id' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer MASTER_KEY'  --data-binary @movies.json

Check task has succeeded:
curl 'http://{address}/tasks' -H 'Authorization: Bearer MASTER_KEY'

  1. Send a create a dump request:
curl \
  -X POST 'http://{address}/dumps' \
  -H 'Authorization: Bearer MASTER_KEY'

No response received

  1. Check logs:

[2022-12-01T12:44:00Z ERROR actix_http::h1::dispatcher] stream error: Request parse error: Invalid Header provided

Expected behavior
The request is enqueued and eventually processed. I receive a response with a taskUid

Meilisearch version:
The official Meilisearch image in DO is still using v0.29.0, I installed v0.30.0 manually. The behavior occurs with the 2 versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds investigationNeeds to take time to understand the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions