Sporadic Duplicate entries
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
ソースファイル、テスト、または再現可能なエントリーポイントは特定されていません。まず、報告された Docker と Nginx のセットアップで重複した通知を再現し、WebUI と Android の表示を比較してください。1 つのメッセージが 1 回保存されているのか、2 回表示されているのかを特定し、その挙動をリグレッションテストでカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 16k
- フォーク
- 891
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gotify/server のほかの issue
-
Feature request: built-in MCP endpoint for sending messages from AI agents対応中かも @RedwindA が 5 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
gotify/server#1059 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
a:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
gotify/server#1055 · コメント 7 件 ·
メンテナーはふだん 2 日以内に返信
-
Session elevation duration is unbounded, and large values silently overflow to a past timestamp対応中かも @piyush295 が 12 日前に担当しました。 オープンa:bug
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
gotify/server#1051 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
a:bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
gotify/server#1047 · コメント 6 件 ·
メンテナーはふだん 2 日以内に返信
-
a:feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
prime-radiant-inc/evener#4223 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-telemetry/opentelemetry-go-compile-instrumentation#1467 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
yetone/magpie#1490 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
modelcontextprotocol/go-sdk#1367 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信