status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
304 stars 79 forks source link

Red banner does not show when prod.api.status.im proxy is disabled #16148

Open virginiabalducci opened 3 months ago

virginiabalducci commented 3 months ago

Bug Report

Description

When disabling prod.api.status.im proxy, the desktop app should display a red banner indicating there is a connection error. However, this does not happen.

Steps to reproduce

  1. Disable endpoint prod.api.status.im
  2. Open Status desktop app
  3. Do some transactions, change screens, change from messaging to wallet, change from prod to testnet and back to testnet, etc.

Expected behavior

Since prod.api.status.im is disabled, a red banner should display.

Actual behavior

No red banner displays.

https://github.com/user-attachments/assets/96a03ebb-f202-4e45-b27d-fa17ee0590bb

Additional Information

Related to https://github.com/status-im/status-desktop/pull/16102 https://github.com/status-im/status-desktop/issues/16142

This was tested by disabling proxy:

  1. from the terminal https://masonsklut.com/how-to-block-websites-on-your-mac-using-terminal/
  2. by using Little Snitch Network Monitor demo version

Note: For this test, these endpoints have also been blocked

rpc.grove.city
infura.io
virginiabalducci commented 3 months ago

cc @dlipicar

alaibe commented 3 months ago

@virginiabalducci could it be because there is no other call perform yet? (using cache etc) ? Do you see calls being made?

virginiabalducci commented 3 months ago

Testing is in progress, will update shortly.

virginiabalducci commented 3 months ago

the red banner is difficult to reproduce, I am disabling all the endpoints and cannot see the red banner image