#when using next image on localhost I am
1 messages · Page 1 of 1 (latest)
Hi @static cliff. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
elaborate on the error you're getting please
Sorry @static cliff, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
i am getting error 500 when requesting images, and my console gives me
cause: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
at TLSSocket.emit (node:events:390:28)
at TLSSocket._finishInit (node:_tls_wrap:944:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
but the app surely should find my local "built in" certificates just like any other does, why would this fail when it always worked before and no settings were changed on my end ?
nudge @static cliff
not sure if appropriate to tag, soz
sorry i missed it lol
you still havent figured it out?
can you share more of how you use the tls certs?
I never had to interact with them in any way, just assumed they are there by default and work as intended
never had a problem like this before until this
it shouldnt require anything specific, just the default ones surely ?
i know its dumb but have you tried rm -rf your node_modules and reinstall it completely?
there shouldn't be any cert issues if youre running it locally
yeah, doing it on the regular when faffing around with different packages and versions, def not the problem
the nextjs is local, the graphql request is for external server with data, and urls for images are yet from another server... none of which should be a problem.. images open fine as direct url etcetc..