Comments (4)
I've tried your minimal example locally and the tests passes for my setup. Additionally this issue indicates that this error also might be returned if your connection URL is somehow invalid. I agree that this error message is not optimal, but that's an issue in bb8 then.
Closed that I'm not able to reproduce the issue locally with a valid database URL.
from diesel_async.
Thank you for your reply. I don't think it's a URL issue. I have provided a repo to reproduce the issue.
from diesel_async.
I've checked your repo and I cannot reproduce the issue with that either. Both tests complete successful for me. Again I believe that this is just an issue with your database URL. Please note that diesel::PgConnection
and diesel_async::AsyncPgConnection
do not necessarily support the same database URL params/format. They are completely different implementations that support a different set of parameters. Just because a database URL works with one of the implementations it does not necessarily mean that it will work with the other implementation as well. Checkout the documentation of both types to learn about the required format.
from diesel_async.
Once I change my url format to the postgres://${whoami}@localhost/signatures
, the test passed.
The connection URLs should be in the form postgres://[user[:password]@]host/database_name
Thanks again.
from diesel_async.
Related Issues (20)
- Failed to find a type oid for ENUM_TYPE HOT 30
- Compiler requires `'static` when using transactions on generic AsyncConnection HOT 1
- The trait MultiConnection is not implemented
- conflicting implementations of trait `diesel_async::RunQueryDsl<_>` for type `paginate_async::PaginatedQuery<_, _>` HOT 4
- conflicting implementations of trait diesel_async::RunQueryDsl<_> for type paginate_async::PaginatedQuery<_, _> HOT 1
- use diesel_async::RunQueryDsl::execute conflicts with meilisearch_sdk execute HOT 5
- AsyncConnectionWrapper does not implement `build_transaction` HOT 2
- r2d2 not supported with AsyncPgConnection HOT 2
- Unable to connect to PostgreSQL in a separate Kubernetes pod using Diesel in Rust
- Failed to save array of enums HOT 2
- Is there some way to get the last insert id after an insert operation?
- Problem trait LoadQuery is not satisfied sub query when implement Pagination
- New release? HOT 1
- Incoherence between Diesel and Diesel_async on MySQL/MariaDB connection (UPDATE return value) HOT 1
- The conneciton pool returns corrupt connections HOT 3
- RunQueryDsl overrides calls to vec.first() to RunQueryDsl::first() HOT 4
- 0.4.x doesn't work with custom types HOT 1
- diesel_async does not support sql_query (async) HOT 3
- Unable to execute `COPY FROM`, likely due to missing `ExecuteCopyFromDsl` trait HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diesel_async.