polyfillpolyfill / polyfill-service

Automatic polyfill service.
https://polyfill.io/
MIT License
7.53k stars 742 forks source link

polyfill CDN down #2638

Closed wendylw closed 2 years ago

wendylw commented 3 years ago

What

polyfill failed to load

Details

A large number of CDNs in Malaysia cannot load this file

lukeupup commented 3 years ago

Hello,

this problem seems to still be there in Malaysia. The browser shows "ERR_CONNECTION_TIME_OUT".

240684481_994315578049278_8563533695576855680_n

JakeChampion commented 3 years ago

I looked into this, I see no issue on Fastly's status-page or any issues recorded on our backend servers dashboards either. I'm not sure what this issue is but it seems to be sporadic in nature?

lukeupup commented 3 years ago

I looked into this, I see no issue on Fastly's status-page or any issues recorded on our backend servers dashboards either. I'm not sure what this issue is but it seems to be sporadic in nature?

Hi,

Thanks for reply. Per our monitor system, this issue seems have impact extensive users in Malaysia (where our product majoyly serves). We ask several team members to try to open the url from their home in Malaysia, but none of them can open it. The server won't send any errors immediately. It just hangs there and gets timeout after 30 seconds. However our team member from China can open it without any problem. So I am guessing whether it could be a CDN problem.

We understand that the service uptime or reachability is not guaranteed, but we still hope that you can take a bit more look, since there should be more than us to use polyfill.io in Malaysia. And the service timeout will cause a 30 sec blank page for those webpages that are not importing the polyfills in async way.

Again, thank you for any help or suggestions.

hueiyik commented 3 years ago

It's not working here in Malaysia since Friday. Can we have a fix? Polyfill.io is not opening either.

jgiambona commented 3 years ago

We are also experiencing the same in Malaysia. Doesn't seem to be sporadic, some ISPs consistently having issues it seems.

smaeda-ks commented 3 years ago

Could you please tell us what ISP are you on? You may want to reach out to the ISP then.

Also, I'm curious what happens if you disable IPv6 on your machine. For instance, if you're using the macOS, https://support.nordvpn.com/Connectivity/macOS/1047410442/How-to-disable-IPv6-on-macOS.htm

Does that make any difference?

[updated] As someone pointed out, I don't believe this problem belongs to Fastly. Seem more like a regional issue specific to a certain ISP or something.

jgiambona commented 3 years ago

From one of our users- "Our office is using Unifi and has this issue. My mobile data is under Maxis, do not have this problem"

Same user also said it's fine if he changes his DNS to Google.

Update: Another user reported Digi Mobile is also having problems. Have also asked the users to check what responses they're getting from their ISP's nameservers

Update 2: Maxis no longer working.

jgiambona commented 3 years ago

I have asked user to do a nslookup and traceroute, you'll notice that the response for cdn.polyfill.io is a canonical name to a ISP-related hostname. This is for Maxis, cdn.polyfill.io is no longer reachable when using the mobile provider's own nameservers, along with many other ISPs in Malaysia.

The government there has censorship and I wonder if they are mistakenly blocking the hostname and/or IPs

WhatsApp Image 2021-09-02 at 12 08 53

hueiyik commented 3 years ago

I'm on maxis on mobile and have this issue. Polyfill.io ain't opening from browser either

kbajaj-eightfold commented 3 years ago

This issue is directly impacting our customers as well. @JakeChampion who from the team can look into this? Meanwhile any workaround you would suggest?

JakeChampion commented 3 years ago

Hi, I am looking into this as are some people within Fastly, the CDN provider which sponsor the service

JakeChampion commented 3 years ago

Thanks @jgiambona, it does look like a collection of ISPs are blocking the site.

Could we collect a list in this issue of all the ISPs which are blocking polyfill.io?

lukeupup commented 3 years ago

For people looking for temporary workaround - you can either import a static polyfill file (like https://github.com/es-shims/es5-shim) or try an old version of polyfill service: https://polyfill.alicdn.com/polyfill.min.js (v1.5)

JakeChampion commented 3 years ago

@lukeupup I can add polyfills.io as a new domain for you to use

JakeChampion commented 3 years ago

I've opened up a pull-request to enable the service to work via polyfills.io as an alternative domain -- https://github.com/Financial-Times/polyfill-service/pull/2639

john-opsec commented 3 years ago

I have asked user to do a nslookup and traceroute, you'll notice that the response for cdn.polyfill.io is a canonical name to a ISP-related hostname. This is for Maxis, cdn.polyfill.io is no longer reachable when using the mobile provider's own nameservers, along with many other ISPs in Malaysia.

The government there has censorship and I wonder if they are mistakenly blocking the hostname and/or IPs

WhatsApp Image 2021-09-02 at 12 08 53

MCMC = Malaysian Communications and Multimedia Commission. This is likely happening at the request of the Malaysian government.

JakeChampion commented 3 years ago

@john-opsec Thanks, I've sent a few emails to MCMC to see if they can unblock the website 👍

hueiyik commented 3 years ago

This seems to impact everyone in Malaysia as far as i know. Almost all isp is blocking.

JakeChampion commented 3 years ago

This seems to impact everyone in Malaysia as far as i know. Almost all isp is blocking.

Yes, please try and use polyfills.io instead, we have made that an alternative domain for this service

JakeChampion commented 3 years ago

I recommend people fill out this form and inform the MCMC that this website should not be blocked -- https://www.mcmc.gov.my/en/contact/website-experience-feedback

ikomwrestling commented 3 years ago

I recommend people fill out this form and inform the MCMC that this website should not be blocked -- https://www.mcmc.gov.my/en/contact/website-experience-feedback

This only provide feedback on MCMC websites.

I would recommend Malaysian to file complaint on MCMC complaint portal https://aduan.skmm.gov.my/

JakeChampion commented 3 years ago

I recommend people fill out this form and inform the MCMC that this website should not be blocked -- mcmc.gov.my/en/contact/website-experience-feedback

This only provide feedback on MCMC websites.

I would recommend Malaysian to file complaint on MCMC complaint portal aduan.skmm.gov.my

@ikomwrestling What did you put in the form fields? I tried on that form and got this response:

Note: This complaint is not within MCMC jurisdiction. We advice you to contact the relevant authority for further action.

image

aimensasi commented 2 years ago

In our company, we ended up downloading the js file and loading locally from here. It seems to solve the problem