min icon indicating copy to clipboard operation
min copied to clipboard

Broken DNS isn't immediately obvious

Open LordXerus opened this issue 8 months ago • 3 comments

  • **Min Version: 1.32.1 **
  • Operating system: Some outdated mixture based on EndeavourOS Linux

Background

I currently have tailscale installed my system that has a bug which occasionally causes DNS to stop responding. I have a workaround sudo systemctl restart tailscaled, however it isn't clear in Min that my DNS is broken. At first, I thought Min was broken as it was just stuck loading. Of course, now that I had this experience, I know now to debug this, but I think min-browser stuck at resolving DNS should me more obvious. Something like firefox and chrome both having 2 circles. One slow circle, and one fast circle.

Expected Behavior

It being more obvious about not being able to resolve the DNS, so I can take prompt action.

Actual Behavior

Blank screen, stuck loading. Made me confused about whether Min was broken or not. We need to somehow "blame" the internet connection, whether that's via text, or some sort of a icon... or even just different colored loading bars for the 2 different stages.

To Reproduce

Break DNS so pings don't respond. Try to load something.

LordXerus avatar Apr 17 '25 06:04 LordXerus

Do you see a progress bar on the tab at all in Min in this situation? Currently, we listen for the did-start-loading event from Electron, and if we don't get a did-stop-loading within a few seconds, we start showing a progress bar. But I'm wondering if the did-start-loading doesn't occur until after the connection is initiated; if that's the case, we probably need to modify the progress bar behavior a bit.

PalmerAL avatar Apr 20 '25 17:04 PalmerAL

I'm not sure how to cause the DNS to not respond manually.

I'll keep an eye out for this if it happens again.

LordXerus avatar Apr 20 '25 18:04 LordXerus

@PalmerAL I do see a progress bar.

Image Image

LordXerus avatar Apr 27 '25 05:04 LordXerus