visually see which SDL server connected to #49

Closed
opened 3 years ago by jahway603 · 13 comments
Collaborator

One has to go fishing in the logs to find whether the server they think they connected to had actually had a failed attempted.

One has to go fishing in the logs to find whether the server they think they connected to had actually had a failed attempted.

I found a way to see the server when launching the application inititally, goto terminal immediately after launching and scroll to top of terminal to see if server connected or not.

For more difficult solution, use sdl-cli.

./target/release/silentdragonlite-cli --server https://lite.nyami.org

Creating a new wallet
Lightclient connecting to https://lite.nyami.org:443/
I found a way to see the server when launching the application inititally, goto terminal immediately after launching and scroll to top of terminal to see if server connected or not. For more difficult solution, use sdl-cli. `./target/release/silentdragonlite-cli --server https://lite.nyami.org` ``` Creating a new wallet Lightclient connecting to https://lite.nyami.org:443/ ```
Collaborator

I use clear before launching SDL, so then I can close it and scroll to the very top.

I use `clear` before launching SDL, so then I can close it and scroll to the very top.
Poster
Collaborator

I found a way to see the server when launching the application inititally, goto terminal immediately after launching and scroll to top of terminal to see if server connected or not.

Yeah, I kept having to do this while testing the SDL wallet which is why I filed this issue because a normal user is not going to be able to do that and might also want confirmation that they are connected to a specific SDL server.

> I found a way to see the server when launching the application inititally, goto terminal immediately after launching and scroll to top of terminal to see if server connected or not. Yeah, I kept having to do this while testing the SDL wallet which is why I filed this issue because a normal user is not going to be able to do that and might also want confirmation that they are connected to a specific SDL server.
Owner

We could show the currently-connected SDL server in the Hushd tab, which I think is the most useful for users reporting bugs.

We could show the currently-connected SDL server in the Hushd tab, which I think is the most useful for users reporting bugs.
Owner

Currently working on this on the show_server branch

Currently working on this on the `show_server` branch
Owner

The code I am working on will show the "Current Server" as well as the "Configured Server", which is what is listed in the config file. They will be different if the configured server is down and the code automatically tried other known servers. It will also render the value of the stickyServer config option

The code I am working on will show the "Current Server" as well as the "Configured Server", which is what is listed in the config file. They will be different if the configured server is down and the code automatically tried other known servers. It will also render the value of the `stickyServer` config option
Owner

The code currently works, but I could not implement "Configured Server", only "Current Server". The internals do not keep track of a configured vs randomly chosen server, if the configured server is down, the internals choose a new server and store it in the same place as a configured server, and also sometimes writes that back out to disk.

@jahway603 @onryo @odinzu plz test if you can, show_server branch

The code currently works, but I could not implement "Configured Server", only "Current Server". The internals do not keep track of a configured vs randomly chosen server, if the configured server is down, the internals choose a new server and store it in the same place as a configured server, and also sometimes writes that back out to disk. @jahway603 @onryo @odinzu plz test if you can, `show_server` branch
Owner

To test this branch:

  • Start SDL
  • Close syncing GUI modal, if necessary
  • Switch to Hushd tab
  • The values of "Current Server" and "Sticky Server" should be rendered, even if all other things still say "Loading..."
To test this branch: * Start SDL * Close syncing GUI modal, if necessary * Switch to Hushd tab * The values of "Current Server" and "Sticky Server" should be rendered, even if all other things still say "Loading..."
Collaborator

Um, how to switch to Hushd tab? 😧
I thought it will be somewhere in "Information about Hush". @duke

Um, how to switch to Hushd tab? 😧 I thought it will be somewhere in "Information about Hush". @duke
Owner

@onryo yes, its there at the bottom. That tab is called the "hushdTab" internally, like SD

@onryo yes, its there at the bottom. That tab is called the "hushdTab" internally, like SD
Collaborator

Works well.

Works well.
Poster
Collaborator

It's looking good to me when testing.

It's looking good to me when testing.
Owner

Just merged this to dev

Just merged this to `dev`
duke closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.