Skip to content

[Bug] sd-server HTTP error 500 with sdcpp API endpoints #1468

@afischer-sh

Description

@afischer-sh

Git commit

When running sd-server, the sdcpp API does not work and always gives HTTP/500 errors.
Example: GET /sdcpp/v1/capabilities -> 500 Internal Server Error

OpenAI API works (e.g. GET /v1/models)
Stable Diffusion WebUI API works (e.g. GET /sdapi/v1/sd-models)

No errors in sd-server output (running with -v).

Operating System & Version

Ubuntu 24.04

GGML backends

CUDA

Command-line arguments used

./sd-server --listen-ip 0.0.0.0 --diffusion-model ... --vae ... --llm ... --verbose

Steps to reproduce

Open :1234/sdcpp/v1/capabilities

What you expected to happen

HTTP/200

What actually happened

HTTP/500

Logs / error messages / stack trace

No response

Additional context / environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions