Silvenga / unifi-udm-api-proxy

A compatibility shim to support accessing the new UnifiOs API.
MIT License
11 stars 5 forks source link

/api/bootstrap: Failed to handle request, no handlers matched the request. #8

Closed johntdyer closed 4 years ago

johntdyer commented 4 years ago

I am getting the following error w/ the latest release ...

16:56:15 root@coruscant.local unifi-udm-api-proxy master ? docker-compose logs -f --tail=1000
Attaching to unifi-udm-api-proxy_unifi-udm-api-proxy_1
unifi-udm-api-proxy_1  | info: Microsoft.Hosting.Lifetime[0]
unifi-udm-api-proxy_1  |       Now listening on: https://0.0.0.0:443
unifi-udm-api-proxy_1  | info: Microsoft.Hosting.Lifetime[0]
unifi-udm-api-proxy_1  |       Now listening on: http://0.0.0.0:80
unifi-udm-api-proxy_1  | info: Microsoft.Hosting.Lifetime[0]
unifi-udm-api-proxy_1  |       Application started. Press Ctrl+C to shut down.
unifi-udm-api-proxy_1  | info: Microsoft.Hosting.Lifetime[0]
unifi-udm-api-proxy_1  |       Hosting environment: Production
unifi-udm-api-proxy_1  | info: Microsoft.Hosting.Lifetime[0]
unifi-udm-api-proxy_1  |       Content root path: /app
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/bootstrap: Failed to handle request, no handlers matched the request.
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/events: Failed to handle request, no handlers matched the request.
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/bootstrap: Failed to handle request, no handlers matched the request.
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/events: Failed to handle request, no handlers matched the request.
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/bootstrap: Failed to handle request, no handlers matched the request.
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/events: Failed to handle request, no handlers matched the request.
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/bootstrap: Failed to handle request, no handlers matched the request.
unifi-udm-api-proxy_1  | warn: UdmApi.Proxy.FallbackMiddleware[0]
unifi-udm-api-proxy_1  |       /api/events: Failed to handle request, no handlers matched the request.

the healthcheck says its healthy

17:00:11 root@coruscant.local unifi-udm-api-proxy master ? curl -k https://localhost:5555/healthcheck             60 ↵
Healthy#                                                                                                               17:00:17 root@coruscant.local unifi-udm-api-proxy master ?

and I am not really sure how to proceed

thanks for any help you can provide

johntdyer commented 4 years ago

ok, I restarted home assistant and now its working....

guess I should have turned it off and back on again :)

Silvenga commented 4 years ago

I'm glad you got it working.

I'll eventually have a full fix via https://github.com/Silvenga/unifi-udm-api-proxy/issues/6