-
Notifications
You must be signed in to change notification settings - Fork 15
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
Can't get pgmockproxy to start #2
Comments
Hey @andheiberg, what is the code you're using to connect to the database? I think what might be happening is that you're closing the connection. When this happens, the proxy exits indeed. |
@henvic there is no code used for connecting to the database. I used the psql CLI tool as shown above. The proxy closes before psql even asks me to type the password. |
Interestingly by adding some code (as per the suggestion in jackc/pgproto3#15) that denies the SSL request I got When I use this method of configuring psql everything works 👍
The issue persists when using |
Setup:
Get a postgres server running:
Run the proxy:
Connect to the proxy. (work around issue with SSL jackc/pgproto3#15):
Result:
This differs dramatically from what can be seen in the readme. So far I've yet to find an obvious explanation for what is going on :(
The text was updated successfully, but these errors were encountered: