robosats icon indicating copy to clipboard operation
robosats copied to clipboard

Display notification if a request to a coordinato fails or times out

Open KoalaSat opened this issue 4 months ago • 8 comments

Is your feature request related to a problem?

Http and WS calls fail silently.

Describe the solution you'd like

A notification should be displayed to the user to warn about the unavailability of a coordinator. This also includes WS connections.

It's also possible that Tor sometimes never closes the route and the request is never resolved. The client should control better timeouts.

KoalaSat avatar Jul 24 '25 21:07 KoalaSat

Hi. Can i take this issue?

Luquitasjeffrey avatar Aug 26 '25 02:08 Luquitasjeffrey

Hi. Can i take this issue?

Yes! Assigned

KoalaSat avatar Sep 01 '25 15:09 KoalaSat

Is this issue still open ? i would like to work on it

nikhil-nari avatar Oct 29 '25 10:10 nikhil-nari

There is no answer from @Luquitasjeffrey , I'll assign it to you @nikhil-nari

KoalaSat avatar Nov 09 '25 15:11 KoalaSat

Hi @KoalaSat ,

I explored the codebase and found the websocket folder, which seems to be the right place to implement the notification feature as it also has a onerror method which isn't implemented . Could you please confirm if this is correct? I’m new to the project and would really appreciate any guidance you can provide.

Thank you!

nikhil-nari avatar Nov 10 '25 12:11 nikhil-nari

Hi @KoalaSat ,

I explored the codebase and found the websocket folder, which seems to be the right place to implement the notification feature as it also has a onerror method which isn't implemented . Could you please confirm if this is correct? I’m new to the project and would really appreciate any guidance you can provide.

Thank you!

Thanks for checking!

Actually this is a purely fronted change. The idea is to display a Snackbar (we already do that in other places) with a generic message and coordinator's name if an axios request fails to reach its destination.

KoalaSat avatar Nov 11 '25 12:11 KoalaSat

@KoalaSat is this still open? And can I take it up?

Anthonyushie avatar Nov 30 '25 08:11 Anthonyushie

@Anthonyushie I can assign it to you now, please @nikhil-nari let us know if you had something in progress

KoalaSat avatar Dec 11 '25 11:12 KoalaSat