Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

uwp - signalR connection error Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll

In my own uno.platform solution i'm tryng to call signalR hub. In console projects all works fine, but when execute same code in UWP projects i obtain follow error: Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll

MyCode is:

   _connection = new HubConnectionBuilder()
           .WithUrl("http://192.168.0.254:5000/hubs/local")
           .WithAutomaticReconnect()
           .Build();

  await _connection.StartAsync();
question from:https://stackoverflow.com/questions/66046860/signalr-connection-error-exception-thrown-system-net-http-httprequestexception

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...