pit07
1
Hi !
I have a new problem on my webapp.
My two URL : nougats-silvain.fr and api.nougats-silvain are marked as “unsecured connection”.
I can’t anymore build my app on Netlify:
$ nuxt generate
5:59:20 PM: [error] certificate has expired
5:59:20 PM: at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
5:59:20 PM: at TLSSocket.emit (node:events:513:28)
5:59:20 PM: at TLSSocket._finishInit (node:_tls_wrap:953:8)
5:59:20 PM: at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
5:59:20 PM: [error] Could not resolve routes
5:59:20 PM: [fatal] certificate has expired
5:59:20 PM: at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
5:59:20 PM: at TLSSocket.emit (node:events:513:28)
5:59:20 PM: at TLSSocket._finishInit (node:_tls_wrap:953:8)
5:59:20 PM: at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
5:59:20 PM:
5:59:20 PM: ╭────────────────────────────────────╮
5:59:20 PM: │ │
5:59:20 PM: │ ✖ Nuxt Fatal Error │
5:59:20 PM: │ │
5:59:20 PM: │ Error: certificate has expired │
5:59:20 PM: │ │
5:59:20 PM: ╰────────────────────────────────────╯
5:59:20 PM:
5:59:20 PM:
5:59:21 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
5:59:20 PM: "build.command" failed
5:59:20 PM: ────────────────────────────────────────────────────────────────
5:59:20 PM:
5:59:20 PM: Error message
5:59:20 PM: Command failed with exit code 1: nuxt generate (https://ntl.fyi/exit-code-1)
5:59:20 PM:
5:59:20 PM: Error location
5:59:20 PM: In Build command from Netlify app:
5:59:20 PM: nuxt generate
I tried to renew certificate, but nothing happens.
I don’t understand why everything suddenly broke.
Thanks a lot for your help!
Vincent
I’m seeing a valid SSL certificate for your domain
pit07
3
I tried on Chrome, Firefox and private navigation (why not…), and i still have this No secure connexion… and my client too
Weird. Can you hard refresh ?
And do you know why datas (Created date) are not updated when i renew certificate ?
There is a problem cause Netlify can’t build my app
I still can’t reproduce it. Maybe you’re affected by this:
Though it’s kinda late to be affected by this now.
pit07
5
Thanks for the link. I looked, but i don’t use old device.
Can you see my build log ?
6:00:45 PM: 1. Build command from Netlify app
6:00:45 PM: ────────────────────────────────────────────────────────────────
6:00:45 PM:
6:00:45 PM: $ nuxt generate
6:01:14 PM: [error] certificate has expired
6:01:14 PM: at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
6:01:14 PM: at TLSSocket.emit (node:events:513:28)
6:01:14 PM: at TLSSocket._finishInit (node:_tls_wrap:953:8)
6:01:14 PM: at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
6:01:14 PM: [error] Could not resolve routes
6:01:14 PM: [fatal] certificate has expired
6:01:14 PM: at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
6:01:14 PM: at TLSSocket.emit (node:events:513:28)
6:01:14 PM: at TLSSocket._finishInit (node:_tls_wrap:953:8)
6:01:14 PM: at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
6:01:14 PM:
6:01:14 PM: ╭────────────────────────────────────╮
6:01:14 PM: │ │
6:01:14 PM: │ ✖ Nuxt Fatal Error │
6:01:14 PM: │ │
6:01:14 PM: │ Error: certificate has expired │
6:01:14 PM: │ │
6:01:14 PM: ╰────────────────────────────────────╯
6:01:15 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:01:14 PM:
6:01:14 PM:
6:01:14 PM: "build.command" failed
audrey
6
@pit07 - I responded to you in helpdesk ticket #125840. Let’s continue troubleshooting there!
1 Like
audrey
7
Glad we got things sorted @pit07 !
Posting solution here for benefit of community:
I find the problem… it was on API side… certificate expired for my API url…
1 Like