Error 501: Unsupported OPTIONS Method When IDE Accesses API #2

Open
opened 2025-07-08 08:36:35 -04:00 by AtHeartEngineer · 0 comments

Originally created by @piratkin on 6/23/2025

When attempting to bind an IDE cursor via the API, this runtime error occurs:

(venv) ~/Work/ollama_proxy_server % ./run.sh
Ollama Proxy Server

🌟 Current Configuration 🌟
📁 Config File: config.ini
🗄️ Log Path: access_log.txt
👤 Users List: authorized_users.txt
🔢 Port Number: 11534
⚠️ Deactivate Security: No ✅

🔑 Authorized Users:
Starting server
Running server on port 11534
127.0.0.1 - - [23/Jun/2025 19:31:24] code 501, message Unsupported method ('OPTIONS')
127.0.0.1 - - [23/Jun/2025 19:31:24] "OPTIONS /v1/chat/completions HTTP/1.1" 501 -
*Originally created by @piratkin on 6/23/2025* When attempting to bind an IDE cursor via the API, this runtime error occurs: ``` (venv) ~/Work/ollama_proxy_server % ./run.sh Ollama Proxy Server 🌟 Current Configuration 🌟 📁 Config File: config.ini 🗄️ Log Path: access_log.txt 👤 Users List: authorized_users.txt 🔢 Port Number: 11534 ⚠️ Deactivate Security: No ✅ 🔑 Authorized Users: Starting server Running server on port 11534 127.0.0.1 - - [23/Jun/2025 19:31:24] code 501, message Unsupported method ('OPTIONS') 127.0.0.1 - - [23/Jun/2025 19:31:24] "OPTIONS /v1/chat/completions HTTP/1.1" 501 - ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/ollama_proxy_server#2