Facing problem while executing this command cargo run --bin openleadr-vtn # starting the VTN #157
Replies: 2 comments
|
Dear @abhishek-ceremobility, I converted this issue into a discussion in the Q&A channel. I hope that gets you a step further. |
0 replies
|
Duplicate of #158 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Dear Sir,
I trust this message finds you well.
I am currently engaged with the OPENADR VTN open-source project. I have successfully set up using the latest version of Rust and managed to execute all necessary commands. However, I am facing a challenge during the compilation process while this command
cargo run --bin openleadr-vtn # starting the VTN , from the following commands VTN instance:
docker compose up -d db # starting up the database in Docker compose
cargo sqlx migrate run # creating the DB schema
cargo run --bin openleadr-vtn # starting the VTN
**cargo run --bin openleadr-vtn # starting the VTN Encountered an issue during compilation while running this command **
error: error returned from database: password authentication failed for user "openadr"
--> openleadr-vtn\src\data_source\postgres\resource.rs:129:34
|
129 | let resource: Resource = sqlx::query_as!(
| _________________________^
130 | | PostgresResource,
131 | | r#"
132 | | INSERT INTO resource (
... |
147 | | to_json_value(new.targets)?,
148 | | )
| |^
|
= note: this error originates in the macro
$crate::sqlx_macros::expand_querywhich comes from the expansion of the macrosqlx::query_as(in Nightly builds, run with -Z macro-backtrace for more info)All reactions