You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 fetch_latest_version function in the version.py file to include a try-except block around the HTTP request. This would prevent the application from crashing when it cannot reach PyPI due to the lack of an internet connection.
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.
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: