N
Neon4w ago
correct-apricot

Neon Local Connect Issue: Password Authentication Failed

Hello! I've got Neon Local Connect Extension set up through Cursor, and I am running the Docker container through Docker Desktop on Windows. Even though the container is running and the extension window shows that it is connected to the correct branch, I do not see anything populated in the schema visualizer. Moreover, when I attempt to check the connection through powershell I get the following error: psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "neon" I have tried a few different methods of the command as you can see in the screenshot, with and without ssl, but the error remains the same each time.
No description
No description
No description
4 Replies
correct-apricot
correct-apricotOP4w ago
Interestingly the connection seems to work if I execute the command from a terminal within docker desktop
No description
correct-apricot
correct-apricotOP4w ago
confirmed this is just an issue running in windows, running cursor and all commands through WSL works fine
metropolitan-bronze
metropolitan-bronze4w ago
@Foxblush thanks for following up - is it something specific to running Neon Local Connect in Windows? Should we add a note to docs?
correct-apricot
correct-apricotOP4w ago
it seems to be, haven't yet figured out what might be the underlying issue when running NLC in windows, but I definitely know it wasn't just a Cursor issue. any powershell I tried to execute a psql connect would fail with the same issue. when I saw the Docker terminal worked, I tried it in a WSL terminal outside docker, which worked as well. so I loaded up Cursor in WSL and found that it worked fine. even did a drizzle-kit push with it. and schema visualization is working in the extension window.

Did you find this page helpful?