xcube-studio / natsurainko.fluentcore Goto Github PK
View Code? Open in Web Editor NEWAn efficient and modular library for building a Minecraft launcher 一个高效的模块化的 Minecraft 启动核心
License: MIT License
An efficient and modular library for building a Minecraft launcher 一个高效的模块化的 Minecraft 启动核心
License: MIT License
微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd微软登陆和mojang登陆gkd
在调用以下方法
var res = (StandardResponseModel)(auth.AuthenticateAsync().GetAwaiter().GetResult()).Item1;
中的“HttpHelper.HttpPostAsync”方法
using var res = await HttpHelper.HttpPostAsync($"{this.YggdrasilServerUrl}/authenticate", content);
第67行
var res = await HttpClient.SendAsync(requestMessage);
使用“HttpClient.SendAsync”这个方法会导致卡死,我尝试改成
var res = HttpClient.Send(requestMessage);
测试正常执行
System.Net.HttpListenerException
HResult=0x80004005
Message=拒绝访问。
Source=System.Net.HttpListener
StackTrace:
在 System.Net.HttpListener.AddPrefixCore(String registeredPrefix)
在 System.Net.HttpListener.AddAllPrefixes()
在 System.Net.HttpListener.Start()
在 Natsurainko.FluentCore.Extension.Windows.Module.Authenticator.MicrosoftAuthenticatorExtension.d__0.MoveNext()
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
在 MCL_Dev.ZhuYe.d__3.MoveNext() 在 C:\Users\wodes\source\repos\MCL-Dev\ZhuYe.xaml.cs 中: 第 91 行
此异常最初是在此调用堆栈中引发的:
[外部代码]
MCL_Dev.ZhuYe.startGame() (位于 ZhuYe.xaml.cs 中)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.