Skip to content

🐞 Bug: Error while sending Gotify notifications #3318

Description

@sreeramachandramurthy

Bug Description

Arcane and Gotify notification integration broken.
Unable to configure and send notifications to Gotify.

Steps To Reproduce

  1. Login as arcane administrator user
  2. Expand Settings, click on Notifications
  3. Open Gotify tab
  4. Enable Gotify checkbox and populate the following details
    1. Server Host as localhost
    2. Application Token as gtfya.OfftJoFGEPIyPOq0Z3osasxlB5PmD3xnSVLVj1NBvmM
    3. Disable TLS as checked
  5. Click on Test Provider > Simple Test Notification

Expected Behavior

A success message with the test message delivered to Gotify

Actual Behavior

Got an error message saying Failed to send test notification: Failed to send test notification: failed to send Gotify notification: failed to send Gotify message via shoutrrr: failed to build request: invalid gotify token: "gtfya.OfftJoFGEPIyPOq0Z3osasxlB5PmD3xnSVLVj1NBvmM"

Screenshots

Image

Arcane Version

v2.4.0

Installation Method

Docker Compose (Recommended)

Environment Type

Local Docker (Single instance)

Database Type

SQLite (Default)

Operating System

Linux

Docker Version

29.6.2

Browser & Version

Mozilla Firefox 152.0.6

Relevant Logs or Error Messages

Browser Network Logs

URL
http://x.x.x.x:3552/api/environments/0/notifications/test/gotify?type=simple

RESPONSE
{"$schema":"https://x.x.x.x:3552/api/schemas/ErrorModel.json","title":"Internal Server Error","status":500,"detail":"Failed to send test notification: failed to send Gotify notification: failed to send Gotify message via shoutrrr: failed to build request: invalid gotify token: \"gtfya.OfftJoFGEPIyPOq0Z3osasxlB5PmD3xnSVLVj1NBvmM\""}


Docker Logs
Jul 20 16:16:00.002 INF Job starting name=environment-health:0 schedule="0 */2 * * * *"
Jul 20 16:16:00.002 INF Job starting name=docker-client-refresh schedule="*/30 * * * * *"
Jul 20 16:16:00.004 INF Job finished name=docker-client-refresh
Jul 20 16:16:00.015 INF Job finished name=environment-health:0
Jul 20 16:16:15.330 INF Not Found request.method=GET request.host=x.x.x.x:3552 request.path=/login request.query="redirect=%2F" request.params=map[] request.route="" request.referer="" request.length=0 response.latency=24.757µs response.status=404 response.length=0 error="map[code:404 internal:<nil> message:Not Found]"
Jul 20 16:16:17.184 INF Internal Server Error request.method=POST request.host=x.x.x.x:3552 request.path=/api/environments/0/notifications/test/gotify request.query="type=simple" request.params="map[id:0 provider:gotify]" request.route=/api/environments/:id/notifications/test/:provider request.referer=http://x.x.x.x:3552/settings/notifications request.length=0 response.latency=3.957082ms response.status=500 response.length=336
Jul 20 16:16:30.002 INF Job starting name=docker-client-refresh schedule="*/30 * * * * *"
Jul 20 16:16:30.004 INF Job finished name=docker-client-refresh
Jul 20 16:17:00.004 INF Job starting name=docker-client-refresh schedule="*/30 * * * * *"
Jul 20 16:17:00.005 INF Job finished name=docker-client-refresh
Jul 20 16:17:30.005 INF Job starting name=docker-client-refresh schedule="*/30 * * * * *"

Docker Compose Configuration

services:
  arcane:
    image: ghcr.io/getarcaneapp/manager:latest
    container_name: arcane
    ports:
      - '3552:3552'
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - arcane-data:/app/data
      - /home/xxxxxx/workspace/apps:/app/data/projects
    environment:
      - APP_URL=http://localhost:3552
      - PUID=1000
      - PGID=1000
      - ENCRYPTION_KEY=<redacted>
      - JWT_SECRET=<redacted>
    restart: unless-stopped

volumes:
  arcane-data:

Environment Configuration (.env file)

Additional Context

Gotify version v3.0.0 hosted locally through docker compose

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions