Ask coding questions

← Back to all posts
Repl randomly stopped being able to establish an SSL connection
Zokalyx (0)

Error: There was an error establishing an SSL connection
at Socket.<anonymous> (/home/runner/momobot/node_modules/pg/lib/connection.js:76:37)
at Object.onceWrapper (events.js:421:26)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:297:12)
at readableAddChunk (_stream_readable.js:272:9)
at Socket.Readable.push (_stream_readable.js:213:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23)

I have not changed anything; program runs fine on my local machine and used to in my Repl up until a few moments ago. The database I want to connect to is responding properly.

xxpertHacker (865)

We need more info, you left out practically everything important.

Maybe link a Repl?

Zokalyx (0)

@xxpertHacker I solved it by creating a new repl.
I deleted the original one