threefoldtecharchive / tfgrid_dashboard

unified portal + explorer
1 stars 3 forks source link

Timeout in loading dedicate nodes table page #527

Closed A-Harby closed 1 year ago

A-Harby commented 1 year ago

Description

Mainnet, v1.2.1. Dedicate node pages take too long to load, but the problem here is that they may never finish loading and don't show any nodes. (That also doesn't happen frequently, although it occurs)

Steps to reproduce

  1. Open any account.
  2. Navigate to Dedicate page.
  3. If it loads, Navigate to the next page (keep doing until you see it loading for long time)

Logs/Alerts

image

0oM4R commented 1 year ago

I notice that too many requests happened on loading the nodes. image and the request takes long time to load, so I think we can enhance the logic of this section, I will discuss it tmw with Emad, for now I can handle the axios error by return a message error on the public IP field image

A-Harby commented 1 year ago

Verified on Devnet, v1.4.0-rc6. Tried with devnet and locally with main config (more farms and nodes), Repeated requests with remove, and error didn't reprodiuced. image