Skip to content

Unlike the ping endpoint the web UI is not easily accessible when authenticated #31

Open
@mskyttner

Description

@mskyttner

When starting a process like this:

DUCKDB_HTTPSERVER_FOREGROUND=1 DUCKDB_HTTPSERVER_DEBUG=1 duckdb -c "install httpserver from community; load httpserver; select httpserve_start('0.0.0.0', 7777, 'duck:duck');"

... it is possible to read from the $base_url/ping endpoint, so easy to check that the service is alive, nice!

But the web UI is not being served up, it reponds with "Unauthenticated" - could it be excluded from authentication since the web ui has specific settings where the base_url, user and pass can be provided anyhow (which might be nice to be able to use also when authenticating against an authenticated instance / itself)?

Also trying a url like "http://user:pass@localhost:7777" wouldn't allow access to the web ui when the httpserver runs as authenticated.

Would be supernice if this worked also when the service runs under another url base (ie something like https://some.server.tld/duckserve/ for example).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions