Skip to content
New issue

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

Better error for connect/shell on connection failure #980

Open
cooperbenson-qz opened this issue Feb 28, 2025 · 0 comments
Open

Better error for connect/shell on connection failure #980

cooperbenson-qz opened this issue Feb 28, 2025 · 0 comments

Comments

@cooperbenson-qz
Copy link

cooperbenson-qz commented Feb 28, 2025

EDIT I realized it was due to a connectivity issue with my VPN. Ideally the CLI would return a more helpful error in this situation. I've updated the title accordingly


I've encountered an issue where the connect and shell commands immediately error

❯ pscale connect load_testing main
Secure connection to database load_testing and branch main is established!.

Local address to connect your application: 127.0.0.1:3306 (press ctrl-c to quit)
Error: unimplemented: unary response has zero messages
❯ pscale shell load_testing main
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1:54288' (61)
Error: unimplemented: unary response has zero messages

I can see the database so I don't think it's an auth issue

❯ pscale database show load_testing
  NAME           CREATED AT     UPDATED AT     NOTES  
 -------------- -------------- -------------- ------- 
  load_testing   23 hours ago   23 hours ago 

Version:

❯ pscale --version
pscale version 0.226.0 (build date: 2025-02-27T22:07:04Z commit: 87ec48f)
@cooperbenson-qz cooperbenson-qz changed the title pscale connect/shell failure Better error for connect/shell on connection failure Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant