langflow
langflow copied to clipboard
GPC Shell Script - Websocket Connection Failure
I recently attempted a deployment on Google Cloud Platform (GCP) using the provided Google Cloud Shell script by @genome21. While the instance was successfully created and is accessible via a browser, I'm experiencing issues with the functionality of the tool.
Specifically, the chatbox feature is non-operational to test anything. When attempting to open the chatbox after creating or importing any kind of flow, I'm met with a persistent websocket error in the console.
WebSocket connection to 'ws://34.31.61.111:8080/chat/9d2d13fa-5fe6-4d1d-ae96-bb3922ee7c33' failed
This issue is consistently reproducible by simply creating or importing a flow and then trying to access the chatbox feature.
Pull Request #301 addresses this. There was an issue with the Nginx reverse proxy in front of Langflow serving the app. Nginx has been removed from the setup which fixes the websockets issue.
Now seeing a different error. When I tried to use the chat box, I received a "RateLimitError" in the logs, even though I did not observe any requests being sent to the OpenAI API (verified through their portal).
I have attached the logs in CSV format. Additionally, I'm unsure why the below IP mentioned in the logs is not the external IP that I am using to access the UI.
startup-script: [2023-05-16 11:40:38 +0000] [1726] [INFO] ('176.88.174.134', 64032) - "WebSocket /chat/900f3c39-8476-4321-adfc-45bd7d8991ce" [accepted]
https://docs.google.com/spreadsheets/d/1ASH4m7eLzVsCWV0yYDx040bpFAtt0p2RspWEJSpHmiI/edit?usp=sharing
It seems you are using a Vector Store. They require embeddings to function which use the OpenAIEmbeddings endpoint.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.