Skip to content

App cant access freshly built chromadb container #4

@johannboehme

Description

@johannboehme

When cloning this repo and following the instructions, the WebApp throws this error:

error: Error: Chroma getOrCreateCollection error: Error: TypeError: fetch failed
at Chroma.ensureCollection (file:///app/node_modules/langchain/dist/vectorstores/chroma.js:70:23)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Chroma.fromExistingCollection (file:///app/node_modules/langchain/dist/vectorstores/chroma.js:150:9)
at async handler (webpack-internal:///(api)/./pages/api/chat.ts:47:53)
at async K (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.dev.js:21:2871)
at async U.render (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.dev.js:21:3955)
at async DevServer.runApi (/app/node_modules/next/dist/server/next-server.js:598:9)
at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:269:37)
at async DevServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:810:17)
at async /app/node_modules/next/dist/server/dev/next-dev-server.js:339:20
at async Span.traceAsyncFn (/app/node_modules/next/dist/trace/trace.js:154:20)
at async DevServer.handleRequest (/app/node_modules/next/dist/server/dev/next-dev-server.js:336:24)
at async invokeRender (/app/node_modules/next/dist/server/lib/router-server.js:173:21)
at async handleRequest (/app/node_modules/next/dist/server/lib/router-server.js:350:24)
at async requestHandlerImpl (/app/node_modules/next/dist/server/lib/router-server.js:374:13)

the chomadb is running and reachable.

This behavior is new, something in the chromadb container has changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions