web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

SignalR

(0) ShareShare
ReportReport
Posted on by 2

I try to implement a component witch use SignlR. I look this : https://powerapps.microsoft.com/en-us/blog/notification-control-using-powerapps-component-framework-...

 

I would used a custom SignalR server, not Azure SignalR. So I create a simple ASP.Net Core Web Site and put in Startup.cs : 

 

services.AddSignalR(hubOptions =>
{
hubOptions.EnableDetailedErrors = true;
});


app.UseCors(builder =>
{
builder
.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader();
});

 

app.UseEndpoints(endpoints =>
{
endpoints.MapHub<ch.ChatHub>("/chatHub");
});

 

The n I publish this Site on a Web server.

 

When I try to connect to my Hub, on my computer (with "npm start watch"), it works. But When I try my component in Powerapps, it doesn't work. I have this error : 

Error: Server returned handshake error: Handshake was canceled.
at HubConnection._processHandshakeResponse (webpack://pcf_tools_652ac3f36e1e4bca82eb3c1dc44e6fad/./node_modules/@microsoft/signalr/dist/esm/HubConnection.js?:639:21)
at HubConnection._processIncomingData (webpack://pcf_tools_652ac3f36e1e4bca82eb3c1dc44e6fad/./node_modules/@microsoft/signalr/dist/esm/HubConnection.js?:541:19)
at LongPollingTransport.HubConnection.connection.onreceive (webpack://pcf_tools_652ac3f36e1e4bca82eb3c1dc44e6fad/./node_modules/@microsoft/signalr/dist/esm/HubConnection.js?:72:46)
at LongPollingTransport._poll (webpack://pcf_tools_652ac3f36e1e4bca82eb3c1dc44e6fad/./node_modules/@microsoft/signalr/dist/esm/LongPollingTransport.js?:165:22)

 

I need help !!!!

I have the same question (0)
  • ACESBRON Profile Picture
    2 on at

    I try to use a Azure SignalR in place of my custom SignalR server. But I have the same problem. It looks coming from Websocket. In Chrome or Edge devtools / Networks tabs, locally or in powerapps application, I have a query with response code: 101. locally, I have data’s in messages tabs, but in power apps, nothings. Is there something to do for using Websocket in Powerapps ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard