-Aaron-Lee/WiFi_Kit_series/releases/download/v3.3.0/package_heltec_esp32_index.json”: dial tcp 192.168.1.106:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond解决Arduino IDE 2.0无法安装Heltec ESP32板卡库的Error:2 UNKNOWN

这里写自定义目录标题

  • 一、问题描述:
  • 二、问题解决
  • 1、https://github.com访问问题,需要设置VPN获取网站访问权限。
  • 2、针对IDE错误信息:Error: 2 UNKNOWN: Get "https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/esp32-0.0.7.zip"
  • 一、问题描述:

    为了在arduino IDE 2.0下使用heltec esp32 wifi板,需要给IDE环境安装board库及library库 ,首先需要去heltec的对应板卡下官方文档查找附加板卡的URLs地址。
    如下为heltec的文档:
    https://docs.heltec.org/en/node/esp32/quick_start.html#via-arduino-board-manager


    在IDE输入 ESP32 package URL: https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/package_heltec_esp32_index.json

    在boards manger选择heltec esp32安装失败。
    Arduino IDE 2.0报错截图
    上图为报错截图
    arduino ide 2.0报错信息:
    Downloading packages
    Failed to install platform: Heltec-esp32:esp32.
    Error: 2 UNKNOWN: Get “https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/esp32-0.0.7.zip”: read tcp 10.2.61.106:59929->20.205.243.166:443: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    二、问题解决

    1、https://github.com访问问题,需要设置VPN获取网站访问权限。

    2、针对IDE错误信息:Error: 2 UNKNOWN: Get “https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/esp32-0.0.7.zip”

    问题分析,该文件为https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/package_heltec_esp32_index.json地址下解析出的压缩包,ide无法下载并报错,但尝试使用chrome浏览器可以正常下载,为199M。

    另辟蹊径,我直接从报错信息里复制压缩包地址:https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/esp32-0.0.7.zip并且粘贴在arduino IDE 2.0的“File-Preferences-settings-Additional Boards Manager URLs: ”


    继续安装,成功!
    恭喜啦

    链接:
    https://docs.heltec.org/en/node/esp32/quick_start.html#via-arduino-board-manager
    https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/

    物联沃分享整理
    物联沃-IOTWORD物联网 » -Aaron-Lee/WiFi_Kit_series/releases/download/v3.3.0/package_heltec_esp32_index.json”: dial tcp 192.168.1.106:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond解决Arduino IDE 2.0无法安装Heltec ESP32板卡库的Error:2 UNKNOWN

    发表评论