Question

Frequent Error 522 on App

Posted January 8, 2021 534 views
CDNDigitalOcean App Platform

I am frequently getting an Error 522 on an app that is auto deployed from github. DNS running through cloudflare if that makes a difference. Any ideas or anyone else experiencing this? https://www.naismithlabs.com

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hey @naismithlabs ,

Thanks for this question. Could you provide more details as to your DNS setup? You said its running through Cloudflare. Do you have orange cloud enabled?

It also looks line there is no CNAME entry for www.naismithlabs.com. Can you confirm this? You would need to create a CNAME entry to have www.naismithlabs.com point to your App Platform *.ondigitalocean.app domain.

I actually submitted a ticket after this question and it turns out there were some ongoing issues at DO that resolved and with that the site returned. I am continuing to monitor if the site intermittently goes down as I had been experiencing prior.

With cloudflare I am simply using their free dns services which also provide CNAME flattening at the root of the domain. There are cnames for both the root and www pointing to the app domain.

Things seem to be going ok and have been since a little after this post but will update if anything changes.