Ask coding questions

← Back to all posts
ERR_CERT_INVALID - Certificate Errors when full-screening site made with HTML repl.it
ThomasHinkle (2)

I've been using repl.it in a web-design class and it seems about half the time I try to full screen a student's code, I get a certificate error.

Here's one such repl.it
https://ohko.declandonahue.repl.co/

Here's one such error:
NET::ERR_CERT_INVALID
Subject: ohko.declandonahue.repl.co

Issuer: Let's Encrypt Authority X3

Expires on: Feb 22, 2020

Current date: Nov 24, 2019

PEM encoded chain:
-----BEGIN CERTIFICATE-----
MIIEoDCCA4igAwIBAgISA4OK/FzAreXZxMTbsaRzn5lbMA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xOTExMjQxNTIwMTNaFw0y
MDAyMjIxNTIwMTNaMCUxIzAhBgNVBAMTGm9oa28uZGVjbGFuZG9uYWh1ZS5yZXBs
LmNvMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEg+Ub/hKJwZXlf7U9vD06QNGB
FhHlLG9rvHJt//033J/CDwYH5D4Ypw0bLEOWXuzOiUaCOMeBhgBzXNTy6upXF6OC
Am4wggJqMA4GA1UdDwEB/wQEAwIHgDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYB
BQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUips+BkALl8sGvnNa/ett+w2v
rYcwHwYDVR0jBBgwFoAUqEpqYwR93brm0Tm3pkVl7/Oo7KEwbwYIKwYBBQUHAQEE
YzBhMC4GCCsGAQUFBzABhiJodHRwOi8vb2NzcC5pbnQteDMubGV0c2VuY3J5cHQu
b3JnMC8GCCsGAQUFBzAChiNodHRwOi8vY2VydC5pbnQteDMubGV0c2VuY3J5cHQu
b3JnLzAlBgNVHREEHjAcghpvaGtvLmRlY2xhbmRvbmFodWUucmVwbC5jbzBMBgNV
HSAERTBDMAgGBmeBDAECATA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FLkHX/xBVghYkQMA0GCSqG
SIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or+Dxz9LwwmglSBd49lZRNI+DT69
ikugdB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXr
AvHRAosZy5Q6XkjEGB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZz
R8srzJmwN0jP41ZL9c8PDHIyh8bwRLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5
JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubSfZGL+T0yjWW06XyxV3bqxbYo
Ob8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ
-----END CERTIFICATE-----

Comments
hotnewtop
HackermonDev (2020)

This happens because when you create your HTML repl repl.it is still loading the repl.co website and repl.it is still adding the certificates to the website and you go into the site before repl.it is done. Whenever this happens just wait for 5 seconds then reload the page and it should be back to normal.

ThomasHinkle (2)

It doesn't appear the issue clears after 5 seconds or even 5 minutes. I tried a hard reload to no avail.

Perhaps there's an underlying chrome problem. It shows the certificate is invalid in the dropdown on the URL bar like this:

However, if I click the certificate button, it then shows it is valid:

Opening in a fresh browser or an incognito window does the trick, but I still can't find any combination of actions that will get chrome to show me the page once it's shown the error in the logged in session.

I can probably work around this for most students, but for students on a school-issued chromebook, they won't be allowed to open an incognito session, so I'd need some way to get chrome to actually display the page under the current session/user, which I haven't found yet.

@PDanielY

HackermonDev (2020)

@ThomasHinkle are you sure it is a repl.it error? I just tried to open that page on my chromebook and it worked fine

ThomasHinkle (2)

It happens all the time when I'm teaching. I'd say 1/3 or 1/4 of students won't be able to open their page full screen.

Now that I played w/ it a bit more I'm pretty confident if they change browsers or open an incognito window it will work, but for students on a locked down chromebook they'll be out of luck unless I can figure a way to get chrome to load the page once it's decided the certificate is invalid.

fwiw, the page now just finally loaded in the browser I was testing in, so maybe if I wait 30 minutes it will work -- not the best solution for class ,though :)
@PDanielY

ThomasHinkle (2)

Will do -- thanks for the help @PDanielY

Vandesm14 (2736)

@PDanielY [email protected] is dead. They switched it from a normal email to an automated system, so it's pointless to email then nowadays.

ThomasHinkle (2)

Update: this seems to be unique to Chrome. Just loaded the same page successfully in firefox.

Trouble is our school mostly runs on chromebooks...