You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following the example code and I've set up a Hub like so:
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.MapSignalR();
}
}
And my dev server can be reached from localhost:64726. However what do I replace in the following line?
var connection = signalr.hubConnection('http://<your-signalr-server-url>');
I have tried http://localhost:64726, http://10.0.2.2:64726 and more but all give the same result:
Error: Error during negotiation request.
Any ideas on how to connet my React Native App to SignalR?
Edit: trying to access http://10.0.2.2:64726 in the emulator browsers yields
Bad Request - Invalid Hostname
--------------------------------------------------------------------------------
HTTP Error 400. The request hostname is invalid.
The text was updated successfully, but these errors were encountered:
I'm following the example code and I've set up a Hub like so:
And my dev server can be reached from
localhost:64726
. However what do I replace in the following line?I have tried
http://localhost:64726
,http://10.0.2.2:64726
and more but all give the same result:Any ideas on how to connet my React Native App to SignalR?
Edit: trying to access
http://10.0.2.2:64726
in the emulator browsers yieldsThe text was updated successfully, but these errors were encountered: