-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Langflow does not start in airgapped environment despite setting DO_NOT_TRACK=true #5327
Comments
Hey @gaduffl! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together! A similar issue was previously reported where Langflow failed to start without an internet connection due to a version checking process that attempts to fetch data from PyPI. The suggested solution involves modifying the code to handle the absence of an internet connection gracefully. Specifically, you can wrap the network request in a try-except block to catch exceptions and log a warning instead of failing to start [1]. To address this issue, you might consider modifying the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu The change mentioned by you was already merged |
If the change has already been merged, ensure that you have the latest version of the code. You might need to update your local repository to include the latest changes. If the issue persists even after updating, it could be helpful to check if there are any additional configurations or environment variables that need to be set for the airgapped environment. Additionally, reviewing the logs for any other errors or warnings might provide more insight into the problem. If everything seems correct and the issue continues, consider reaching out to the maintainers for further assistance. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
HI, same behaviour - more simply : OFFLINE use isn t possible is it ? |
Still facing this issue. The traceback doesn't point back to langflow, still debugging. |
Hey all. I'll take a look at this. Thanks for the report! |
The issue you're encountering might be related to network requests made during Langflow's startup, even with If you're still facing issues, ensure you have the latest version of Langflow with these changes. Additionally, check if there are any other parts of the code or dependencies that might be making network requests during startup. For example, certain startup scripts or initialization functions might attempt network connections [2][3][4]. If the problem persists, it might be worth investigating if there are any other environment variables or configurations that could affect network behavior in an airgapped environment. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Bug Description
Langflow does not start in airgapped environment despite setting DO_NOT_TRACK=true
Also tried setting the variable in the .env file, same result.
Console input + error:
Reproduction
Steps to reproduce:
Expected behavior
Langflow should start without internet connection if DO_NOT_TRACK=true
Who can help?
No response
Operating System
Windows 10
Langflow Version
1.1.1
Python Version
3.10
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: