Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Sporadic Duplicate entries

Aperta
#680 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, go, nginx
Ambito
backend

Direzione di ricerca

Non sono identificati file sorgente, test o punti di ingresso riproducibili. Inizia riproducendo la notifica duplicata con la configurazione Docker e Nginx indicata e confrontando le visualizzazioni WebUI e Android. Il lavoro è completato quando si determina se un messaggio viene memorizzato una volta o visualizzato due volte e il comportamento viene coperto da un test di regressione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

a:bug

Can the issue be reproduced with the latest available release? (y/n)

I don't know - I can't find a way to reproduce this but it does occur sporadically. I'm using v2.5.0

Which one is the environment gotify server is running in?

  • [x ] Docker
  • [x ] Linux machine
  • Windows machine
Docker startup command or config file here (please mask sensitive information)
  gotify:
    image: gotify/server
    restart: unless-stopped
    ports:
      - 7339:80
    environment:
      - TZ=Europe/London
    env_file: "gotify.env"
    volumes:
      - "/var/lib/gotify:/app/data"

Do you have an reverse proxy installed in front of gotify server? (Please select None if the problem can be reproduced without the presense of a reverse proxy)

  • None
  • [x ] Nginx
  • Apache
  • Caddy
Reverse proxy configuration (please mask sensitive information)
  server {
       listen 443;
       server_name me.com;
       root /var/www/local;

       ssl_certificate        /etc/ssl/acme/xxx
       ssl_certificate_key    /etc/ssl/acme/xxx

       location / {
          proxy_set_header Host $host;
          proxy_set_header X-Forwarded-Host $http_host;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header Proxy "";
          proxy_pass http://local:1234;
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection $connection_upgrade;
       }
}

On which client do you experience problems? (Select as many as you can see)

  • [x ] WebUI
  • gotify-cli
  • [ x] Android Client
  • 3rd-party API call (Please include your code)

What did you do?
Used it! I send task completion messages from Proxmox Backup Server to an app. I also send messages from a monitoring script using curl to a different app once per day.

What did you expect to see?
I expect to see a single notification in the client list for each message

What did you see instead? (Include screenshots, android logcat/request dumps if possible)
Mostly the first time the app was used there were two identical notifications where there should be one.
Occasionally at other times duplicate notifications.

Deleting one of the excess notifications removes both but you have to refresh to experience that, otherwise it looks normal i.e. it looks like it's deleted one but actually the notification is gone. It's as if there is one notification in the database but that is displayed twice. When there's a duplicate notification it appears in the web page and in android. When it's deleted it is removed from both.

Annoyingly I can't find a way to reproduce this which makes it very difficult. I report this in case others have seen this error too but blamed finger trouble and dismissed it.

I've only been using Gotify for a couple of weeks and I've seen this error about 4 times.

Lingua principale
Go
Stelle
16k
Fork
878
Merge medio
2g 10h
PR unite (30g)
4

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di gotify/server

Tutte le issue di gotify/server

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.