国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.

這篇具有很好參考價值的文章主要介紹了VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

問題描述

Visual Studio 2013 Nuget(擴展和更新)無法連接網(wǎng)絡(luò)分析和解決方法A connection to the server could not be established because the following error(s) occurred:

The request was aborted: Could not create SSL/TLS secure channel.Please click here to retry the request.

由于出現(xiàn)以下錯誤,無法建立與服務(wù)器的連接:

請求被中止:無法創(chuàng)建SSL/TLS安全通道。

請單擊此處重試請求。

報錯截圖

VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.,Visual studio開發(fā),visual studio,microsoft,c#,Powered by 金山文檔

解決方案

進入Visual Studio 2013 (這里就簡稱VS2013了)后,從工具-擴展和更新(U)...,進入界面后,點擊“聯(lián)機”面板時,發(fā)現(xiàn)無法連接到 Nuget,界面上直接就提示“未能建立到服務(wù)器的連接,因為發(fā)生了以下錯誤:請求被終止:未能創(chuàng)建SSL/TLS安全通道?!边@個錯誤,詳細信息如圖所示:

VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.,Visual studio開發(fā),visual studio,microsoft,c#,Powered by 金山文檔
VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.,Visual studio開發(fā),visual studio,microsoft,c#,Powered by 金山文檔

原因:Nuget官方網(wǎng)站已經(jīng)不支持http訪問, 只支持https,但是VS2013訪問https默認使用的協(xié)議為Tls1.1,但是Nuget官方網(wǎng)站只支持Tls1.2,這是兩邊不匹配導(dǎo)致的問題。

第一步:

復(fù)制命令

[Net.ServicePointManager]::SecurityProtocol=[Net.ServicePointManager]::SecurityProtocol-bOR [Net.SecurityProtocolType]::Tls12

解決:要解決這個問題,那就要使VS2013以Tls1.3訪問Nuget的官網(wǎng),具體解決辦法為在程序包管理控制臺運行如上命令

第二步:

具體步驟如下:工具 -- 庫程序包管理器(N) -- 程序包管理器控制臺(o) -- 底部彈出控制臺輸入界面。

VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.,Visual studio開發(fā),visual studio,microsoft,c#,Powered by 金山文檔

輸入上文中解決的命令(即[Net.ServicePointManager]::SecurityProtocol=[Net.ServicePointManager]::SecurityProtocol-bOR [Net.SecurityProtocolType]::Tls12),按回車鍵,即可;

VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.,Visual studio開發(fā),visual studio,microsoft,c#,Powered by 金山文檔

再次查看擴展和更新,發(fā)現(xiàn)能正常聯(lián)網(wǎng)了,能正常訪問Nuget官方網(wǎng)站了,默認的就可以查看到很多可以下載使用的插件。

成功解決

VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.,Visual studio開發(fā),visual studio,microsoft,c#,Powered by 金山文檔

參考文獻

Visual Studio 2013 Nuget(擴展和更新)無法連接網(wǎng)絡(luò)分析和解決方法文章來源地址http://www.zghlxwxcb.cn/news/detail-516287.html

到了這里,關(guān)于VS2013報錯The request was aborted: Could not create SSL/TLS secure channel.的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c

    pip安裝報錯Could not fetch URL https://pypi.org/simple/xx/: There was a problem confirming the ssl c

    只是個記錄帖):今天使用pip指令安裝django時報錯: Could not fetch URL https://pypi.org/simple/django/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=\\\'pypi.org\\\', port=443): Max retries exceeded with url: /simple/django/ (Caused by SSLError(SSLEOFError(8, \\\'EOF occurred in violation of protocol (_ssl.c:1129)\\\'))

    2024年02月08日
    瀏覽(22)
  • uniapp報錯:request:fail abort statusCode:-1 Expected URL scheme ‘http‘ or ‘https‘ but was ‘file‘

    這個報錯的意思是請求失敗,因為URL方案不是“http”或“https”,而是“file”。 這個問題通常是由于您在使用uni-app應(yīng)用程序并嘗試從應(yīng)用程序外部使用“本地文件路徑”時發(fā)生的。在uni-app框架中,無法使用本地文件路徑,因為它不是有效的http或https網(wǎng)址。要避免這個問題,

    2024年02月03日
    瀏覽(35)
  • ubuntu20.04 安裝 Qt 后無法啟動,出現(xiàn)報錯:Could not load the Qt platform plugin “xcb” even though it was found!

    ubuntu20.04 安裝 Qt 后無法啟動,出現(xiàn)報錯:Could not load the Qt platform plugin “xcb” even though it was found!

    目錄 前言 一、Qt在Ubuntu上的安裝 1.下載Qt在線安裝程序 2.Qt在線安裝 二、Qt creator無法顯示問題解決 1.問題所在 2.問題解決 總結(jié) 本篇博文是記錄了作者在 ubuntu20.04 版本中安裝 Qt 時遇到的問題以及解決方案。其中包括了Qt在ubuntu系統(tǒng)中的安裝以及解決安裝后無法啟動Qt以及出現(xiàn)

    2024年02月03日
    瀏覽(25)
  • Warning: Could not create server TCP listening socket Cannot assign request

    Warning: Could not create server TCP listening socket Cannot assign request

    一、問題:docker部署redis時發(fā)現(xiàn)docker ps命令查看redis端口號為空 ?二、原因:在網(wǎng)上查找基本都是6379端口被占用 三、解決方法 1、先docker stop停掉redis容器 2、通過修改redis掛載在linux上的redis.conf文件,將bind 127.0.0.1ip地址放開,之前注釋掉了。 bind 127.0.0.1 這個是綁定了我們的主

    2024年02月03日
    瀏覽(36)
  • Unrecognized VM option ‘CMSParallelRemarkEnabled‘ Error: Could not create the Java Virtual Machine.

    Unrecognized VM option ‘CMSParallelRemarkEnabled‘ Error: Could not create the Java Virtual Machine.

    演示分布式事務(wù) Seata報:如下異常 Unrecognized VM option ‘CMSParallelRemarkEnabled’ Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. 錯誤原因: 1、表明在嘗試啟動 Seata Server 時遇到了 Java 虛擬機(JVM)配置的問題。具體來說,Unrecognized VM option ‘CM

    2024年04月17日
    瀏覽(28)
  • kettle 運行Spoon.bat時,顯示錯誤Could not create the java virtual machine.

    kettle 運行Spoon.bat時,顯示錯誤Could not create the java virtual machine.

    kettle 運行Spoon.bat時,顯示錯誤Could not create the java virtual machine , A fatal exception has occured.Program will exit. 可能原因:jdk版本,運行內(nèi)存不足 ?錯誤原因:并非運行內(nèi)存不足和jdk版本問題,通過查詢SpoonConsole.bat得知 Launching Spoon with console output: D:data-integrationdata-integration\\\"D:data-in

    2024年02月05日
    瀏覽(45)
  • 瀏覽器The requested URL * was not found on this server. 的解決方法

    ①apache的重寫未開啟,開啟重寫后,問題解決,方法如下: apache 打開 httpd.conf 文件 找到 #LoadModule rewrite_module modules/mod_rewrite.so 去掉前面的#號 ②找到 Directory “E:/online/webs/Apache24/htdocs” Options Indexes FollowSymLinks AllowOverride None =改為 AllowOverride All Order allow,deny Allow from all ③在項

    2024年02月12日
    瀏覽(25)
  • android studio構(gòu)建報錯Could not create task ‘:app:generateLintModuleInfo‘.

    android studio構(gòu)建報錯Could not create task ‘:app:generateLintModuleInfo‘.

    原因:創(chuàng)建一個全新項目,只導(dǎo)入了一個第三方庫。構(gòu)建時總是無法成功。 一、首先報錯The minCompileSdk (32) specified in adependency\\\'s AAR metadata 想是因為三方庫和項目配置的build.gradle不一致的原因,修改項目配置到32 二、重新構(gòu)建,未成功。報錯Could not create task \\\':app:generateLintModu

    2024年02月11日
    瀏覽(22)
  • Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred……

    Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred……

    本人使用 idea 創(chuàng)建 web 工程后,運行 tomcat 服務(wù)器時出現(xiàn)報錯: 并且 tomcat 出現(xiàn)錯誤信息: 本人嘗試更換 JDK 版本,但并沒有什么變化。最后發(fā)現(xiàn)是忘了修改 Project Structure... 中的 SDK 。 由于需要修改配置的地方較多,很容易漏掉一小步,下面整理了比較全面的需要修改的地方

    2024年02月07日
    瀏覽(24)
  • 記錄一次老服務(wù)器啟動ActiveMq時報的Could not create the Java Virtual Machine.錯誤

    記錄一次老服務(wù)器啟動ActiveMq時報的Could not create the Java Virtual Machine.錯誤

    服務(wù)器系統(tǒng)CentOS7? 1、出現(xiàn)ActiveMq服務(wù)無法連接 2、查看activemq狀態(tài) service activemq status 顯示activemq not running 3、找到ActiveMq的bin目錄,# 后臺啟動 ./activemq console 提示Could not create the Java Virtual Machine.錯誤 可以判斷是java運行環(huán)境的問題 4、再看看java版本 java -version 5、再看看activemq版

    2024年04月22日
    瀏覽(38)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包