Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash doesn't load on startup due to failed catalog subscriptions #2219

Closed
danielcranford opened this issue Feb 5, 2024 · 5 comments · Fixed by #2253
Closed

Dash doesn't load on startup due to failed catalog subscriptions #2219

danielcranford opened this issue Feb 5, 2024 · 5 comments · Fixed by #2253
Labels
Area-Dashboard Related to the Dashboard feature Issue-Bug Something isn't working or needs investigation Priority-2 Resolution-Fix-Available Available in a release

Comments

@danielcranford
Copy link

Dev Home version

0.1001.389.0

Windows build number

10.0.22631.3007

Other software

OS Build Version: 10.0.22631.3007.amd64fre.ni_release.220506-1250
.NET Version: .NET 8.0.1

Steps to reproduce the bug

Every time I start the app it just hangs and spins loading the dashboard which simply has a single widget (the CPU widget). Unsure what the app is doing,

Expected result

Uncomplicated dash should load quickly

Actual result

Dash never loaded

Included System Information

CPU: 12th Gen Intel(R) Core(TM) i7-1265U
Physical Memory: 15.83GB (1.72GB free)
Processor Architecture: x64

Included Extensions Information

Extensions:
Microsoft.Windows.DevHome_0.1001.389.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.1000.393.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeAzureExtension_0.500.389.0_x64__8wekyb3d8bbwe
9932MartCliment.WingetUIWidgets_0.3.0.0_x64__g91dtg5srk15g

Widget Service:
MicrosoftWindows.Client.WebExperience_424.1301.40.0_x64__cw5n1h2txyewy

@danielcranford danielcranford added the Issue-Bug Something isn't working or needs investigation label Feb 5, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label Feb 5, 2024
@krschau
Copy link
Collaborator

krschau commented Feb 5, 2024

/logs

@krschau krschau added Area-Dashboard Related to the Dashboard feature Needs-Author-Feedback Original author needs to come back and respond to a comment labels Feb 5, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Status-No recent activity No activity in the past 5 days when follow ups are needed label Feb 11, 2024
@danielcranford
Copy link
Author

danielcranford commented Feb 12, 2024

Logs are attached.
DevHome_20240205-094021.zip

I was a little worried I wouldn't be able to reproduce it, but I just hit the same state. This time my dashboard has all four basic widgets (cpu, memory, network, disk) and the issue didn't occur on startup. Instead it occurred when I returned to the dashboard screen after visiting others. Here's a screenshot of my dashboard and the Dev Home process in Task Manager.

image

The screenshot appears to not have captured the spinning "loading" indicator. You will have to take my word it is there.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Team-Response and removed Needs-Author-Feedback Original author needs to come back and respond to a comment Status-No recent activity No activity in the past 5 days when follow ups are needed labels Feb 12, 2024
@danielcranford
Copy link
Author

Whoops, misunderstood where the logs were. The entire TempState is logs and I uploaded only a fraction. Here's the whole TempState directories
dev-home-azure-TempState.zip
devhome-github-TempState.zip
dev-home-TempState.zip

@krschau
Copy link
Collaborator

krschau commented Feb 12, 2024

Thanks for the logs! I was just coming here to say that I saw similar behavior but apparently mine was due to a different scenario. From your logs, it looks like Dashboard isn't recovering from this error (pasted here so I can find again easily):

ERROR: Exception in SubscribeToWidgetCatalogEvents:
System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable.

The RPC server is unavailable.

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at WinRT.EventSource`1.Subscribe(TDelegate del)
   at DevHome.Dashboard.Views.DashboardView.SubscribeToWidgetCatalogEventsAsync()

@krschau krschau added Priority-2 and removed Needs-Triage New issue that the core contributors need to triage Needs-Team-Response labels Feb 12, 2024
@krschau krschau changed the title Dash doesn't load on startup Dash doesn't load on startup due to failed catalog subscriptions Feb 12, 2024
@krschau
Copy link
Collaborator

krschau commented Feb 12, 2024

Changing the name of this one, so I can differentiate from #2252

@microsoft-github-policy-service microsoft-github-policy-service bot added the In-PR This issue has a related PR label Feb 12, 2024
@krschau krschau added Resolution-Fix-Committed Fix is checked in, but may take 3-4 weeks before it's in a release and removed In-PR This issue has a related PR labels Feb 14, 2024
@krschau krschau added this to the Dev Home v0.11 milestone Feb 14, 2024
@krschau krschau added Resolution-Fix-Available Available in a release and removed Resolution-Fix-Committed Fix is checked in, but may take 3-4 weeks before it's in a release labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Dashboard Related to the Dashboard feature Issue-Bug Something isn't working or needs investigation Priority-2 Resolution-Fix-Available Available in a release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants