FetchError on npx drizzle-kit studio
#1274
-
MacBook, SvelteKit, LTS Node drizzle-kit: v0.20.14
drizzle-orm: v0.30.6
No config path provided, using default path
Reading config file '/Users/snap7/review/drizzle.config.ts'
[Warning] Drizzle Studio is currently in Beta. If you find anything that is not working as expected or should be improved, feel free to create an issue on GitHub: https://github.com/drizzle-team/drizzle-kit-mirror/issues/new or write to us on Discord: https://discord.gg/WcRKz2FFxN
Drizzle Studio is up and running on https://local.drizzle.studio
FetchError: request to https://review-snap-7-.turso.io/v2/pipeline failed, reason: Client network socket disconnected before secure TLS connection was established
at ClientRequest.<anonymous> (/Users/snap7/review/node_modules/@libsql/isomorphic-fetch/node_modules/node-fetch/lib/index.js:1501:11)
at ClientRequest.emit (node:events:518:28)
at TLSSocket.socketErrorListener (node:_http_client:500:9)
at TLSSocket.emit (node:events:518:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'ECONNRESET',
code: 'ECONNRESET'
}
* Trying 66.51.123.211:443...
* Connected to review-snap-7-.turso.io (66.51.123.211) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to review-snap-7-.turso.io:443
* Closing connection
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to review-snap-7-.turso.io:443
|
Beta Was this translation helpful? Give feedback.
Answered by
giorgitchanturidze
Apr 1, 2024
Replies: 2 comments
-
Today I created a new Turso account and DB. drizzle-kit: v0.20.14
drizzle-orm: v0.30.4
No config path provided, using default path
Reading config file '/Users/snap7/review/drizzle.config.ts'
[Warning] Drizzle Studio is currently in Beta. If you find anything that is not working as expected or should be improved, feel free to create an issue on GitHub: https://github.com/drizzle-team/drizzle-kit-mirror/issues/new or write to us on Discord: https://discord.gg/WcRKz2FFxN
Drizzle Studio is up and running on https://local.drizzle.studio
LibsqlError: SERVER_ERROR: Server returned HTTP status 502
at mapHranaError (file:///Users/snap7/review/node_modules/@libsql/client/lib-esm/hrana.js:257:16)
at HttpClient.execute (file:///Users/snap7/review/node_modules/@libsql/client/lib-esm/http.js:56:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at LibSQLPreparedQuery.all (/Users/snap7/review/node_modules/src/libsql/session.ts:170:16)
at async /Users/snap7/review/node_modules/@drizzle-team/studio/index.js:248:24
at async Promise.all (index 1)
at async /Users/snap7/review/node_modules/@drizzle-team/studio/server.js:8293:19
at async /Users/snap7/review/node_modules/@drizzle-team/studio/server.js:703:9
at async /Users/snap7/review/node_modules/@drizzle-team/studio/server.js:6557:7
at async /Users/snap7/review/node_modules/@drizzle-team/studio/server.js:5808:62 {
code: 'SERVER_ERROR',
rawCode: undefined,
[cause]: HttpServerError: Server returned HTTP status 502
at errorFromResponse (file:///Users/snap7/review/node_modules/@libsql/hrana-client/lib-esm/http/stream.js:363:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 502
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
I played a little with the Turso browser GUI and everything started working. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giorgitchanturidze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I played a little with the Turso browser GUI and everything started working.