Skip to content

BUG SD1.8.0 #168

@swumagic

Description

@swumagic

*** Error executing callback app_started_callback for M:\SD\sdwebui\extensions\auto-sd-paint-ext\scripts\main.py
Traceback (most recent call last):
File "M:\SD\sdwebui\modules\script_callbacks.py", line 153, in app_started_callback
c.callback(demo, app)
File "M:\SD\sdwebui\extensions\auto-sd-paint-ext\scripts\main.py", line 43, in on_app_started
app.middleware("http")(app_encryption_middleware)
File "M:\SD\sdwebui\py310\lib\site-packages\fastapi\applications.py", line 898, in decorator
self.add_middleware(BaseHTTPMiddleware, dispatch=func)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\applications.py", line 139, in add_middleware
raise RuntimeError("Cannot add middleware after an application has started")
RuntimeError: Cannot add middleware after an application has started

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