【问题标题】:Xamarin forms iOS App getting crash some times when first time for the day is open当一天的第一次打开时,Xamarin 形成 iOS 应用程序有时会崩溃
【发布时间】:2021-10-27 02:03:07
【问题描述】:

我已经使用 Xamarin Forms 构建了一个 iOS 应用程序。它已集成到 firebase crashlatins 中。所以我从几个 ios 用户那里得到了一个错误。

Non-fatal Exception: Unable to read data from the transport connection: The socket is not connected.

在 System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.ThrowException (System.Net.Sockets.SocketError 错误) 在 :0 在 System.Net.Sockets.Socket+AwaitableSocketAsyncEventArgs.GetResult (System.Int16 令牌) 在 :0 在 System.Threading.Tasks.ValueTask`1+ValueTaskSourceAsTask+c[TResult].<.cctor>b__4_0(System.Object 状态) 在 在 在 :0 在 Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancelToken) 在 :0 在 Mono.Net.Security.AsyncProtocolRequest.StartOperation (System.Threading.CancellationToken cancelToken) 在 :0 在 Mono.Net.Security.MobileAuthenticatedStream.CheckThrow (System.Boolean authSuccessCheck, System.Boolean shutdownCheck) 在 :0 在 Mono.Net.Security.MobileAuthenticatedStream.StartOperation(Mono.Net.Security.MobileAuthenticatedStream+OperationType 类型,Mono.Net.Security.AsyncProtocolRequest asyncRequest,System.Threading.CancellationToken cancelToken)

但是,我仍然不知道问题发生在哪里以及为什么会发生。有想法的人

【问题讨论】:

    标签: ios firebase xamarin.forms xamarin.ios crashlytics


    【解决方案1】:

    此错误通常表示目标计算机正在运行,但您尝试连接的服务不可用。 (它要么停止,要么崩溃,要么正忙于另一个请求。) 所以,你可能想检查你的网络或做类似的事情,你可以检查这个问题,它很好地解释了问题Unable to read data from the transport connection : An existing connection was forcibly closed by the remote host

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多