You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing a project with Ollama and I'm getting an error that after 5 minutes the Ollama js library drops the request, and I use this same Ollama server in my own chat and it has never given this session expiration error.
Error generating article: TypeError: fetch failed
at node:internal/deps/undici/undici:13185:13
at async post (/home/paulitos/Documentos/ab-prompter/node_modules/ollama/dist/shared/ollama.9c897541.cjs:114:20)
at async Ollama.processStreamableRequest (/home/paulitos/Documentos/ab-prompter/node_modules/ollama/dist/shared/ollama.9c897541.cjs:253:22)
at async generateArticleWithLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:23:30)
at async fullArticleGeneratedByLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:67:21)
at async /home/paulitos/Documentos/ab-prompter/src/controllers/routerController.ts:46:22
at async bodyParser (/home/paulitos/Documentos/ab-prompter/node_modules/koa-bodyparser/index.js:78:5) {
[cause]: HeadersTimeoutError: Headers Timeout Error
at Timeout.onParserTimeout [as callback] (node:internal/deps/undici/undici:5995:32)
at Timeout.onTimeout [as _onTimeout] (node:internal/deps/undici/undici:2356:17)
at listOnTimeout (node:internal/timers:594:17)
at processTimers (node:internal/timers:529:7) {
code: 'UND_ERR_HEADERS_TIMEOUT'
}
}
Error generating full article: Error: fetch failed
at generateArticleWithLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:50:11)
at async fullArticleGeneratedByLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:67:21)
at async /home/paulitos/Documentos/ab-prompter/src/controllers/routerController.ts:46:22
at async bodyParser (/home/paulitos/Documentos/ab-prompter/node_modules/koa-bodyparser/index.js:78:5)
Error generating full article: Error: fetch failed
at fullArticleGeneratedByLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:79:11)
at async /home/paulitos/Documentos/ab-prompter/src/controllers/routerController.ts:46:22
at async bodyParser (/home/paulitos/Documentos/ab-prompter/node_modules/koa-bodyparser/index.js:78:5)
The text was updated successfully, but these errors were encountered:
I'm doing a project with Ollama and I'm getting an error that after 5 minutes the Ollama js library drops the request, and I use this same Ollama server in my own chat and it has never given this session expiration error.
Error generating article: TypeError: fetch failed at node:internal/deps/undici/undici:13185:13 at async post (/home/paulitos/Documentos/ab-prompter/node_modules/ollama/dist/shared/ollama.9c897541.cjs:114:20) at async Ollama.processStreamableRequest (/home/paulitos/Documentos/ab-prompter/node_modules/ollama/dist/shared/ollama.9c897541.cjs:253:22) at async generateArticleWithLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:23:30) at async fullArticleGeneratedByLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:67:21) at async /home/paulitos/Documentos/ab-prompter/src/controllers/routerController.ts:46:22 at async bodyParser (/home/paulitos/Documentos/ab-prompter/node_modules/koa-bodyparser/index.js:78:5) { [cause]: HeadersTimeoutError: Headers Timeout Error at Timeout.onParserTimeout [as callback] (node:internal/deps/undici/undici:5995:32) at Timeout.onTimeout [as _onTimeout] (node:internal/deps/undici/undici:2356:17) at listOnTimeout (node:internal/timers:594:17) at processTimers (node:internal/timers:529:7) { code: 'UND_ERR_HEADERS_TIMEOUT' } } Error generating full article: Error: fetch failed at generateArticleWithLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:50:11) at async fullArticleGeneratedByLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:67:21) at async /home/paulitos/Documentos/ab-prompter/src/controllers/routerController.ts:46:22 at async bodyParser (/home/paulitos/Documentos/ab-prompter/node_modules/koa-bodyparser/index.js:78:5) Error generating full article: Error: fetch failed at fullArticleGeneratedByLLM (/home/paulitos/Documentos/ab-prompter/src/application/articleUseCases.ts:79:11) at async /home/paulitos/Documentos/ab-prompter/src/controllers/routerController.ts:46:22 at async bodyParser (/home/paulitos/Documentos/ab-prompter/node_modules/koa-bodyparser/index.js:78:5)
The text was updated successfully, but these errors were encountered: