-
Notifications
You must be signed in to change notification settings - Fork 3k
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
An error has occured while fetching types (VM instance GCP) #1518
Comments
Hey there, @MS-Kinguin! Great to see you back around here, diving into the depths of Langflow. Let's crack this nut together. Based on the information you've provided, the error message "an error has occurred while fetching types" could be due to several factors. Here are some potential causes and steps to resolve the issue:
These are speculative solutions based on the provided context. For a more accurate diagnosis, it would be necessary to have access to logs, error messages in detail, and information about the deployment script and the application's dependencies. Regarding the specific dependencies and their versions required by the Langflow application, you can find them in the package.json file in the The exact command used to start the Langflow application in the deployment script is: I hope this helps! If you have any more questions or need further clarification, feel free to ask. Sources
|
I've seen on discord that it's worth to mention @genome21 who was the GCP architect that implemented it. |
Same error here: #1508 (comment) |
Found the problem: the login page tried to write a cookie but since it has the secure attribute and langflow ran on http it didn't save it, therefore the subsequent call to whoami failed (403 forbidden) because the cookie was empty. |
Describe the bug
I've been attempting to deploy Langflow on a virtual machine following the guidelines outlined in the official GitHub documentation. Despite successfully reaching the stage where Langflow appears to be running, I encounter an error (as depicted in the attached screenshot) when trying to access the application via a web browser. The issue seems unrelated to external connections, as verified by the successful deployment and accessibility of a basic HTTP server on the same environment. This issue persists across various setups, including Ubuntu 22.04, Debian 11 and 12, and I've also experimented with different versions of Langflow. Could there be an underlying problem I'm missing, or are there any additional steps I could undertake to rectify this?
Browser and Version
To Reproduce
Steps to reproduce the behavior:
https://github.com/logspace-ai/langflow/blob/dev/GCP_DEPLOYMENT.md
Screenshots
![error_langflow](https://private-user-images.githubusercontent.com/121661651/312465024-0077d696-21b7-4da3-964c-acef49282311.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MzExOTgsIm5iZiI6MTcyMDczMDg5OCwicGF0aCI6Ii8xMjE2NjE2NTEvMzEyNDY1MDI0LTAwNzdkNjk2LTIxYjctNGRhMy05NjRjLWFjZWY0OTI4MjMxMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMVQyMDQ4MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MWM0YjlhMDQ1ZjY2ODIzZmI1MzkzMzg1NWMwMmI0NTlkMTZlYzgxNGVkODAyZjdlOGQzNmI5Y2JhNGU1Y2UyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.PgN-8BxmG37wGhgGGZwQ_eoSqgy0o9pCk-1pcyRPAYQ)
Additional context
I think the deployment script is really outdated (last commit was 7 month ago) because, for example it's trying to launch lagflow with the following command:
langflow --host 0.0.0.0 --port 7860
The text was updated successfully, but these errors were encountered: