Skip to content

[Bug]: Langflow OpenSearch AuthorizationException #1210

@danilopeixoto

Description

@danilopeixoto

OpenRAG Version

0.3.2

Deployment Method

uvx (uvx openrag)

Operating System

macOS 26.0

Python Version

3.13.0

Affected Area

Ingestion (document processing, upload, Docling)

Bug Description

I’m encountering a Langflow: AuthorizationException(403, ‘security_exception’, ‘no permissions for [indices:data/read/search] and User [name=anonymous, backend_roles=[openrag_user], requestedTenant=null]’) error when attempting to ingest files.

Steps to Reproduce

  1. uv run openrag
  2. Start services

Expected Behavior

Ingest files successfully.

Actual Behavior

Error displayed in UI toast component.

Relevant Logs

langflow          | WARNING:opensearch:POST https://opensearch:9200/test/_search?terminate_after=0 [status:403 request:0.003s]
langflow          | 2026-03-21T01:09:10.688043Z [error    ] AuthorizationException(403, 'security_exception', 'no permissions for [indices:data/read/search] and User [name=anonymous, backend_roles=[openrag_user], requestedTenant=null]')
langflow          | 2026-03-21T01:09:10.692862Z [error    ] Task OpenSearchVectorStoreComponentMultimodalMultiEmbedding-0ByE3 Run 0 failed with exception: Error building Component OpenSearch (Multi-Model Multi-Embedding): 

Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported before.
  • I have provided all the requested information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🔴 Something isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions