I am using Arduino create to upload a project to a mega.I have the plugin installed.
When I press verify it compiles without any error but when I upload it I get the following error:
Get https://downloads.arduino.cc/packages/package_staging_index.json: net/http: TLS handshake timeout
What might have gone wrong?
Any good sketch can "compile" in Create.
But for a successful UPLOAD the plugin needs to be installed correctly and fully working.
In the taskbar (under windows) it needs to be Arduino blue/green.
If its not then nothing will work on the upload side.
You need to be running CREATE in the browser you installed it under.
You cant run create in Firefox if you installed it using chrome as each browser needs the security certificate you said YES to during the install.
Avoid USB 3.0 ports as they can be very glitchy with almost any Arduino product.
Turn off any security / AV as a test for uploads and if that fixes it add the CREATE locations on your computer to your security whitelist / exclusions.
Also read the posts at the top of this forum as they contain help and information to get you ging and what sort of information we need to help you better.
@iamashwin99 I have seen the same error if the user is behind a proxy or firewall that is blocking some https request for some weird reasons. Please let us know if you are behind a proxy or you can contact your system administrator.
@iamashwin99 actually thanks to your report I have figured out we never published how to make it work with a proxy. Here are the instructions:
To test the dual config feature:
- stop the running agent -> click on tray, pause, click on tray again, kill
- in the installation folder of arduino-create-agent.exe there should be at least a file called config.ini with the default configurations
- in that folder create another ini file with any name different from config.ini (the extension MUST be .ini) or copy the provided example ini (proxy.ini)
- this file is an overlay over the standard one, so common fileds can be avoided
- for example, the attached proxy.ini exports http_proxy and https_proxy . Modify it as per your needs
- launch arduino-create-agent.exe, click on the tray and select the Proxy config
here will be the content of the file proxy.ini:
name = Enable Proxy
[env]
http_proxy=yourproxyhere
https_proxy=yourhttpsproxyhere
@mastrolinux this worked for me. Thanks!
Apparently, my college has some weird policies issues that prevent certain kinds of sites.