rbind / support

Technical support for rbind
https://support.rbind.io
MIT License
48 stars 24 forks source link

Error 526 with rbind website and netlify #797

Closed jfsantosm closed 1 year ago

jfsantosm commented 3 years ago

Update: for anyone reading this thread, you may skip the replies below and go to the solution at https://github.com/rbind/support/issues/797#issuecomment-830434719 directly.


image

image

Hello,

I have recently had problems accessing my rbind website, sometimes it works, and sometimes it does not. I have been deploying it with netlify, but as it can be seen in the picture, I get the following error.

Error 526 Ray ID: 6476e0119b43d6e5 • 2021-04-29 07:39:13 UTC Invalid SSL certificate

Do you know how to make my website more stable?

Best regards, Felipe

cderv commented 3 years ago

I have seen the same in other website like https://advanced-r-solutions.rbind.io/

@jfsantosm I have seen you've also asked on the Netlify community : https://answers.netlify.com/t/recent-error-526-with-rbind-deployed-with-netlify/36785 This is a good idea ! Do not hesitate to share when you cross post so that we can all follow. 😄

FWIW there is a guide post about SSL certificate on Netlify and DNS configuration: https://answers.netlify.com/t/support-guide-ssl-tls-certificate-provisioning/1300

@yihui I am not sure yet how rbind is working under the hood. Do you know what is happening ? Is this "https" thing new ? Do we need to take action ? At least check DNS configuration ?

Thanks.

cderv commented 3 years ago

In fact looking at other issues, it seems there could be an issue for Europe https://github.com/rbind/support/issues/789#issuecomment-827488131

or Japan for you @jfsantosm ?

It has been encountered more than once recently: https://github.com/rbind/support/issues/462#issuecomment-818086718

Maybe a cloudfare issue ?

jfsantosm commented 3 years ago

Hi @cderv, that may explain why that is happening to me now! Because I just recently moved to Europe!

yihui commented 3 years ago

I don't know why this problem is specific to site visitors in Europe, and it seems to be relatively new. I'm thinking of a possible workaround right now.

cderv commented 3 years ago

Do you think it is rbind specific ?

There is an answer in netlify community: https://answers.netlify.com/t/support-guide-why-isn-t-my-ssl-certificate-provisioning-automatically-with-cloudflare-netlify-are-there-other-problems-with-using-cloudflare-in-front-of-netlify/138

Netlify won’t be able to provision an SSL certificate for your hostname(s) when the DNS records for a site point to Cloudflare because Cloudflare - not Netlify - is serving the content. (...) For these reasons, we recommend disabling Cloudflare’s proxying (also known as “Accelerated and protected” on their service) for your site when it is being served/hosted by Netlify.

Could it be related here ?

yihui commented 3 years ago

It could be.

I've been thinking of using rewrite for all *.rbind.io subdomains (to the desired destination URLs) so that SSL will be irrelevant. Currently this proxy stuff is indeed complicated and unstable.

AntoineSir commented 3 years ago

Hi, thank you for opening this issue. I'm having the exact same problem with my domain (antoinesir.rbind.io) and I'm in France!

yihui commented 3 years ago

I guess we could resolve this issue in a day or two (or sooner). Sorry about the interruption!

spcanelon commented 3 years ago

Hello all -- just here to add that I'm having the same problem (https://silvia.rbind.io) and I'm located in the United States. Thanks for working on this @cderv and @yihui!

aayushraman commented 3 years ago

Hello, I am facing the same issue (https://araman.rbind.io) while my website thru netlify is still working (https://aayushraman.netlify.app/). Thanks a lot, @yihui and team! appreciate it.

yihui commented 3 years ago

Thanks for letting us know! I've been working on it today, and will let you all know once it's done.

yea-hung commented 3 years ago

I'm also seeing this issue (https://covid-19.rbind.io) in the US. Thanks all.

AntoineSir commented 3 years ago

Thanks for letting us know! I've been working on it today, and will let you all know once it's done.

Everything is back to normal for me (and for the other websites mentioned above apparently), thank you very much for your work!

jfsantosm commented 3 years ago

Hello, same here. I have checked my website throughout the morning, and it is back to normal. I will keep checking it during the weekend. Thanks!

yihui commented 3 years ago

Hmm... That's funny. I was still working on a possible fix and haven't applied it yet. Not sure what happened. Perhaps time cures everything as usual :)

aayushraman commented 3 years ago

@yihui Still having some issues (https://araman.rbind.io). I cannot load my pic, and when I refresh the web page a couple of times, it forwards me to https://support.rbind.io/. However, my website thru netlify domain (https://aayushraman.netlify.app/) works fine.

cderv commented 3 years ago

It seems some stuff are not yet working well: https://advanced-r-solutions.rbind.io/

Same as above, some resources (JSS, CSS, ...) are not found and you end up on the rbind support website. Ex: https://advanced-r-solutions.rbind.io/libs/jquery-3.5.1/jquery-3.5.1.min.js

yihui commented 3 years ago

@aayushraman Okay. I'm still investigating.

aayushraman commented 3 years ago

@yihui thanks a lot. appreciate it.

henningsway commented 3 years ago

Thank you so much for looking into this! :)

yihui commented 3 years ago

After spending two days on trying all possible methods to my knowledge, I'm afraid that there isn't a magic solution to fix this issue. Originally I was hoping not to let any of you do anything, but now it seems you'll have to do one thing on Netlify:

Unfortunately domain issues often takes time to resolve (often hours or days). If it still doesn't work after two days, please remove the rbind.io domain from your Netlify account and let me know your rbind.io domain, I may have another solution.

spcanelon commented 3 years ago

Refresh the page. Scroll to the bottom and find the HTTPS section. See if Netlify is able to renew the SSL certificate. If not, there should be a button named "Verify DNS" or "Renew certificate". Click on it. If it shows an error, you may have to wait for some time (perhaps one day) before you retry the certificate renewal.

Thanks Yihui! I followed the steps you described and had success clicking the "Verify DNS" button ✅

Screenshot from Netlify showing 'DNS verification was successful' under the SSL/TLS certificate header.

chenchenzi commented 3 years ago

Thanks! I had the same issue and now it worked.

henningsway commented 3 years ago

same here, thanks! :)

jfsantosm commented 3 years ago

Same here; it is working after following @yihui suggestions. Thanks!!!!

huttoncp commented 3 years ago

Mine is also working now. Thanks @yihui!!!

aayushraman commented 3 years ago

Same here, thanks a lot @yihui!

andresrcs commented 3 years ago

I was getting depressed because all of the sudden my blog was hardly getting any hits and it turned out to be because of this certificate issue. I hadn't noticed because I rarely visit my own blog. Thanks for the solution!

petetalbert commented 3 years ago

That worked, thanks as always @yihui!