Skip to content

ESP32 package update in using Additional Url isn't responding #8050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
rikilshah opened this issue Apr 8, 2023 · 7 comments · Fixed by #7876
Closed
1 task done

ESP32 package update in using Additional Url isn't responding #8050

rikilshah opened this issue Apr 8, 2023 · 7 comments · Fixed by #7876
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Status: Community help needed Issue need help from any member from the Community.

Comments

@rikilshah
Copy link

rikilshah commented Apr 8, 2023

Board

ESP32

Device Description

ESP32-WROVER

Hardware Configuration

No

Version

v2.0.7

IDE Name

Arduino IDE

Operating System

Windows 11

Flash frequency

NA

PSRAM enabled

yes

Upload speed

NA

Description

I am trying to install Arduino Core for ESP32 in Arduino IDE 2.0.4 on Windows 11 using additional URL method described in official documentation.

https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html

In this method, JSON url is given as below:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

I pasted this link in File>Preferences>Additional URLs

When the board index updates, It shows error saying "Some index Can't be updated" . The same error is repeated when I try to install ESP32 core using arduino-cli.

One thing I tried is to install other core to verify my setup. I successfully installed RP2040 core using JSON URL method. So I can say my steps are right.

Please let me know solution to this trivial issue.

Sketch

NA

Debug Message

NA

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@rikilshah rikilshah added the Status: Awaiting triage Issue is waiting for triage label Apr 8, 2023
@mrengineer7777 mrengineer7777 added IDE: Arduino IDE Issue relates to Arduino IDE Status: Community help needed Issue need help from any member from the Community. and removed Status: Awaiting triage Issue is waiting for triage labels Apr 9, 2023
@me-no-dev
Copy link
Member

Could you maybe have the json links added in a wrong way? I think one per line is how it should be. People here definitely do not have issues installing from Board Manager

@rikilshah
Copy link
Author

Yes, I indeed suspected that. So, I removed all other URLs and only kept ESP32 JSON Link. Still The issue persists.

Just another observation, I have other two URLs, RP2040 and STM32.

RP2040 works. When I open JSON URL in browser, I get JSON in response.

STM32 and ESP32's JSON URLs doesn't give anything back when opened in browser.

@me-no-dev
Copy link
Member

Can you please try with the following link instead: https://espressif.github.io/arduino-esp32/package_esp32_index.json

Please report back the result

@rikilshah
Copy link
Author

Hey, This link works very well! Thanks a lot!

Wonder why this link is not updated in official documentation!

@me-no-dev
Copy link
Member

I wonder why you are having issues with the other one. In any case, we will update the docs. Both links point to the same file :)

@rikilshah
Copy link
Author

I wonder why you are having issues with the other one. In any case, we will update the docs. Both links point to the same file :)

Well, I am facing similar issue for stm32duino Arduino core. So, there might be issue on github side. Thanks again!

@rikilshah
Copy link
Author

For future reference, This issue is specific to India's JioFiber connections. Using Google's Public DNS 8.8.8.8 solved the issue immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Status: Community help needed Issue need help from any member from the Community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants