"ALways use https" disappeared from Page rules only for certain domains

What is the name of the domain?

nothing.com

What is the error number?

none

What is the error message?

none

What is the issue you’re encountering

under page rules, the always use https option has disappeared for only some domains in my account

What steps have you taken to resolve the issue?

It’s a bug with cloudflare

What are the steps to reproduce the issue?

Add name records and delete a records, then go to page rules, and the option will have disappeared

I cannot reproduce this: with or without A / AAAA or any DNS records at all, with or without NS records, I can always see existing “Always Use HTTPS” rule in my zone and I can always create a new one from scratch.

I’d suggest taking a look at your audit logs to narrow down what happened to your affected Page Rules. If you can’t see the “Always Use HTTPS” option in the dropdown when creating a new rule at all, post the domain name here or send it to me using a direct message and I can review.

Hi ncano,

OK, I will send you a message privately, but just to state, once you add cname records and remove a records, it disappears. It has affected many of my domains.

Sending you the message now.

How do I send a private message?

How do I send you a private message? Can you send me one and I reply?

I don’t know why this account specifically has this issue. Other accounts do not.

Any idea on resolving this issue?

I’ve sent you a DM, will take a look once I have the affected domain and steps to reproduce.

Thanks, I am currently writing up how to reproduce it with examples, and will send it to you via dm.

And no solution to this bug, seems like a random response to things which were not mentioned. So not helpful.
Will move desec.io

As I mentioned in the private message, the “Always Use HTTPS” setting does not appear when there is no active edge SSL certificate for the zone. This is intentional to prevent enforcing HTTPS without a valid certificate, which would otherwise result in errors for all traffic since the zone cannot handle encrypted requests.

If the zone does have an active SSL certificate but it is not reflected in the dashboard, this would indicate a bug with SSL configuration rather than with the rules themselves.

To resolve this, the edge SSL certificate needs to be reissued for the affected zones. You can achieve this by:

  1. Deleting and re-adding the DNS records.
  2. Disabling Universal SSL and then re-enabling it.

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