Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Sporadic Duplicate entries

Đang mở
#680 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, go, nginx
Lĩnh vực
backend

Hướng nghiên cứu

Không xác định được tệp nguồn, bài kiểm thử hoặc điểm truy cập có thể tái hiện. Hãy bắt đầu bằng cách tái hiện thông báo trùng lặp với thiết lập Docker và Nginx được báo cáo, rồi so sánh các chế độ xem trên WebUI và Android. Được xem là hoàn tất khi xác định được một thông báo được lưu một lần hay hiển thị hai lần, đồng thời bao quát hành vi này bằng một bài kiểm thử hồi quy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
16k
Fork
891
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của gotify/server

Tất cả issue của gotify/server

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.