Replies: 1 comment 1 reply
-
I converted this to a support question as we have several tests (also on CI) that confirm that this example works on windows. So this seems to be more an issue with your specific environment than a bug with
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Setup
Versions
Feature Flags
Problem Description
When trying to connect to a database (tried localhost and managed azure flexible postgres database), an error occurs saying
"error connecting to server: Protocol not available (os error 92)"
.What are you trying to accomplish?
During porting of my sync diesel project to async diesel I came across this error. I'd like to use async-diesel for my database queries. Before porting to async diesel I had not problem connecting to databases.
What is the expected output?
A succesful connection
What is the actual output?
Error: CouldntSetupConfiguration(DatabaseError(UnableToSendCommand, "error connecting to server: Protocol not available (os error 92)"))
Are you seeing any additional errors?
No
Steps to reproduce
.env file:
DATABASE_USER=[user]
DATABASE_PASSWORD=[password]
DATABASE_NAME=[database_name]
DATABASE_HOST=[host]
DATABASE_URL=postgres://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}/${DATABASE_NAME}
Beta Was this translation helpful? Give feedback.
All reactions