notifyrefreshmentsent error

オープン
#5,402 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
backend

調査の方向性

Start by following the README in the linked swarm-mobile repository and reproduce with go run main.go, then transfer a large file while collecting Bee logs. The report points to peer disconnections and payment/refresh errors but does not identify a Bee file or test to investigate. Done means explaining and resolving the instability so large uploads or downloads complete without the node crashing or peers dropping unexpectedly.

索引モデルが issue の本文から書いたものです。

説明

on hold
Context

Actively working on to run a Bee node on mobile.
To achieve this, there is a repository which hardly relies on Bee, it is bee-lite. The purpose of this repo is to expose the original Bee API to callable functions instead of using HTTP requests to the locally running Bee node.
In other words, the Android app is implemented in Native Go (using Fyne framework).
swarm-mobile
Achieved running the node in Ultra-light or Light mode.

Tried with the following RPCs it doesn't make any difference:
https://gnosis.publicnode.com
https://xdai.fairdatasociety.org

I have tried with an upgraded node with a funded Chequebook, but that also doesn't make any difference.

Problem

When running 5Mb+ uploads or downloads the log is full of errors like this:
"msg"="notifyrefreshmentsent failed to refresh" "error"="settlement allowance timestamps from peer differed from our measurement by more than 2 seconds"
"msg"="notifyrefreshmentsent failed to refresh" "error"="peer not found"
"msg"="payment failure" "error"="call issue function: connection closed (local): code: 0x0: transport error: sent go away, code: 0"
"msg"="payment failure" "error"="call issue function: stream reset: stream reset: connection closed: EOF"

On some days when the above happens to fast, all the peers get disconnected, and the Bee node crashes during transfer. On other days, the connected peers drop off around 50-60, and the download/upload succeeds.
This is the biggest problem because the node is unstable.

Expected behavior

Node should work normally like on a standard PC.

Actual behavior

Peers are disconnecting, Log is full of errors, and the download/upload sometime works sometime not.

Image [2026-03-17-success-but-nodes-drop-off.log](https://github.com/user-attachments/files/26057304/2026-03-17-success-but-nodes-drop-off.log) [2026-02-27-failure.log](https://github.com/user-attachments/files/26057305/2026-02-27-failure.log) Image
Steps to reproduce

Checkout swarm-mobile follow the Readme to startup the node with the easiest command go run main.go - I'm happy to help anytime with this! - and start a download with a Hash that belongs to a large file

主要言語
Go
スター
1.5k
フォーク
390
平均マージ
3日 2時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ethersphere/bee のほかの issue

ethersphere/bee の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。