danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.14k stars 3.18k forks source link

[Bug]: Error 503: Issue Uploading Vectors and Processing Files #4741

Closed jaylee2019 closed 1 hour ago

jaylee2019 commented 3 hours ago

What happened?

I'm encountering a 503 Service Unavailable error when attempting to upload vectors and process files in my application. Below is the detailed error log. BTW, I tested the OpenAI API embeddig model by curl, it works.

Steps to Reproduce

here is my RAG configuration in env RAG_OPENAI_API_KEY=sk-xxxxx EMBEDDINGS_PROVIDER=openai EMBEDDINGS_MODEL=text-embedding-3-small

What browsers are you seeing the problem on?

No response

Relevant log output

{
  "data": "",
  "headers": {
    "connection": "close",
    "content-length": "0",
    "proxy-connection": "close"
  },
  "level": "error",
  "message": "Error uploading vectors The request was made and the server responded with a status code that falls out of the range of 2xx: Request failed with status code 503. Error response data:\n",
  "status": 503
}

Screenshots

image

Code of Conduct

jaylee2019 commented 1 hour ago

Error Logs: { "data": "", "headers": { "connection": "close", "content-length": "0", "proxy-connection": "close" }, "level": "error", "message": "Error uploading vectors The request was made and the server responded with a status code that falls out of the range of 2xx: Request failed with status code 503. Error response data:\n", "status": 503 } { "level": "error", "message": "[/files] Error processing file: Request failed with status code 503", "stack": "Error: Request failed with status code 503\n at uploadVectors (/app/api/server/services/Files/VectorDB/crud.js:102:11)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async processFileUpload (/app/api/server/services/Files/process.js:366:7)\n at async /app/api/server/routes/files/files.js:230:5" }