Skip to content

SignalR connection issue in IIS #57437

@ringo011010

Description

@ringo011010

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

This issue happened after I publish the web application to IIS, the debug mode of localhost is work fine.
I created two browser tabs, one in normal mode and one in incognito mode, to test the SignalR connection from different people. Sometime two people can join in the same hub zone, but sometime cannot. Do you know where is the problem?

I had made a video to present the situation.

SingalR.connection.bug.in.IIS.mp4

Client Code:
image

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

8.0.204

Anything else?

ASP.NET Core version: 6
Visual Studio version: 2022

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-signalrIncludes: SignalR clients and servers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions