最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

flutter - Azure SignalR Service Not Working as a WebSocket Connection - Stack Overflow

programmeradmin0浏览0评论

I have an ASP.NET Core application that provides a SignalR hub for real-time notifications. I used the SignalR hub as a WebSocket endpoint with a self-hosted SignalR server. Using the WebSocket package in my Flutter web application, I could connect to the hub, receive notifications, and even test the connection using Postman.

Recently, I migrated from the self-hosted SignalR setup to Azure SignalR Service. Now, my Flutter web app and Postman can no longer connect to the same endpoint, wss://example/chat-hub. The connection fails during the handshake, and I cannot even establish a WebSocket connection using Postman.

I have followed this tutorial to migrate from self-hosted SignalR to Azure SignalR service

发布评论

评论列表(0)

  1. 暂无评论