Running into 525 errors

I recently set up a subdomain, and for the most part it works.

But for some reason, users using CF workers who try to hit the endpoint get 525 SSL errors (see screenshot)

Does anyone know why this happens? Is there anything I can do to make the subdomain work for all users?

Can you share a worker configuration that reproduces this issue?