Skip to content

Context deadline exceeded error when searching indexes #2592

@carlosjfcasero

Description

@carlosjfcasero

Describe the bug

When running opencloud search index --all-spaces the error {"id":"go.micro.client","code":408,"detail":"context deadline exceeded","status":"Request Timeout"} appears after some time

Steps to reproduce

  1. run opencloud search index --all-spaces in container

Expected behavior

Command ends successfully.

Actual behavior

Get {"id":"go.micro.client","code":408,"detail":"context deadline exceeded","status":"Request Timeout"} error
After that, every run of command opencloud search index --all-spaces translates into log
2026-04-09T14:13:38Z ERR sharesstorageprovider: error calling ListReceivedSharesRequest: sharesstorageprovider: error calling ListReceivedSharesRequest code=Unknown end="09/Apr/2026:14:13:38 +0000" from=tcp://127.0.0.1:54594 host.name=opencloud-app-template-6c786f68bc-9lqrl line=github.com/opencloud-eu/reva/v2@v2.42.5/internal/grpc/interceptors/log/log.go:69 pkg=rgrpc service=storage-shares start="09/Apr/2026:14:13:38 +0000" time_ns=183781582 traceid=b897601d41a79b378fea4387cafc068f uri=/cs3.storage.provider.v1beta1.SpacesAPI/ListStorageSpaces user-agent=grpc-go/1.79.2

Setup

Run Opencloud in a container in kubernetes

Details

SEARCH_EXTRACTOR_TYPE=tika
SEARCH_EXTRACTOR_TIKA_TIKA_URL=http://tika.tika:9998
FRONTEND_FULL_TEXT_SEARCH_ENABLED=true

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Qualification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions