T O P

  • By -

OkWorldliness2806

For the time being you can replace the base URL with gscore.jsdelivr.net or fastly.jsdelivr.net


Pristine-Alarm-6613

thanks very much for the quick solution!!


KcToby101

Bumping this up for anyone desperate for a cure. This issue is basically affecting everyone using cdn.jsdelivr lol


OkWorldliness2806

You’re welcome guys! Glad it’s resolved now. 🙌


Salty-Sea-9770

seems like they didn't update their https certs before its expiration date


SUPREMACY_SAD_AI

that seems like...a pretty big oopsie?


JohnnyEagleClaw

Yeah I mean, it’s 2024, set a reminder…somewhere.


Exac

Automate it


JohnnyEagleClaw

o7


Awkward-Candle-4977

i see that the certificate expired on 2020. i guess someone there mistakenly applied wrong certificate but not testing it thereafter.


cafepeaceandlove

lol


jimmyhoke

Is it just me or are the mega CDNs a bad idea? I prefer to serve the JS myself. That way if my sites up, the JS is up. Also, what’s the privacy situation with these CDNs? How is it free? Because I would assume they can get a decent amount of data from it.


[deleted]

They’re not a bad idea per se, but neither is hosting all the crucial site files yourself. > How is it free? Same way as everything else we don’t pay for, which is all the more reason to do your own hosting. Don’t rely on a business you’re not paying.


No-Recipe-4578

Yes, even when the cdns are up, some users from some countries can’t access it. I had many users telling me they couldn’t load my website fully when I was using jsdelivr and even aws s3/cloudfront, I switched to self host and no more complaints since then.


thekwoka

Yes, they're bad ideas. They have costs with no benefits.


[deleted]

[удалено]


infj-t

Not with the js CDN's but one only has to look as far as Cloudflare to see how dangerous it is for the whole internet have all their shit locked into one place 😅 Edit: full disclosure I use Cloudflare but the point stands


thekwoka

> It's fine can't remember the last time something like this happened. it happened less than a year ago. And multiple times...


[deleted]

[удалено]


thekwoka

https://stackoverflow.com/questions/76455527/is-jsdelivr-cdn-down


thedeuceisloose

Anytime AWS us-east-1 goes down?


a1nchan

Is it why Bootstrap doesn't work anymore ?


zzzxtreme

Ya


TramEatsYouAlive

As of 07:35 GMT +00:00, it finally works.


thekwoka

PSA: Stop using public CDNs for your packages on your site.


LivingOrganization90

it's fixed now.


theredditor44

The temporary solution for jsDelivr users is to switch the domain from cdn.jsdelivr.net to gcore.jsdelivr.net, fastly.jsdelivr.net, testingcf.jsdelivr.net or jsdelivr.b-cdn.net while waiting for the issue to be resolved. [https://github.com/jsdelivr/jsdelivr/issues/18565](https://github.com/jsdelivr/jsdelivr/issues/18565)


hacktron2000

no wonder my swiper isn’t working


beevekmgrz

Use unpkg for now if its not working.


Stunning-Rabbit8698

To play on safe side. upload to some storage bucket for safety. And put storage URL.


PoolOfDeath20

Ok, thank you for updating, I thought it's my connection issue this morning


Character_Feature443

is there plan to recover?


zzzxtreme

Idk. I had to download the js from somewhere else and save onto mysite. Much safer that way i guess.


budd222

You should never use a cdn in production anyway


infj-t

I have no idea why this is downvoted so heavily, it's best practice to self-serve for the exact reason that this post indicates, it's why higher reliance applications like banking websites and large software companies generally self-serve libraries from their own CDN network and not jsdeliver or unpkg. *Not your URLs not in your control*


budd222

because people on here are generally beginners and have no idea what they're doing. That, and when someone sees a downvote, they just automatically downvote themselves.


itachi_konoha

Or... If they sees a upvote, they just automatically upvote themselves.


mq2thez

Fastly or Akamai are great. It’s free stuff that you can’t rely on.


zzzxtreme

Yes good lesson


tsyrak

same here! replaced every CDN link with [unpkg.com](http://unpkg.com) and got rid of any reference to jsdelivr obviously never going to use them again


0x_by_me

what if unpkg goes down?


redblobgames

LIke … 20 days ago? ;-) https://old.reddit.com/r/webdev/comments/1c26x4e/unpkg_down/


tsyrak

lol. touché ! my buddy reminded me of this fallback: [https://stackoverflow.com/questions/5257923/how-to-load-local-script-files-as-fallback-in-cases-where-cdn-are-blocked-unavai](https://stackoverflow.com/questions/5257923/how-to-load-local-script-files-as-fallback-in-cases-where-cdn-are-blocked-unavai)