ng2-signalr
ng2-signalr copied to clipboard
Error during negotiation request, works fine with local host, but to VM, no...
using @angular 4.4.6. I've seen a couple things on stack overflow that see this as an issue with zone.js, but I figured you might know something about this.
I'm on MacOs with a Parallels VM for windows. I have a C# backend on windows running a self hosted service for the signalr. My goal is to work on the angular client on the mac side while connecting to the windows vm and it's running signalR service. I've bridged the network and can ping in each direction. I do have cors enabled on the windows side.
Note, if I'm running the angular client on the windows side/along with the C# app providing the server everything works great.
I get this error when I'm attempting an a connection from the mac side/angular to the windows side.
public partial class StartupSignalR
{
ILog _logger = LogManager.GetLogger<StartupSignalR>();
public void Configuration(IAppBuilder app)
{
_logger.Debug("starting signalR");
app.Map("/signalr", map =>
{
map.UseCors(CorsOptions.AllowAll);
var hubConfiguration = new HubConfiguration { };
hubConfiguration.EnableDetailedErrors = true;
map.RunSignalR(hubConfiguration);
});
}
}
Appreciate any help.
@jjarrell50 any update on this, I am also facing the same issue on Safari(iPad)
I'm facing too... searched everywhere. any updates?
No. Never did get it to work. I have to work on the windows side for angular to continue to progress on project.