We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno/ext/node/polyfills/_tls_wrap.ts
Line 399 in e348c11
Unable to connect to the database SequelizeConnectionError: tlssock._start is not a function at Client._connectionCallback (file:///home/roj/.cache/deno/npm/registry.npmjs.org/sequelize/6.32.1/lib/dialects/postgres/connection-manager.js:147:20) at Client._handleErrorWhileConnecting (file:///home/roj/.cache/deno/npm/registry.npmjs.org/pg/8.11.1/lib/client.js:327:19) at Client._handleErrorEvent (file:///home/roj/.cache/deno/npm/registry.npmjs.org/pg/8.11.1/lib/client.js:337:19) at Connection.emit (ext:deno_node/_events.mjs:382:28) at Socket.<anonymous> (file:///home/roj/.cache/deno/npm/registry.npmjs.org/pg/8.11.1/lib/connection.js:102:21) at Object.onceWrapper (ext:deno_node/_stream.mjs:1929:30) at Socket.emit (ext:deno_node/_stream.mjs:1852:9) at addChunk (ext:deno_node/_stream.mjs:2874:16) at readableAddChunk (ext:deno_node/_stream.mjs:2853:13) at Socket.Readable.push (ext:deno_node/_stream.mjs:2792:14) { name: "SequelizeConnectionError", parent: TypeError: tlssock._start is not a function at Object.connect (ext:deno_node/_tls_wrap.ts:334:17) at getSecureStream (file:///home/roj/.cache/deno/npm/registry.npmjs.org/pg/8.11.1/lib/stream.js:23:16) at Socket.<anonymous> (file:///home/roj/.cache/deno/npm/registry.npmjs.org/pg/8.11.1/lib/connection.js:100:23) at Object.onceWrapper (ext:deno_node/_stream.mjs:1929:30) at Socket.emit (ext:deno_node/_stream.mjs:1852:9) at addChunk (ext:deno_node/_stream.mjs:2874:16) at readableAddChunk (ext:deno_node/_stream.mjs:2853:13) at Socket.Readable.push (ext:deno_node/_stream.mjs:2792:14) at TCP.onStreamRead [as onread] (ext:deno_node/internal/stream_base_commons.ts:190:29) at TCP.#read (ext:deno_node/internal_binding/stream_wrap.ts:245:18), original: TypeError: tlssock._start is not a function at Object.connect (ext:deno_node/_tls_wrap.ts:334:17) at getSecureStream (file:///home/roj/.cache/deno/npm/registry.npmjs.org/pg/8.11.1/lib/stream.js:23:16) at Socket.<anonymous> (file:///home/roj/.cache/deno/npm/registry.npmjs.org/pg/8.11.1/lib/connection.js:100:23) at Object.onceWrapper (ext:deno_node/_stream.mjs:1929:30) at Socket.emit (ext:deno_node/_stream.mjs:1852:9) at addChunk (ext:deno_node/_stream.mjs:2874:16) at readableAddChunk (ext:deno_node/_stream.mjs:2853:13) at Socket.Readable.push (ext:deno_node/_stream.mjs:2792:14) at TCP.onStreamRead [as onread] (ext:deno_node/internal/stream_base_commons.ts:190:29) at TCP.#read (ext:deno_node/internal_binding/stream_wrap.ts:245:18) }
import { Sequelize } from "npm:sequelize@6.32.1"; // deno-types="npm:@types/pg@8.10.2" import _pg from "npm:pg@8.11.1"; const sequelize = new Sequelize( "postgres://jcelrjot:cD8Lg2tMrk0h2ZdJuOgmIM1UWDP-7Kc5@trumpet.db.elephantsql.com/jcelrjot", { dialectOptions: { ssl: { require: true, rejectUnauthorized: false }, }, }, ); await sequelize.authenticate();
https://stackoverflow.com/questions/76795350/sequelize-can-not-connect-to-postgressql-in-deno
The text was updated successfully, but these errors were encountered:
fix(node): implement TLSSocket._start (#20120)
33dc5d2
Closes #19983 Closes #18303 Closes #16681 Closes #19978
fix(node): implement TLSSocket._start (denoland#20120)
21233a1
Closes denoland#19983 Closes denoland#18303 Closes denoland#16681 Closes denoland#19978
dd3d0f6
littledivy
Successfully merging a pull request may close this issue.
deno/ext/node/polyfills/_tls_wrap.ts
Line 399 in e348c11
Stack trace
Reproduction
https://stackoverflow.com/questions/76795350/sequelize-can-not-connect-to-postgressql-in-deno
The text was updated successfully, but these errors were encountered: