Skip to content

Blazor Web Assembly (.NET 7 RC2) - Debugger crashes on VS 2022 after OIDC redirect, again #77013

Closed

Description

@robertmclaws

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Exact same issue as dotnet/aspnetcore#39301. Same bug, same triggers, same result.

Expected Behavior

I expect debugging Blaxor WebAssembly apps to be able to survive OIDC redirects.

Steps To Reproduce

See previous issue.

Exceptions (if any)

See uploaded log file.

.NET Version

7.0.100-rc.2.22477.23

Anything else?

My JsDebugger log file is attached.

visualstudio-js-debugger.txt

Activity

  1. javiercn commented on Oct 13, 2022

    @javiercn
    Member

    @robertmclaws thanks for contacting us.

    I believe we did work here recently to address this issue, but I am not sure if it made it into RC2.

    @thaystg seems the debugger is crashing here with OIDC flows in a similar way to something I believe you fixed recently.

  2. transferred this issue fromdotnet/aspnetcoreon Oct 13, 2022
  3. ghost added
    untriaged
    on Oct 13, 2022
  4. robertmclaws commented on Oct 13, 2022

    @robertmclaws
    Author

    No problem. Just an FYI on tracking this, clearing the browser cache temporarily solves the issue. But it comes back on the next OIDC expiration.

  5. added
    arch-wasm
    on Oct 13, 2022
  6. thaystg commented on Oct 14, 2022

    @thaystg
    Member

    @robertmclaws , can you tell me if you see any error in console window, where you see these messages:

    info: Microsoft.Hosting.Lifetime[14]
          Now listening on: https://localhost:5001
    info: Microsoft.Hosting.Lifetime[14]
          Now listening on: http://localhost:5000
    info: Microsoft.Hosting.Lifetime[0]
          Application started. Press Ctrl+C to shut down.
    info: Microsoft.Hosting.Lifetime[0]
          Hosting environment: Development
    

    Also can you help me to reproduce it?
    Thanks.

  7. added this to the 7.0.x milestone on Oct 15, 2022
  8. ghost removed
    untriaged
    on Oct 15, 2022
  9. robertmclaws commented on Dec 10, 2022

    @robertmclaws
    Author

    Hey folks! Just wanted to let you know that this issue is still happening in .NET 7.0 RTM.

  10. thaystg commented on Dec 12, 2022

    @thaystg
    Member

    Which exactly version of the DevServer package are you using?
    <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.0" PrivateAssets="all" />

    Can you help us to reproduce it?

  11. robertmclaws commented on Dec 16, 2022

    @robertmclaws
    Author

    I just upgraded to 7.0.1 and am no longer seeing the issue. If it crops back up I'll let you know. Thanks!

  12. ghost locked as resolved and limited conversation to collaborators on Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmarea-Debugger-mono

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions