Skip to content

fix: 1210 Langflow OpenSearch Ingestion AuthorizationException Issue#1939

Open
richardz403 wants to merge 1 commit into
release-0.5.1from
1210-Langflow-OpenSearch-AuthorizationException
Open

fix: 1210 Langflow OpenSearch Ingestion AuthorizationException Issue#1939
richardz403 wants to merge 1 commit into
release-0.5.1from
1210-Langflow-OpenSearch-AuthorizationException

Conversation

@richardz403

@richardz403 richardz403 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes #1210, a Langflow ingestion auth issue in non-IBM OpenRAG deployments.

Previously, Langflow ingestion requests could reach OpenSearch without explicit credentials, causing the OpenSearch component to execute searches as the anonymous user and fail with 403 security_exception during file ingestion.

This change updates Langflow header injection so that, in non-IBM mode, ingestion requests always include the configured OpenSearch basic auth globals (OPENSEARCH_USERNAME and OPENSEARCH_PASSWORD). That ensures the Langflow OpenSearch component authenticates correctly instead of falling back to anonymous access.

Fixes 403 ingestion failures caused by anonymous OpenSearch _search requests
Affects Langflow-based ingestion in non-IBM/no-auth deployments
Does not change IBM auth behavior.

@github-actions github-actions Bot added the backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) label Jun 22, 2026
@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 11c4420a-49f4-47f9-a441-73c5cbd24a3a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: Too big: expected number to be <=900000 at "reviews.tools.github-checks.timeout_ms"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 1210-Langflow-OpenSearch-AuthorizationException

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added bug 🔴 Something isn't working. and removed bug 🔴 Something isn't working. labels Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend 🔷 Issues related to backend services (OpenSearch, Langflow, APIs) bug 🔴 Something isn't working.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant