Net版本:9.0
MacBook点击Unity菜单->ET->Server Tools->Start Server(Single Process)的时候没有反应,而且点击登录的时候报错
Error: 110307
ET.RpcException: Rpc error: actorId: 1:10000001:1 request: ET.Main2NetClient_Login, response: { “_t” : “NetClient2Main_Login”, “RpcId” : 1, “Error” : 110307, “Message” : "System.Exception: http request fail: http://127.0.0.1:30300/get_router\\nSystem.Net.Http.HttpRequestException: Connection refused —> System.Net.Sockets.SocketException: Connection refused\n System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0×00110]
:0 \n — End of inner exception stack trace —\n at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0×001ac] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0×00134] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0×000a2] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0×00089] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0×000ba] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0×0017e] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at ET.Client.HttpClientHelper.Get (System.String link) [0×0004f] in E:\\UnityProject\\ET\\Unity\\Assets\\Scripts\\Hotfix\\Client\\Demo\\NetClient\\Router\\HttpClientHelper.cs" line=“15”><e623839908ea4b9cae2c6d15e9300f2c>:0 \n — End of inner exception stack trace —\n at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0×001ac] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0×00134] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask`1[TResult] creationTask) [0×000a2] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0×00089] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0×000ba] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at System.Net.Http.HttpClient.FinishSendAsyncBuffered (System.Threading.Tasks.Task`1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0×0017e] in <e623839908ea4b9cae2c6d15e9300f2c>:0 \n at ET.Client.HttpClientHelper.Get (System.String link) [0×0004f] in E:\\UnityProject\\ET\\Unity\\Assets\\Scripts\\Hotfix\\Client\\Demo\\NetClient\\Router\\HttpClientHelper.cs:15 \n ET.Client.HttpClientHelper.Get (System.String link) [0×0016d]
E:\\UnityProject\\ET\\Unity\\Assets\\Scripts\\Hotfix\\Client\\Demo\\NetClient\\Router\\HttpClientHelper.cs:21 \n ET.ETTask`1[T].GetResult () [0×00036]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:246 \n ET.Client.RouterAddressComponentSystem.GetAllRouter (ET.Client.RouterAddressComponent self) [0×0006e]
E:\\UnityProject\\ET\\Unity\\Assets\\Scripts\\Hotfix\\Client\\Demo\\NetClient\\Router\\RouterAddressComponentSystem.cs:29 \n ET.ETTask.GetResult () [0×00030]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:126 \n ET.Client.RouterAddressComponentSystem.Init (ET.Client.RouterAddressComponent self) [0×0003c]
E:\\UnityProject\\ET\\Unity\\Assets\\Scripts\\Hotfix\\Client\\Demo\\NetClient\\Router\\RouterAddressComponentSystem.cs:22 \n ET.ETTask.GetResult () [0×00030]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:126 \n ET.Client.Main2NetClient_LoginHandler.Run (ET.Scene root, ET.Main2NetClient_Login request, ET.NetClient2Main_Login response) [0×00086]
E:\\UnityProject\\ET\\Unity\\Assets\\Scripts\\Hotfix\\Client\\Demo\\NetClient\\Main2NetClient_LoginHandler.cs:19 \n ET.ETTask.GetResult () [0×00030]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:126 \n ET.MessageHandler`3[E,Request,Response].Handle (ET.Entity entity, ET.Address fromAddress, ET.MessageObject actorMessage) [0×00174]
E:\\UnityProject\\ET\\Unity\\Assets\\Scripts\\Hotfix\\Share\\Module\\Actor\\MessageHandler.cs:67 ", “PlayerId” : NumberLong(0), “Token” : null }
ET.ETTask`1[T].GetResult () [0×00036]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:246
ET.MessageSenderStruct.Wait () [0×0001b]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/Core/Fiber/Module/Actor/MessageSenderStruct.cs:39
ET.ETTask`1[T].GetResult () [0×00036]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:246
ET.ProcessInnerSenderSystem.Call (ET.ProcessInnerSender self, ET.ActorId actorId, ET.IRequest request, System.Boolean needException) [0×001d6]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs:174
ET.ETTask`1[T].GetResult () [0×00036]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:246
ET.Client.ClientSenderComponentSystem.LoginAsync (ET.Client.ClientSenderComponent self, System.String account, System.String password) [0×0015a]
E:\UnityProject\ET\Unity\Assets\Scripts\Hotfix\Client\Demo\Main\ClientSenderComponentSystem.cs:48
ET.ETTask`1[T].GetResult () [0×00036]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:246
ET.Client.LoginHelper.Login (ET.Scene root, System.String account, System.String password) [0×0008a]
E:\UnityProject\ET\Unity\Assets\Scripts\Hotfix\Client\Demo\NetClient\LoginHelper.cs:11
ET.ETTask.GetResult () [0×00030]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:126
ET.ETTask.InnerCoroutine () [0×00018]
/Users/zhoufeng/mmzhu/ET8.1-Code/Unity/Assets/Scripts/ThirdParty/ETTask/ETTask.cs:71
UnityEngine.Debug:LogError (object)
ET.UnityLogger:Error (string) (at Assets/Scripts/Loader/UnityLogger.cs:33)
ET.Log:Error (System.Exception) (at Assets/Scripts/Core/World/Module/Log/Log.cs:76)
ET.AsyncETVoidMethodBuilder:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/AsyncETVoidMethodBuilder.cs:33)
ET.ETTask/<InnerCoroutine>d__10:MoveNext () (at Assets/Scripts/ThirdParty/ETTask/ETTask.cs:71)
ET.StateMachineWrap`1<ET.ETTask/<InnerCoroutine>d__10>:Run () (at Assets/Scripts/ThirdParty/ETTask/StateMachineWrap.cs:55)
ET.ETAsyncTaskMethodBuilder:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/AsyncETTaskMethodBuilder.cs:35)
ET.Client.LoginHelper/<Login>d__0:MoveNext () (at E:/UnityProject/ET/Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/LoginHelper.cs:97)
ET.StateMachineWrap`1<ET.Client.LoginHelper/<Login>d__0>:Run () (at Assets/Scripts/ThirdParty/ETTask/StateMachineWrap.cs:55)
ET.ETTask`1<ET.NetClient2Main_Login>:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/ETTask.cs:310)
ET.ETAsyncTaskMethodBuilder`1<ET.NetClient2Main_Login>:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/AsyncETTaskMethodBuilder.cs:108)
ET.Client.ClientSenderComponentSystem/<LoginAsync>d__4:MoveNext () (at E:/UnityProject/ET/Unity/Assets/Scripts/Hotfix/Client/Demo/Main/ClientSenderComponentSystem.cs:49)
ET.StateMachineWrap`1<ET.Client.ClientSenderComponentSystem/<LoginAsync>d__4>:Run () (at Assets/Scripts/ThirdParty/ETTask/StateMachineWrap.cs:55)
ET.ETTask`1<ET.IResponse>:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/ETTask.cs:310)
ET.ETAsyncTaskMethodBuilder`1<ET.IResponse>:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/AsyncETTaskMethodBuilder.cs:108)
ET.ProcessInnerSenderSystem/<Call>d__10:MoveNext () (at Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs:184)
ET.StateMachineWrap`1<ET.ProcessInnerSenderSystem/<Call>d__10>:Run () (at Assets/Scripts/ThirdParty/ETTask/StateMachineWrap.cs:55)
ET.ETTask`1<ET.IResponse>:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/ETTask.cs:310)
ET.ETAsyncTaskMethodBuilder`1<ET.IResponse>:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/AsyncETTaskMethodBuilder.cs:108)
ET.MessageSenderStruct/<Wait>d__13:MoveNext () (at Assets/Scripts/Core/Fiber/Module/Actor/MessageSenderStruct.cs:39)
ET.StateMachineWrap`1<ET.MessageSenderStruct/<Wait>d__13>:Run () (at Assets/Scripts/ThirdParty/ETTask/StateMachineWrap.cs:55)
ET.ETTask`1<ET.IResponse>:SetException (System.Exception) (at Assets/Scripts/ThirdParty/ETTask/ETTask.cs:310)
ET.MessageSenderStruct:SetException (System.Exception) (at Assets/Scripts/Core/Fiber/Module/Actor/MessageSenderStruct.cs:34)
ET.ProcessInnerSenderSystem:Run (ET.MessageSenderStruct,ET.IResponse) (at Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs:82)
ET.ProcessInnerSenderSystem:HandleIActorResponse (ET.ProcessInnerSender,ET.IResponse) (at Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs:69)
ET.ProcessInnerSenderSystem:HandleMessage (ET.ProcessInnerSender,ET.Fiber,ET.MessageInfo&) (at Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs:42)
ET.ProcessInnerSenderSystem:Update (ET.ProcessInnerSender) (at Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs:34)
ET.ProcessInnerSenderSystem/ET_ProcessInnerSender_UpdateSystem:Update (ET.ProcessInnerSender) (at Share.SourceGenerator/ET.Generator.ETSystemGenerator/ET.ProcessInnerSenderSystem.Update.ET_ProcessInnerSender.g.cs:10)
ET.UpdateSystem`1<ET.ProcessInnerSender>:ET.IUpdateSystem.Run (ET.Entity) (at Assets/Scripts/Core/Entity/IUpdateSystem.cs:19)
ET.EntitySystem:Update () (at Assets/Scripts/Core/Fiber/EntitySystem.cs:74)
ET.Fiber:Update () (at Assets/Scripts/Core/Fiber/Fiber.cs:73)
ET.MainThreadScheduler:Update () (at Assets/Scripts/Core/World/Module/Fiber/MainThreadScheduler.cs:52)
ET.FiberManager:Update () (at Assets/Scripts/Core/World/Module/Fiber/FiberManager.cs:41)
ET.Init:Update () (at Assets/Scripts/Loader/MonoBehaviour/Init.cs:47)