maidsafe / safe_network

72 stars 40 forks source link

API issues with updated network continue and are not due to mobile broadband #2019

Open happybeing opened 1 month ago

happybeing commented 1 month ago

In an effort to get my app built I have moved all interactions with Autonomi network to a VPS, to bypass problems that might be being caused by my mobile broadband connection.

I've upgraded my app to build for the APIs released this Monday: safe_network branch stable (2024-07-25).

Running a combination of safe files upload and my app on the VPS has confirmed earlier problems still exist using the Autonomi network, including panics, repeated problems creating a register, and corruption of the wallet being used for uploads. So none of these issues are solely due to operation over mobile broadband.

I've collected the terminal output from two scripts below, each of which is attempting to upload files and publish metadata and a register, for one of four websites. I did succeed in publishing the first two websites, but in part by using safe files upload rather than the API to upload the website files, since that part of the API seemed particularly unreliable over mobile broadband.

The logfiles show terminal output from my app mixed with crash reports (panics in other crates), running in a loop until I terminated the script used to control the operations in each section.

Summary section 1

The following describes the process I'm using to upload three websites in the following order: 1) v0-autonomi-demo, 2) v0-dweb-blog and 3) v0-publii-dweb

Summary section 2

Based on metadata from the above, I run a script which generates a fourth website 'awe-some-sites' and uses my app to both upload the files, and do the metadata and register creation. This fails right away due to problems with the wallet caused by the failures above.

Logfiles:

Safe client version

$ safe -V
sn_cli 0.94.0

safe_network crates used to build app

# Generated using: awe-dependencies --branch stable (2024-07-25)
sn_cli = { version = "0.94.0" }
sn_client = { version = "0.109.0" }
sn_peers_acquisition = { version = "0.4.1" }
sn_registers = { version = "0.3.16" }
sn_transfers = { version = "0.18.9" }
sn_protocol = { version = "0.17.6" }