Skip to content

local setup on windows not working "forcibly closed by the remote host" #28

Description

@janekx21

I tryed to do the local setup on windows but it did not work. Here is what i did:

  1. start postgres db pg_ctl start
  2. copy .env sh .\scripts\copy-env.sh (it uses sh from git for windows)
  3. modify the .env and replace 0.0.0.0 and port with just localhost
  4. diesel setup
  5. cargo run

It did compile but at runtime it aborts.

PS C:\Users\<my-user>\Git\realworld-v1-rust-actix-web-diesel> cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.60s
     Running `target\debug\conduit.exe`
start conduit server...
2023-08-11 13:23:58.922 CEST [23336] LOG:  could not receive data from client: An existing conn
ection was forcibly closed by the remote host.

2023-08-11 13:23:58.923 CEST [16500] LOG:  could not receive data from client: An existing conn
ection was forcibly closed by the remote host.

2023-08-11 13:23:58.925 CEST [17720] LOG:  could not receive data from client: An existing conn
ection was forcibly closed by the remote host.

2023-08-11 13:23:58.926 CEST [5600] LOG:  could not receive data from client: An existing conne
ction was forcibly closed by the remote host.

2023-08-11 13:23:58.931 CEST [16948] LOG:  could not receive data from client: An existing conn
ection was forcibly closed by the remote host.

2023-08-11 13:23:58.933 CEST [17096] LOG:  could not receive data from client: An existing conn
ection was forcibly closed by the remote host.

Can someone help me get this app running?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions