An unexpected error occurred是啥情况

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了An unexpected error occurred是啥情况相关的知识,希望对你有一定的参考价值。

Anunexpectederroroccurred的意思是提示信息:发生预料之外的错误。

原因:

1.开机出现unexpectederror应该是添加或删除程序这个东西有问题,也就是程序文件受损。添加或删除程序是由固定的一个文件启动,只要重新装上这个文件即可。

2.可能是Windowsxpservicepack2中的一些补丁不兼容,或者Windows记录硬件的一些文件丢失了。也可能是内存松动接触不良,或者是主板发热芯片接触不良而引起的蓝屏。很多人会重新加载来解决这个问题。(消除了硬件问题后,尝试以下操作)

解决方法:

1.个人建议去实体店维修,因为不知道具体原因。

2.开机出现Anunexpectederroroccurred应该是“添加或删除程序”这个东西有问题,也就是程序文件受损。“添加或删除程序”是由固定的一个文件启动。只要重新装上这个文件即可。

扩展资料:

开机Bios出错提示中英文对照(1)BIOSROMchecksumerror-Systemhalted中文:

1.BIOS信息在进行检查时发现错误,因此无法开机。

解释:通常是因为BIOS信息刷新不完全所造成的,重新刷新主板BIOS即可。

2.CMOSbetteryfailed中文:CMOS电池失效解释:CMOS电池已经快没电了,更换新的电池即可。

3.CMOSchecksumerror-Defaultsloaded中文:CMOS执行全部检查时发现错误,要载入系统预设值。

解释:一般来说,出现这句话都是电池快没电了,可以先换换电池试试。

参考技术A unexpected error 意外错误 双语例句 1 Communicator could not complete your request because the profile manager encountered an unexpected error. 通信器无法完成您的请求,因为简要表管理器遇到了一个意外的错误。本回答被提问者采纳

The underlying connection was closed: An unexpected error occurred on a send

操作系统是Windows Server 2003 x64 SP2,使用Framework 4.0,在使用WebClient访问某些特定的HTTPS站点时,会引发异常:


Unhandled Exception: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.

   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)

   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)

   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)

   at System.Net.ConnectStream.WriteHeaders(Boolean async)

   --- End of inner exception stack trace ---


The underlying connection was closed: An unexpected error occured on a send.

基础连接已关闭,发送时发生错误


从信息上看是ssl认证失败,此错误并不是所有https站点都出现,另外报错的站点,用浏览器或是wget一类的工具访问都正常。挑了一个报异常的网站,查看一下连接信息(用的firefox):

技术分享


使用了比较新的TLS1.2,开始怀疑操作系统不支持,于是开始翻微软网站,找到一个页面:

https://support.microsoft.com/en-us/help/948963/an-update-is-available-to-add-support-for-the-tls-rsa-with-aes-128-cbc-sha-aes128-sha-and-tls-rsa-with-aes-256-cbc-sha-aes256-sha-aes-cipher-suites-in-windows-server-2003


确认了Server 2003确实不支持,需要打个hotfix,之后再尝试就一切正常了。有遇到相同问题的同学可以参考一下。



本文出自 “兔子窝” 博客,请务必保留此出处http://boytnt.blog.51cto.com/966121/1924682

以上是关于An unexpected error occurred是啥情况的主要内容,如果未能解决你的问题,请参考以下文章

The underlying connection was closed: An unexpected error occurred on a send

An unexpected error occurred: "https://registry.npm.taobao.org/antd/download ..

[conda报错 已解决]An unexpected error has occurred. Conda has prepared the above report.

压测部署在k8s的服务时,出现{"message":"An unexpected error occurred"}错误的可能原因

An unspecified error occurred!

An error occurred (500 Error)