Report this

What is the reason for this report?

Frequent Error 522 on App

Posted on January 8, 2021

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.