Sporadic Duplicate entries
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
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
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di gotify/server
-
a:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
a:feature
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
a:bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
-
Session elevation duration is unbounded, and large values silently overflow to a past timestamp Apertaa:bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
-
a:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
Tutte le issue di gotify/server
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
googleapis/librarian#7670 · 2 commenti ·