Canopy server Not Working on Windows 11
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.
The terminal just stays blank.
Expected Behavior
This is what should happen
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
@hi @DanKamNdi
Looking into that and will respond soon, thanks for flagging this!
hi, @DanKamNdi
Just letting you know we are still working on this
@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?
PR https://github.com/pinecone-io/canopy/pull/236
Also will keep the issue open until we understand/solve why the server stops responding after a specific time. @igiloh-pinecone @miararoy FYI