SiaFoundation / renterd

A renter for Sia
https://sia.tech/software/renterd
MIT License
66 stars 19 forks source link

Renterd fails to start if pinned price conversion fails #1376

Closed ChrisSchinnerl closed 1 month ago

ChrisSchinnerl commented 2 months ago

Got this error on my node. If we can't fetch a rate we should probably just keep the prices the way they are and try again later.

2024-07-11T13:20:28Z FATAL failed to setup bus: failed to fetch exchange rate for 'usd': unexpected status code: 525

cmdntd commented 2 months ago

Yes, autopilot seems not start again after uploads failed.

  1. Autopilot just notifies that uploads failed by st (like host storage, not clear at price)
  2. It just stops forever with 100% status (not upload to network yet)
  3. If I tried to upload the same file (when I checked conditions be fine), it would keep old failed one after all. This means I must delete old one to see the new one uploaded successfully, or just see both at 100% status like above.

This is not safe for files upload, speacially in case that many files unfollowed by me. This is better if autopilot could change price on suggestion to keep uploads not failed automatically. The failed files are useless on archive, because it can not start again and I could not do any thing to re-start by it.