Comments (3)
Do I need to install any additional dependencies to run flowiseai with redis?
I am accessing Redis that is hosted externally.
When I use In memory vector store I am also failing to upsert with different error (see below)
2024-04-16 13:21:32 [ERROR]: Error: Connection error.
Error: Error: Connection error.
at InMemoryVectorStore_VectorStores.upsert (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/vectorstores/InMemory/InMemoryVectorStore.js:26:27)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async buildFlow (/usr/local/lib/node_modules/flowise/dist/utils/index.js:342:37)
at async upsertVector (/usr/local/lib/node_modules/flowise/dist/utils/upsertVector.js:117:32)
at async Object.upsertVectorMiddleware (/usr/local/lib/node_modules/flowise/dist/services/vectors/index.js:6:9)
at async createInternalUpsert (/usr/local/lib/node_modules/flowise/dist/controllers/vectors/index.js:26:16)
2024-04-16 13:21:32 [ERROR]: [server]: Error: Error: Error: Connection error.
Error: Error: Error: Connection error.
at buildFlow (/usr/local/lib/node_modules/flowise/dist/utils/index.js:405:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async upsertVector (/usr/local/lib/node_modules/flowise/dist/utils/upsertVector.js:117:32)
at async Object.upsertVectorMiddleware (/usr/local/lib/node_modules/flowise/dist/services/vectors/index.js:6:9)
at async createInternalUpsert (/usr/local/lib/node_modules/flowise/dist/controllers/vectors/index.js:26:16)
I tried:
Enter container and ping the AzureOpenAi and Redis endpoints, I also tried to run test scripts for retrieving data from redis and embeddings from within the container and was successful.
Do you have any suggestion of pipeline that will let me test if the issue is with embedding or vector store?
from flowise.
Strange, you should be fine with InMemory since it doesn't make connection. Id suggest try with different vector store, then embeddings, basically divide and conquer
from flowise.
@HenryHengZJ
The Issue persists and I boiled it down to the problem with redis vector store - flowiseai implementation.
I checked here, and I believe it might be due to the timeout on the redis connection, but I am not 100% sure.
I think fix requires modification of redis module implementation in flowiseai, swapping vector store to the In-memory solved the connection problem.
Even if I dont execute any queries there error below happens.
2024-05-23 08:10:08 [ERROR]: uncaughtException: Socket closed unexpectedly
Error: Socket closed unexpectedly
at Socket.<anonymous> (/usr/local/lib/node_modules/flowise/node_modules/@redis/client/dist/lib/client/socket.js:194:118)
at Object.onceWrapper (node:events:632:26)
at Socket.emit (node:events:517:28)
at TCP.<anonymous> (node:net:350:12)
from flowise.
Related Issues (20)
- [BUG] chat text results not stable, very often is empty
- Enable to upload zip folders that contains pdf, word, ppt and extract text from that
- [FEATURE] Changing the default title bar color for the embedded wigget HOT 1
- [BUG] Credentials Not Persisting in Flowwise AI on Google Cloud Setup HOT 1
- [BUG] overrideConfig.systemMessage not overriding the original system prompt in Flowise HOT 1
- [FEATURE] Support AWS IAM role-based authentication for storage S3 bucket and components
- Error: credentialsService.createCredential - Malformed UTF-8 data
- [BUG] Bedrock model metrics are not passed to Langfuse
- [BUG] When building Langgraph agents from scratch, Using tools with Langgraph workers results in Message Stopped -> Cannot concat object and undefined HOT 4
- [Question] unable to access flowise on a remote machine.
- ssl_version issue while deploying through Docker-Compose up -d HOT 1
- Have to reload chatbot to access data from post api chain
- [BUG] Trying to upsert docs (json, tct, csv, document stores) fails leads to unhealthy server HOT 1
- Notion reader on large table times out after 30 seconds
- [FEATURE] Support AWS authentication for OpenSearch Vector Store component HOT 1
- Update Railway Button with new repo link HOT 1
- Error: Could not parse CSS stylesheet
- [BUG] Can't upload files. Please help to fix it.
- Most tools and other nodes are specific and not Independent of chat modules
- Error: 404 No thread found with id '9098ea79-1853-467b-ac1d-5485078443c1'.[BUG]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowise.