Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Canopy server Not Working on Windows 11 #225

Open
2 tasks done
DanKamNdi opened this issue Dec 14, 2023 · 5 comments
Open
2 tasks done

Canopy server Not Working on Windows 11 #225

DanKamNdi opened this issue Dec 14, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@DanKamNdi
Copy link

Is this a new bug?

  • I believe this is a new bug
  • 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 DanKamNdi added the bug Something isn't working label Dec 14, 2023
@miararoy
Copy link
Contributor

@hi @DanKamNdi

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

@miararoy
Copy link
Contributor

hi, @DanKamNdi

Just letting you know we are still working on this

@izellevy
Copy link
Collaborator

izellevy commented Dec 25, 2023

@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 izellevy linked a pull request Dec 25, 2023 that will close this issue
7 tasks
@izellevy
Copy link
Collaborator

izellevy commented Dec 25, 2023

PR #236

@izellevy izellevy removed a link to a pull request Dec 26, 2023
7 tasks
@izellevy
Copy link
Collaborator

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

@igiloh-pinecone igiloh-pinecone changed the title [Bug] Canopy Chat Not Working Canopy server Not Working on Windows 11 Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants