Outside of the browser, my Koyeb app json-agrberg.koyeb.app is completely inaccessible via HTTPS, while HTTP redirects to a security warning page. This appears to be an SSL certificate provisioning failure on Koyeb’s infrastructure.
The application is running and accessible via HTTPS in both the latest versions of Chrome and Firefox. However it cannot be accessed outside of the browser (e.g. curl, wget, etc.).
Here is what I’ve discovered so far
- HTTP works but redirects to safebrowse.io warning
- HTTPS fails with SSL handshake errors from all clients
- Direct IP connections to Cloudflare also fail
I found a similar post at My app's url with "https" is not working but I do not have dots in my name.
For reference I am on the latest version of macOS 15.6.1 with curl 8.15.0 (OpenSSL 3.5.2)
Technical Evidence
DNS Resolution (working correctly):
json-agrberg.koyeb.app. 300 IN CNAME prod-glb.koyeb.app.cdn.cloudflare.net.
prod-glb.koyeb.app.cdn.cloudflare.net. 300 IN A 104.20.31.27
prod-glb.koyeb.app.cdn.cloudflare.net. 300 IN A 172.66.172.174
HTTPS Failure (multiple clients):
$ curl -v https://json-agrberg.koyeb.app
- TLS connect error: error:0A00010B:SSL routines::wrong version number
curl: (35) TLS connect error: error:0A00010B:SSL routines::wrong version number
$ openssl s_client -connect json-agrberg.koyeb.app:443
C02045EF01000000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long
C02045EF01000000:error:0A000139:SSL routines::record layer failure
Direct IP Test (confirms server-side issue):
$ openssl s_client -connect 104.20.31.27:443 -servername json-agrberg.koyeb.app
C02045EF01000000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long
C02045EF01000000:error:0A000139:SSL routines::record layer failure
Root Cause:
The “packet length too long” error indicates Cloudflare is not serving a valid SSL certificate for my subdomain. Instead of SSL/TLS data, it’s returning non-SSL content, causing all SSL clients to fail.
What I’ve Tried:
- Multiple curl versions (system LibreSSL and Homebrew OpenSSL)
- Different networks and DNS servers
- Direct IP connections with Host header
- Various TLS versions and cipher specifications
Questions:
- Is there a known issue with SSL certificate provisioning?
- How can I check the certificate status in my dashboard?
- Should I redeploy the app to trigger certificate re-provisioning?
- Is this related to any recent infrastructure changes?
This appears to be a server-side SSL configuration issue so any guidance would be appreciated!