ZottelchenšŸ­
ZottelchenšŸ­
Explore posts from servers
WWindmill
Created by ZottelchenšŸ­ on 3/11/2024 in #help
Unable to use Assistants - (WARNING:tornado.access:404)
I seem to be unable to use the assistants. When I click the reload button nothing happens in the frontend and in the docker logs it shows this:
lsp-1 | WARNING:tornado.access:404 GET /pyright (172.19.0.5) 1.48ms
lsp-1 | WARNING:tornado.access:404 GET /ruff (172.19.0.5) 0.45ms
lsp-1 | WARNING:tornado.access:404 GET /diagnostic (172.19.0.5) 0.45ms
lsp-1 | WARNING:tornado.access:404 GET /pyright (172.19.0.5) 1.48ms
lsp-1 | WARNING:tornado.access:404 GET /ruff (172.19.0.5) 0.45ms
lsp-1 | WARNING:tornado.access:404 GET /diagnostic (172.19.0.5) 0.45ms
I am using caddy, but through https://github.com/lucaslorentz/caddy-docker-proxy. The labels are:
windmill_server:
...
labels:
caddy: "windmill.example.org"
caddy.tls.dns: "cloudflare <snip>"
caddy.tls.resolvers: 1.1.1.1
caddy.handle_path: /*
caddy.handle_path.0_reverse_proxy: "{{upstreams 8000}}"

lsp:
...
labels:
caddy: "windmill.example.org"
caddy.tls.dns: "cloudflare <snip>"
caddy.tls.resolvers: 1.1.1.1
caddy.handle_path: /ws/*
caddy.handle_path.0_reverse_proxy: "{{upstreams 3001}}"
windmill_server:
...
labels:
caddy: "windmill.example.org"
caddy.tls.dns: "cloudflare <snip>"
caddy.tls.resolvers: 1.1.1.1
caddy.handle_path: /*
caddy.handle_path.0_reverse_proxy: "{{upstreams 8000}}"

lsp:
...
labels:
caddy: "windmill.example.org"
caddy.tls.dns: "cloudflare <snip>"
caddy.tls.resolvers: 1.1.1.1
caddy.handle_path: /ws/*
caddy.handle_path.0_reverse_proxy: "{{upstreams 3001}}"
which result in the Caddyfile:
windmill.example.org {
handle_path /* {
reverse_proxy 172.19.0.13:8000
}
handle_path /ws/* {
reverse_proxy 172.19.0.12:3001
}
tls {
dns cloudflare <snip>
resolvers 1.1.1.1
}
}
windmill.example.org {
handle_path /* {
reverse_proxy 172.19.0.13:8000
}
handle_path /ws/* {
reverse_proxy 172.19.0.12:3001
}
tls {
dns cloudflare <snip>
resolvers 1.1.1.1
}
}
So to my knowledge this should work fine. What am I missing?
7 replies