Skip to content

404 error when posting /api/generate #9

Description

@karam-ajaj

I am not sure what is happening and it is possibly from my side but I am seeing this error in the ollama service and the page is not generated

time=2025-10-15T01:09:47.645Z level=INFO source=routes.go:1481 msg="server config" env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:4096 OLLAMA_DEBUG:INFO OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://0.0.0.0:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/root/.ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[* http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_REMOTES:[ollama.com] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES: http_proxy: https_proxy: no_proxy:]"
time=2025-10-15T01:09:47.645Z level=INFO source=images.go:522 msg="total blobs: 0"
time=2025-10-15T01:09:47.645Z level=INFO source=images.go:529 msg="total unused blobs removed: 0"
time=2025-10-15T01:09:47.648Z level=INFO source=routes.go:1534 msg="Listening on [::]:11434 (version 0.12.5)"
time=2025-10-15T01:09:47.648Z level=INFO source=runner.go:80 msg="discovering available GPUs..."
time=2025-10-15T01:09:47.702Z level=INFO source=types.go:129 msg="inference compute" id=cpu library=cpu compute="" name=cpu description=cpu libdirs=ollama driver="" pci_id="" type="" total="51.8 GiB" available="35.4 GiB"
time=2025-10-15T01:09:47.702Z level=INFO source=routes.go:1575 msg="entering low vram mode" "total vram"="0 B" threshold="20.0 GiB"
[GIN] 2025/10/15 - 01:09:49 | 200 |     940.903µs |       10.0.12.4 | POST     "/api/pull"
[GIN] 2025/10/15 - 01:10:24 | 404 |     236.503µs |       10.0.12.4 | POST     "/api/generate"

Here is the endless-wiki service log

2025/10/15 01:09:49 Ensuring model 'gemma3:4b' is available at 'http://wiki_ollama:11434'
2025/10/15 01:09:49 Model 'gemma3:4b' is ready
2025/10/15 01:09:49 Starting endless wiki server on port 8080
2025/10/15 01:10:24 Generating article 'Quantum Computing' using model 'gemma3:4b' at host 'http://wiki_ollama:11434'

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