Skip to content

Application does not support Subpaths with domain name #1

@kwadroke

Description

@kwadroke

Application shuts down when using a subpath for the domain via a reverse proxy, via the instructions from here: https://gotify.net/docs/nginx#at-a-subpath. Domain is configured with SSL (port 443) at https://EXAMPLE.com/gotify

It runs fine until a message is received.

Output

INFO  [gotify_desktop] Connected to wss://EXAMPLE.com/gotify/stream
thread 'main' panicked at 'Failed to get message: HTTP status client error (404 Not Found) for url (https://EXAMPLE.com/application)', src/main.rs:21:40
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted

My ~/.config/gotify-desktop/config.toml file

[gotify]
url = "wss://EXAMPLE.com/gotify/stream"
token = "XXXXXXXXXXXX"

[notification]
min_priority = 0

Of course replace EXAMPLE.com with the correct domain, and replace the token.

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