You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After upgrading from node 20 to node v22.12.0 (LTS), running my project locally this error occurred:
A client connection error occurred; reconnecting because of "waitUntilAvailable=30000". ClientConnectionClosedError: network error: Error: connect ECONNREFUSED ::1:10705
at <unknown> (ClientConnectionClosedError: network error: Error: connect ECONNREFUSED ::1:10705) {
[cause]: Error: connect ECONNREFUSED ::1:10705
at <unknown> (Error: connect ECONNREFUSED ::1:10705) {
errno: -4078,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 10705
}
}
This happens when trying to sign in via emailPasswordSignIn server action (using @edgedb/auth-nextjs 0.4.0-canary.20241211T200202)
But I can connect to my instance REPL, and run the command edgedb ui and browse the database, that all works.
// auth.ts (auth related server actions)import{auth}from"@/edgedb";const{ emailPasswordSignIn }=auth.createServerActions();exportconstsignInAction=async(formData: FormData)=>{consttokenData=awaitemailPasswordSignIn(formData);// ^-- bug occurs happens here when this function is called}
Expected behavior
I expect the client to connect properly and be able to use the auth extention.
Versions
OS: Windows 11 Pro 23H2 build 22631.4602 with WSL2 on Ubuntu 22.04.3 LTS
EdgeDB server: 5.7+a084c4f (also occurs on 5.6+51fd5fe before upgrading)
EdgeDB CLI: 6.0.2+275a1ad
edgedb-js: 0.4.0-canary.20241211T200202 (also occurs on 0.3.2)
Node: 22.12.0 (20.18.1 works)
Additional context
Workaround:
running edgedb configure set listen_addresses 127.0.0.1 ::1 via the cli (source docs)
results in:
Describe the bug
After upgrading from node 20 to node v22.12.0 (LTS), running my project locally this error occurred:
This happens when trying to sign in via
emailPasswordSignIn
server action (using@edgedb/auth-nextjs 0.4.0-canary.20241211T200202
)But I can connect to my instance REPL, and run the command
edgedb ui
and browse the database, that all works.Reproduction
How I create my client & auth:
Code that produces the error:
Expected behavior
I expect the client to connect properly and be able to use the auth extention.
Versions
OS: Windows 11 Pro 23H2 build
22631.4602
with WSL2 on Ubuntu22.04.3
LTSEdgeDB server:
5.7+a084c4f
(also occurs on5.6+51fd5fe
before upgrading)EdgeDB CLI:
6.0.2+275a1ad
edgedb-js:
0.4.0-canary.20241211T200202
(also occurs on0.3.2
)Node: 22.12.0 (
20.18.1
works)Additional context
running
edgedb configure set listen_addresses 127.0.0.1 ::1
via the cli (source docs)results in:
error generating query builder #413 (related to just generating code via edgedb-js?)
can't bind new ip on wsl edgedb edgedb#3932 (old? can probably be closed)
Deno Fresh ConnectionRefused edgedb-examples#94 (related to deno)
Deno + EdgeDB solution issue #376 (another one related to deno)
::1
?Listen on IPv6 by default too edgedb-cli#798
The text was updated successfully, but these errors were encountered: