Brendonovich / prisma-client-rust

Type-safe database access for Rust
https://prisma.brendonovich.dev
Apache License 2.0
1.75k stars 106 forks source link

Connection with prisma-photongo refused. #393

Closed danilolan closed 10 months ago

danilolan commented 10 months ago

I created the file prisma.rs like the documentation said:

fn main() {
    prisma_client_rust_cli::run();
}

but when i run the command returns me the following error:

Downloading https://prisma-photongo.s3-eu-west-1.amazonaws.com/prisma-cli-4.8.0-windows-x64.exe.gz to C:\Users\daniloherc\AppData\Local\prisma/binaries\cli\4.8.0\prisma-cli-windows-x64.exe
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("prisma-photongo.s3-eu-west-1.amazonaws.com")), port: None, path: "/prisma-cli-4.8.0-windows-x64.exe.gz", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 10061, kind: ConnectionRefused, message: "No connection could be made because the target machine actively refused it." })) }', C:\Users\daniloherc\.cargo\git\checkouts\prisma-client-rust-fa967aa5ad0ec391\895aac7\cli\src\binaries\mod.rs:142:35
 ConnectionRefused, message: "No connection could be made because the target machine actively refused it."
Brendonovich commented 10 months ago

It works on my network, are you behind a proxy or in a restricted network?

danilolan commented 10 months ago

No, no. Do you have any idea about what can I do??

Brendonovich commented 10 months ago

Maybe you could download the engine files manually via your browser and put them in the right place? Not much else I can think of sorry.

danilolan commented 10 months ago

Okay, thank you!