beszel icon indicating copy to clipboard operation
beszel copied to clipboard

[Bug]: URL in notifications is showing wrong host

Open walski opened this issue 7 months ago • 3 comments

Description

We are hosting a Beszel Hub instance, using the APP_URL env variable.

All notifications (using Shoutrrr's Mattermost service) show up with a link containing a http://localhost:8090 host.

Aside: Thanks for all your great work! 👏

Expected Behavior

When I set the APP_URL environment variable, it is used to generate links in notification messages.

Steps to Reproduce

  1. Set APP_URL to anything other than http://localhost:8090
  2. Trigger a notification (might need to use Mattermost as the Shoutrrr service)
  3. Observe a link to http://localhost:8090 in the notification message, instead of an APP_URL based host.

OS / Architecture

x86_64 (Hub)

Beszel version

0.11.1

Installation method

Other (please describe above)

Configuration

Running in a Docker container, packaged for [Cloudron](https://www.cloudron.io/). See: https://git.cloudron.io/walski/beszel-app

Hub Logs


Agent Logs


walski avatar May 22 '25 19:05 walski

Thanks, I'll look further into it.

For now just set the application URL manually in PocketBase at <your-url>/_/#/settings and let me know if that doesn't fix it.

henrygd avatar May 22 '25 23:05 henrygd

Thanks, I'll look further into it.

For now just set the application URL manually in PocketBase at <your-url>/_/#/settings and let me know if that doesn't fix it.

Tried with Telegram. The bug is still there.

Tried the workaround you posted; now it works as it should.

srdego avatar Oct 21 '25 12:10 srdego

I had the same issue. The mentioned workaround inside PocketBase worked for notifications sent using ntfy.

mzmonkey avatar Nov 15 '25 01:11 mzmonkey