Cannot login to site using https

What is the name of the domain?

199x.chat

What is the error number?

The site doesn’t generate an error number

What is the error message?

“NETWORKERROR”

What is the issue you’re encountering

My site is a self-hosted Revolt instance. It works perfectly as an http site. However, when I route the site through Cloudflare to add https, the site generates a generic “NETWORKERROR” message when logging in. The http version continues to work normally however. The browser console logs shows the following error: Missing resource in locale en-CA: devtools/client/toolbox.ftl

What steps have you taken to resolve the issue?

I’ve toggled several settings in the Cloudflare dashboard, including “Always Use HTTPS”, “Opportunistic Encryption”, “Automatic HTTPS Rewrites”, and “Websockets”. None of which made any change in the behavior.

Was the site working with SSL prior to adding it to Cloudflare?

No

What is the current SSL/TLS setting?

Flexible

What are the steps to reproduce the issue?

Attempt to login to the site. The error may present itself when creating an account too.

Screenshot of the error

Using Cloudflare SSL to front a non-SSL origin is not recommended. Use of “Flexible” SSL mode means that traffic between Cloudflare and your origin is not encrypted and uses HTTP even if clients connect to Cloudflare using HTTPS. Your users will think they are secure when they are not.

You should ensure your origin is properly secured with SSL (pause Cloudflare so you can see the origin is working properly), then add Cloudflare using “Full (strict)” or “Strict” SSL modes only.

1 Like

Thanks for the reply. I am still learning how this whole thing works. I will look into adding SSL at the origin.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.