canopy icon indicating copy to clipboard operation
canopy copied to clipboard

Canopy server Not Working on Windows 11

Open DanKamNdi opened this issue 2 years ago • 5 comments

Is this a new bug?

  • [X] I believe this is a new bug
  • [X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

The server starts in the terminal. But when I do canopy chat it doesn't do anything. It is just blank. It doesn't crash or do anything.

image

The terminal just stays blank. image

Expected Behavior

This is what should happen

image

Steps To Reproduce

I followed the setup.

Relevant log output

No response

Environment

- **OS**: Windows 11
- **Language version**: Python 3.11.4
- **Canopy version**: 0.5.0

Additional Context

No response

DanKamNdi avatar Dec 14 '23 10:12 DanKamNdi

@hi @DanKamNdi

Looking into that and will respond soon, thanks for flagging this!

miararoy avatar Dec 17 '23 07:12 miararoy

hi, @DanKamNdi

Just letting you know we are still working on this

miararoy avatar Dec 21 '23 18:12 miararoy

@DanKamNdi looks like uvicorn in Windows closes the receiving socket after a certain amount of time. Since we do not have a timeout for the health check (in canopy chat route), the request hangs. In any case, I will open a PR to raise a proper exception in case we reach a read timeout from the canopy server but is it possible for you to try restarting the server and let me know if it works?

izellevy avatar Dec 25 '23 15:12 izellevy

PR https://github.com/pinecone-io/canopy/pull/236

izellevy avatar Dec 25 '23 15:12 izellevy

Also will keep the issue open until we understand/solve why the server stops responding after a specific time. @igiloh-pinecone @miararoy FYI

izellevy avatar Dec 26 '23 15:12 izellevy