-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 1.0.19-post1 opens and closes loads of sockets on 127.0.0.1 on startup #4263
Comments
Hello @fanimali! I'm a bot designed to help you solve bugs, answer questions, and become a contributor. I'm here to assist you while waiting for a human maintainer. The issue you're experiencing with Langflow version 1.0.19-post1, where it repeatedly opens and closes sockets on port 7899 during startup, could be related to how Langflow manages socket connections and handles errors. Here are a few things to consider:
To address this issue, you might want to:
If these steps do not resolve the problem, further investigation into the specific error messages and the |
i found out that the langflow.db is very large:
i wil ltry to refresh it: i have truncated the vertex_build table and also added these two variables to langflow env:
and trying to start langflow again but it is still taking ages to startup and still opening and closing new sockets... |
Hey @fanimali We'll start investigating here as well. Keep the info coming and thanks for the help! |
The problem is that |
Bug Description
Installed 1.0.19-post1. Ubuntu 22.04
when starting langflow with "langflow run", it starts binding ports 7899 on localhost:
Langflow loops in this way for 10 minutes:
but even if it seems to be started, it keeps binding to the 7899 port:
after more than 20 minutes, langflow has not yet started and continues to open and close ports 7899 on localhost
Reproduction
install langflow 1.0.19-post1 on ubuntu 22 aws instance m4.4xlarge, on python 3.12.7.
run langflow for the first time and create a flow DocumentQA.
Replace the initial File plugin with a Directory plugin and read from a directory where there is a single text file.
Expected behavior
langflow should start in a matter of less than a minute and it should show the existing projects.
Who can help?
@ogabrielluiz
Operating System
Ubuntu 22.04
Langflow Version
1.0.19-post1
Python Version
3.12
Screenshot
watching netstat:

langflow tries to startup:

langflow19-post1-startup-failure.txt
Flow File
No response
The text was updated successfully, but these errors were encountered: