SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!
Other
554 stars 144 forks source link

drazzy.com ssl cert expired ? #1059

Closed br74649 closed 6 months ago

br74649 commented 7 months ago

Hi,

Im just trying to download the core via boards manager and getting an error in arduino ide

"Error downloading http://drazzy.com/package_drazzy.com_index.json"

when i hit it with a browser its being redirected to https and chrome complains about the cert which appears to have expired today

image

Any chance this can be renewed?

Thanks

Tony

HeadBoffin commented 7 months ago

Hopefully the LetsEncrypt can be renewed asap and that Spence is A-OK

Mialee85 commented 7 months ago

Yeah, the certificate for drazzy.com ran out yesterday. Hope somebody is gonna pick that up quick.

HeadBoffin commented 7 months ago

Two potential solutions:

Use your browser to go to https://drazzy.com/package_drazzy.com_index.json and when it complains about the certificate expiring, tell it that it's OK, save the file to disk and then in your IDE you can use file:///path/from/root/of/disk/to/file/package_drazzy.com_index.json or for Windows file:///c:/path/from/root/of/disk/to/file.package_drazzy.com_index.json.

Or if you figure that I've got many better things to do than try to hack in to peoples computers because they visited one of my web servers, you can use https://descartes.net/package_drazzy.com_index.json as a temporary measure. I can't hack in to your computer by altering the JSON file either but I could do odd things to the board support files if I had nothing better to do.

Anyone who wants to get all pointy fingered will have me delete this workaround, so please just don't.

br74649 commented 7 months ago

thanks @HeadBoffin , i did do the file workaround - would rather it working as the dr intended , hope he is ok

handy workaround for now though

Thanks

Tony

cygig commented 7 months ago

Oh dear, I couldn't even download anything today on my new laptop. I could still access it a week ago. I am currently working on a library and using the 3224 as the target MCU. His website is down as well. Is he ok?

Zeron commented 7 months ago

Seems to be working now.

HeadBoffin commented 7 months ago

It is indeed updated - the server may have been restarted or something else pressed.

However there have been no updates since Oct '23 so I think we still need to track down Spence to check he's OK

nickzam commented 6 months ago

Hi, I tried the aforementioned fixes for Arduino IDE 1.8.5, 1.8.13 (all under Windows 10 Home) installed via installer (from scratch) and standalone, with and without deletion of preferences.txt file to trigger new libraries update.

Search term "megatinycore" just not appearing in the list of libraries, there are other that appears (Attiny_PWM, Attiny_Slow_PWM etc), but not MegaTinyCore.

Any ideas how to install MegaTinyCore into Arduino IDE manually or use UPDI on Arduino as a programmer on PlatformIO for Attiny 402 ?

per1234 commented 6 months ago

Hi @nickzam.

Search term "megatinycore" just not appearing in the list of librarie

This is expected. The reason is that "megaTinyCore" is not a library. It is a boards platform. So you must look for it in Boards Manager, not in Library Manager.

nickzam commented 6 months ago

Hi @per1234,

Thank you for pushing me in the right direction! I've added http://drazzy.com/package_drazzy.com_index.json into "Additional Boards Manager URLs" and megaTinyCore finally appeared in Boards Manager :)

SpenceKonde commented 6 months ago

I am still here, and I have been periodically getting enough time to respond to a small number of issues. But

Those fucking certs are a constant headache. The automatic renewal methods that they talk about DO NOT WORK. The only time they get updated is when I manually log into the machines. The duration that the certs are valid for is long enough for me to forget the steps to manually renew. For reasons I don't understand, cron jobs don't run. I have no idea why, I set them up, see that they're in the crontab and then check back a few days later when it should have run and see no evidence that anything happened when the cronjob should have run. I don't have enough leverage on the guy who knows linux right now to get him to help out, I think he wishes I knew someone else who was competent at linux.

And I have a bunch of other irons to fire; I have to collate 6 years of tax documents - the bloodsuckers want to know crazy numbers. Revenue!? Expenses?! How the fuck should I know? Money come money go! Meanwhile time seems to be going by faster and faster, like I have less and less time to do more and more things. I do not know how anyone could ever be bored.

hmeijdam commented 6 months ago

Nice to see you back here. My grandpa often said. "you have only 2 certainties in life, Death and Taxes".
So the "good" news is, you have not been hit by the first one ;-)

srw777 commented 6 months ago

I would be happy to help you administer the server. I have been running Linux webservers since 1996 (my first one was connected via 128kbps ISDN). I have received so much value from your cores, but really don't have the skills to contribute to the code... would be elated to help in a way that I am able. Also, I completely agree with the LetsEncrypt renewal thing... I've fought with that for years. I kind of enjoy reading your rants when they come. :-)

On Fri, Mar 29, 2024 at 9:13 PM Spence Konde (aka Dr. Azzy) < @.***> wrote:

I am still here, and I have been periodically getting enough time to respond to a small number of issues. But

Those fucking certs are a constant headache. The automatic renewal methods that they talk about DO NOT WORK. The only time they get updated is when I manually log into the machines. The duration that the certs are valid for is long enough for me to forget the steps to manually renew. For reasons I don't understand, cron jobs don't run. I have no idea why, I set them up, see that they're in the crontab and then check back a few days later when it should have run and see no evidence that anything happened when the cronjob should have run. I don't have enough leverage on the guy who knows linux right now to get him to help out, I think he wishes I knew someone else who was competent at linux.

And I have a bunch of other irons to fire; I have to collate 6 years of tax documents - the bloodsuckers want to know crazy numbers. Revenue!? Expenses?! How the fuck should I know? Money come money go! Meanwhile time seems to be going by faster and faster, like I have less and less time to do more and more things. I do not know how anyone could ever be bored.

— Reply to this email directly, view it on GitHub https://github.com/SpenceKonde/megaTinyCore/issues/1059#issuecomment-2027893020, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPG4R7MR7HBQTUMD44POPDY2YUUBAVCNFSM6AAAAABDMNXTFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXHA4TGMBSGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

M2tec commented 2 months ago

Two potential solutions:

Use your browser to go to https://drazzy.com/package_drazzy.com_index.json and when it complains about the certificate expiring, tell it that it's OK, save the file to disk and then in your IDE you can use file:///path/from/root/of/disk/to/file/package_drazzy.com_index.json or for Windows file:///c:/path/from/root/of/disk/to/file.package_drazzy.com_index.json.

Or if you figure that I've got many better things to do than try to hack in to peoples computers because they visited one of my web servers, you can use https://descartes.net/package_drazzy.com_index.json as a temporary measure. I can't hack in to your computer by altering the JSON file either but I could do odd things to the board support files if I had nothing better to do.

Anyone who wants to get all pointy fingered will have me delete this workaround, so please just don't.

Had a similar ssl cert issue with the Micronucleus packages used in the json file. Replacing https with http resolved the issue for me.

vadpol commented 2 months ago

Two potential solutions: Use your browser to go to https://drazzy.com/package_drazzy.com_index.json and when it complains about the certificate expiring, tell it that it's OK, save the file to disk and then in your IDE you can use file:///path/from/root/of/disk/to/file/package_drazzy.com_index.json or for Windows file:///c:/path/from/root/of/disk/to/file.package_drazzy.com_index.json. Or if you figure that I've got many better things to do than try to hack in to peoples computers because they visited one of my web servers, you can use https://descartes.net/package_drazzy.com_index.json as a temporary measure. I can't hack in to your computer by altering the JSON file either but I could do odd things to the board support files if I had nothing better to do. Anyone who wants to get all pointy fingered will have me delete this workaround, so please just don't.

Had a similar ssl cert issue with the Micronucleus packages used in the json file. Replacing https with http resolved the issue for me.

Could you please be more specific on this: yes, I could download and edit the json file, but can't save it back to repository of course. How do you use this edited json file with http iso https to get right reference to Micronucleus packages? I can't install the Attiny Core because of this Micronucleus download error message.

M2tec commented 2 months ago

Search for these instances in the json file. "url": "https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1b-x86_64-mingw32.zip" and replace with: "url": "http://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1b-x86_64-mingw32.zip"

vadpol commented 2 months ago

Search for these instances in the json file. "url": "https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1b-x86_64-mingw32.zip" and replace with: "url": "http://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1b-x86_64-mingw32.zip"

That's clear, thanks! But how to substitute this file while IDE is taking the existing wrong one from url where it is not changed? Should it be saved somewhere on local drive and then just put the path to it in Preferences instead of url? Will it work like this or something else is needed? Thanks a lot!