fix: Ingestion failure due to invalid Docling serve URL#1270
Open
fix: Ingestion failure due to invalid Docling serve URL#1270
Conversation
2 tasks
81dde1f to
9ee8ab5
Compare
Collaborator
|
I believe this can be a problem with the docling itself, not with passing the URL, since that should be constant |
9ee8ab5 to
c5e15d0
Compare
Collaborator
Author
|
Issue - #1139 Summary - Fixed ingestion failures caused by invalid Docling serve URL in Langflow Settings / Global Variable Updates - Updated _update_langflow_global_variables in src/api/settings.py to always set the DOCLING_SERVE_URL global variable in Langflow, independent of provider configuration - Used transform_localhost_url when setting the Docling URL to ensure container-to-container reachability Langflow File Service - Added DOCLING_SERVE_URL as an X-Langflow-Global-Var header in both the file ingest and connector (URL ingest) flows in src/services/langflow_file_service.py - Applied transform_localhost_url to the Docling URL in both ingest paths so that localhost references are correctly resolved within the container network - Minor whitespace cleanup in header construction blocks
42fbb03 to
9b3382f
Compare
Collaborator
That was what I was thinking: it would fail from the start if that was the problem. It seems like this whole issue is because of the Docling availability. We should see if we can restart Docling when it does not respond. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Summary
Settings / Global Variable Updates
Langflow File Service