HelloZeroNet / HelloZeroNet/ZeroNet

Question: hanging fileWrite - verify failed - download failed

Đang mở
#1,391 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Step 1: Please describe your environment

* ZeroNet version: 0.6.2 (3408)
* Operating system: ubuntu 16.04
* Web browser: chrone
* Tor status: disabled
* Opened port: no
* Special configuration: using same certificate 1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF in the different ZeroNet clients for same site. Merger site.

### Step 2: Describe the problem:

fileWrite 44fb40d546-i.1524133183764 is hanging. New optional file. Using unix timestamp (here 1524133183764) as extension.
UI notification: This file still in sync, if you write it now, then the previous content may be lost.

Checked UI-server log. Looks like fileWrite cmd is waiting for other peers. Why?

7 download failed errors for new optional file in UI server log:
[12:19:44] WorkerManager:1W3Et1..V2Ft 185.230.124.53:22014: Verify failed: data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/44fb40d546-i.1524133183764, error: Download failed, failed peers: 0, workers: 0
[12:19:44] WorkerManager:1W3Et1..V2Ft 107.181.189.86:57108: Verify failed: data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/44fb40d546-i.1524133183764, error: Download failed, failed peers: 1, workers: 0
[12:19:44] WorkerManager:1W3Et1..V2Ft 185.230.124.51:22014: Verify failed: data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/44fb40d546-i.1524133183764, error: Download failed, failed peers: 2, workers: 0
[12:19:46] WorkerManager:1W3Et1..V2Ft 172.83.40.24:37394: Verify failed: data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/44fb40d546-i.1524133183764, error: Download failed, failed peers: 3, workers: 0
[12:20:28] WorkerManager:1W3Et1..V2Ft 192.38.140.232:0: Verify failed: data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/44fb40d546-i.1524133183764, error: Download failed, failed peers: 4, workers: 0
[12:20:36] WorkerManager:1W3Et1..V2Ft 172.83.40.24:37394: Verify failed: data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/44fb40d546-i.1524133183764, error: Download failed, failed peers: 5, workers: 1
[12:20:36] WorkerManager:1W3Et1..V2Ft 185.230.124.51:22014: Verify failed: data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/44fb40d546-i.1524133183764, error: Download failed, failed peers: 6, workers: 0

[127.0.0.1-1524135236587.log](https://github.com/HelloZeroNet/ZeroNet/files/1927999/127.0.0.1-1524135236587.log)

Update 1: repeated test with ZeroNet port open. Same problem with fileWrite and This file still in sync, if you write it now, then the previous content may be lost

Update 2: did a OK siteSign 1W3Et1D5BnqfsXfx2kSx8T61fTPz5V2Ft --inner_path data/users/1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF/content.json --remove_missing_optional --publish to "cleanup" any problems with 1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF user directory. Repeated test with ZeroNet port open. Same result.

Update 3: changed certificate to 18DbeZgtVCcLghmtzvg4Uv8uRQAwR8wnDQ (jro@zeroid.bit). No problem with this certificate.

Update 4: changed back to 1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF. Still problem with hanging fileWrite.

Update 5: edit sites.json file and removed 2 1CCiJ97XHgVeJrkbnzLgfXvYRr8QEWxnWF bad files for site 1W3Et1D5BnqfsXfx2kSx8T61fTPz5V2Ft. Restarted UI server and tested OK without hanging fileWrite cmd. So removing bad files helped .... ?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with the UI-server log entries for the hanging fileWrite and the affected optional file, then inspect the sites.json entry for site 1W3Et1D5BnqfsXfx2kSx8T61fTPz5V2Ft. Review the siteSign command and file synchronization path; done means the affected fileWrite no longer hangs and the optional file completes verification and download without the reported errors.

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

Đánh giá

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

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.