Remix-Design / RemixIcon

Open source neutral style icon system
https://remixicon.com
Apache License 2.0
6.76k stars 493 forks source link

remixicon.com's HTTPS certificate is not valid anymore #186

Closed vivgui closed 1 year ago

vivgui commented 4 years ago

Describe the bug The HTTPS certificate of remixicon.com is not valid anymore (probably expired).

On Firefox: image

On Chrome: image

To Reproduce Steps to reproduce the behavior:

  1. Open https://remixicon.com on Firefox or Chrome

Device (please complete the following information):

xiaochunjimmy commented 4 years ago

Thank you, how about https://www.remixicon.com ?

vivgui commented 4 years ago

It looks like it redirects to https://remixicon.com, so no HTTPS still.

xiaochunjimmy commented 4 years ago

I see. Firebase Hosting has provisioned an SSL certificate to www.remixicon.com, while remixicon.com not (show in the console). I've changed the redirect rule. www.remixicon.com will not be redirected to remixicon.com for now. Please try again and see if it works. Maybe we can only wait before Firebase provisions SSL to remixicon.com.

vivgui commented 4 years ago

Checked on my desktop and phone on multiple browsers, www still redirects to remixicon.com, and remixicon.com still doesn't have a valid certificate.

Let's give it time to propagate and I'll check again tomorrow.

imfunniee commented 4 years ago

it's up now

YunYouJun commented 4 years ago

image

xiaochunjimmy commented 4 years ago

We are still trying to use a new global hosting service to solve this problem, so you may come across accessing problems for hours. We hope it will be solved asap.

YunYouJun commented 4 years ago

The contents of the website in my impression are all static content. Just a suggestion, why not consider using GitHub Pages as an alternate hosting site?

xiaochunjimmy commented 4 years ago

Information update: We were using Upyun as our CDN service all the time, and it works fine in the past days until about weeks ago: many oversea uses reported that they could not access our website. This problem happened in certain countries. We tried to connect Upyun but no useful info and solution returned. Then we introduced Firebase as our hosting provider for foreign users, but we faced SSL problems when using Upyun and Firebase at the same time for both Chinese users and oversea users. Besides we have to maintain 2 hosting sever and deployments. So we tried to use Vercel, which could provide hosting&CDN service for both Chinese and other users. But it may need hours(less than 72 hours) to tack effect.

xiaochunjimmy commented 4 years ago

Chinese users can visit our website with https://remixicon.cn/ and Other users can visit our website with https://remixicon.web.app/ temporary.

xiaochunjimmy commented 4 years ago

@YunYouJun People say Github page has problems with Baidu SEO, is that true?

YunYouJun commented 4 years ago

@xiaochunjimmy Yeah, that's right. Instead, domestic CDN(Tencent Cloud Or Upyun Or Aliyun)can solve this problem.

vivgui commented 4 years ago

@xiaochunjimmy its true, I can't access remixicon.com now:

image

And can confirm, https://remixicon.web.app works ok.

xiaochunjimmy commented 4 years ago

@vivgui @YunYouJun @imfunniee

Hi, could you help us to test the speed when loading our website? How long does it take to finish loading?

YunYouJun commented 4 years ago

China: image VPN(Foreign): image

vivgui commented 4 years ago

I see the SSL is valid again.

Here's the speed:

image

It's very very slow. I'm on a 200mb internet, in the Dominican Republic.

xiaochunjimmy commented 4 years ago

@vivgui what is your location?

vivgui commented 4 years ago

Santo Domingo, Dominican Republic.

xiaochunjimmy commented 4 years ago

@vivgui It seems that our service provider did not deploy a CDN node around. However, it should be faster than the first time you loaded our website. Besides, you can still use https://remixicon.web.app/

vivgui commented 4 years ago

ok sounds good 👍

YunYouJun commented 4 years ago

@xiaochunjimmy Maybe you can set remixicon.cn for China, and remixicon.com for other countries.

remixicon.com can be deployed on GitHub Pages/Netlify/Firebase, remixicon.cn can be deployed on some domestic cloud service provider for SEO. Script can solve the problem of simultaneous deployment.

Example: elemefe use https://element.eleme.cn for China and https://element.eleme.io/ for other countries.

xiaochunjimmy commented 4 years ago

@YunYouJun 坦白说,我们对于分发部署、负载均衡以及判定规则跳转等其实不是非常熟悉,从访问体验上来说,针对不同的国度使用更合理的内容分发部署确实更合适,现阶段从整体上来说,还是希望可以尽可能维护一份部署内容,这样在管理和维护上后期遇到的问题可能会少一点点,不过我们也在积极尝试更好的解决方案。

目标是更快、更便宜,考虑到目前几乎没有收入还得额外付出硬件和带宽成本,而且时间精力确实有限,我和小伙伴都是业余时间在维护,随着用户量的上涨,费用已经越来越高了。

后面我们再继续调研一下这方面的东西,如果您这边有更好的提供商解决方案,也欢迎推荐给我们。 好在现在访问问题解决了,而且单页应用加载一次之后不需要再加载就可以正常使用。

我怀疑之前的问题可能和美国大选之类的有关,许多VPN貌似这段时间也突然不好使了,咱们每次国庆节的时候也会出现各种问题。

YunYouJun commented 4 years ago

关于成本问题,现在 GitHub 除了 GitHub Pages 服务,也提供了 GitHub Actions。完全可以在 GitHub 上完成官网的持续集成部署。GitHub Pages 本身对于国外用户,就有良好的 CDN 和访问速度。足以应对大部分情况。此外为了以防万一,可以再套一层 Cloudflare,既能防止攻击,也可以直接免费使用 Cloudflare 的 CDN。

我的想法是可以考虑将 remixicon.com 的域名放置于 Cloudflare,remixicon.com 面向全球其他用户即可。(整个过程无需硬件、带宽成本。) 目前许多知名开源项目的文档或官网都是直接采用 GitHub Pages 托管,譬如 three.js, webpack.js.org, rollupjs.org, vuejs.org 等。

其次为了 remixicon 在国内(比如百度)的 SEO 和访问速度,可以将 remixicon.cn 专门面向国内用户。(毕竟 cn 本来就是国别域名)部署在腾讯云、阿里云、又拍云之类的云服务商。 腾讯云一般每个月有 10G 的免费额度,对于现在的 remixicon 可能不一定够用。 但也因此,以 remixicon 现在的使用量和影响力,完全可以考虑联系一些云服务商(又拍云可能比较容易),获取 CDN 赞助支持,相对只需要在官网挂上赞助商 LOGO 即可。

成本问题基本都可以解决。


如果不介意将官网置于 GitHub 上维护的话,我很乐意参与这一维护,如编写 GitHub Actions 的自动部署脚本等工作。

国内 CDN 设置源站为 remixicon.com 即可,这样也不用同时维护两处的部署。

xiaochunjimmy commented 4 years ago

@YunYouJun 非常非常感谢,很详细,这部分我们先做一下调研研究一下。