[GH-ISSUE #837] Inference is stuck and not tagging anything after a while #544

Closed
opened 2026-03-02 11:50:44 +03:00 by kerem · 1 comment
Owner

Originally created by @lormayna on GitHub (Jan 5, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/837

Describe the Bug

Since few days I am experiencing that inference with OpenAI is not working anymore:
This is the error that I am getting in the logs:

2025-01-05T22:18:38.430Z info: [inference][28137] Starting an inference job for bookmark with id "ustxuql42ykrtim7sa1krix8" 2025-01-05T22:18:54.886Z error: [inference][28137] inference job failed: Error: Connection error. Error: Connection error. at OpenAI.makeRequest (/app/apps/workers/node_modules/.pnpm/openai@4.67.1_zod@3.22.4/node_modules/openai/core.js:321:19) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async OpenAIInferenceClient.inferFromText (/app/apps/workers/node_modules/.pnpm/@hoarder+shared@file+packages+shared_better-sqlite3@11.3.0/node_modules/@hoarder/shared/inference.ts:2:1964) at async inferTagsFromText (/app/apps/workers/openaiWorker.ts:6:3029) at async inferTags (/app/apps/workers/openaiWorker.ts:6:3264) at async Object.runOpenAI [as run] (/app/apps/workers/openaiWorker.ts:6:6686) at async Runner.runOnce (/app/apps/workers/node_modules/.pnpm/liteque@0.3.0_better-sqlite3@11.3.0/node_modules/liteque/dist/runner.js:2:2578)

I have disabled the adblocker and changed API key, but no luck.

Steps to Reproduce

  1. Launch the inference job for failed links
  2. Read the logs

Expected Behaviour

I am expecting that OpenAI API will work

Screenshots or Additional Context

No response

Device Details

No response

Exact Hoarder Version

v0.21.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @lormayna on GitHub (Jan 5, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/837 ### Describe the Bug Since few days I am experiencing that inference with OpenAI is not working anymore: This is the error that I am getting in the logs: `2025-01-05T22:18:38.430Z info: [inference][28137] Starting an inference job for bookmark with id "ustxuql42ykrtim7sa1krix8" 2025-01-05T22:18:54.886Z error: [inference][28137] inference job failed: Error: Connection error. Error: Connection error. at OpenAI.makeRequest (/app/apps/workers/node_modules/.pnpm/openai@4.67.1_zod@3.22.4/node_modules/openai/core.js:321:19) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async OpenAIInferenceClient.inferFromText (/app/apps/workers/node_modules/.pnpm/@hoarder+shared@file+packages+shared_better-sqlite3@11.3.0/node_modules/@hoarder/shared/inference.ts:2:1964) at async inferTagsFromText (/app/apps/workers/openaiWorker.ts:6:3029) at async inferTags (/app/apps/workers/openaiWorker.ts:6:3264) at async Object.runOpenAI [as run] (/app/apps/workers/openaiWorker.ts:6:6686) at async Runner.runOnce (/app/apps/workers/node_modules/.pnpm/liteque@0.3.0_better-sqlite3@11.3.0/node_modules/liteque/dist/runner.js:2:2578)` I have disabled the adblocker and changed API key, but no luck. ### Steps to Reproduce 1. Launch the inference job for failed links 2. Read the logs ### Expected Behaviour I am expecting that OpenAI API will work ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Hoarder Version v0.21.0 ### Have you checked the troubleshooting guide? - [X] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem closed this issue 2026-03-02 11:50:44 +03:00
Author
Owner

@calvinbui commented on GitHub (Apr 24, 2025):

@lormayna how did you fix this isue?

<!-- gh-comment-id:2827475802 --> @calvinbui commented on GitHub (Apr 24, 2025): @lormayna how did you fix this isue?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#544
No description provided.