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

/poll requests spike when switching from self-hosted SignalR to Azure SignalR [AspNet] #1236

Closed
bjqian opened this issue Mar 9, 2021 · 2 comments

Comments

@bjqian
Copy link
Contributor

bjqian commented Mar 9, 2021

Describe the bug

Azure SignalR SDK returns 200 for SignalR path requests[ reconnect, poll... requests with valid token].
It should fail because those requests should be handled by SignalR service.

To Reproduce

  1. Use a AspNet SignalR Client to connect to a self-hosted SignalR server, setting the protocol to long-polling
  2. Stop the self-hosted SignalR server. Then the client would try reconnecting.
  3. Start the Azure SignalR app server (same host and port). Then the reconnect will succeed and the client would keep sending /signalr/poll to the server.
    poll

Further technical details

Azure SignalR SDK version <=1.7.1

@bjqian
Copy link
Contributor Author

bjqian commented Mar 9, 2021

Fix PR:
#1228

@vwxyzh
Copy link
Contributor

vwxyzh commented Mar 18, 2021

Fixed in 1.8

@vwxyzh vwxyzh closed this as completed Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants