Replies: 2 comments
|
Anyone? How can I correct this: "Insecure Cache Algorithms" from https://js.langchain.com/docs/troubleshooting/warnings/insecure-cache-algorithm Best regards, |
|
@AlterDevi That warning comes from LangChain JS and is emitted when the default cache key hashing algorithm is used. It's a warning, not an error, and by itself it should not cause the worker job to fail. The LangChain troubleshooting page also describes it as a security recommendation for cache hashing rather than a runtime failure. :contentReference[oaicite:0]{index=0} The more important part is this: Unfortunately, the actual exception is missing from the log you posted, so it's difficult to determine the root cause. A few things I'd check:
Regarding the LangChain warning itself:
From what I can tell, I couldn't find any Flowise configuration that lets you suppress or "fix" this warning directly. It appears to originate from the underlying LangChain library, so resolving it would require Flowise (or your custom integration) to adopt the newer cache hashing mechanism once supported. At the moment, I don't see documentation indicating that users need to change anything for normal operation. Could you share a few more details?
That stack trace will likely reveal the actual cause of the failed upsertion. If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
Hello All,
I have this message trying to upsert document in document store using local embedding model.
All configured and tested ok but the flowise-worker
"The default method for hashing keys is insecure and will be replaced in a future version,
but hasn't been replaced yet as to not break existing caches. It's recommended that you use
a more secure hashing algorithm to avoid cache poisoning."
See this page for more information:
|
└> https://js.langchain.com/docs/troubleshooting/warnings/insecure-cache-algorithm
2025-10-11 18:04:40 [INFO]: [BaseQueue] Processing job 33 in flowise-queue-upsertion at 2025-10-11T18:04:40.800Z
2025-10-11 18:04:40 [ERROR]: [BaseQueue] Worker job 33 failed in queue "flowise-queue-upsertion":
How can be solved?
Thank you.
All reactions