Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Websocket health cheack & reconn #8

Open
Sylariam opened this issue Mar 31, 2024 · 2 comments
Open

Proposal: Websocket health cheack & reconn #8

Sylariam opened this issue Mar 31, 2024 · 2 comments

Comments

@Sylariam
Copy link

I've experiencing several websocket abnoral closure. This happens randomly.
2024/03/31 18:04:24 websocket.go:90: Error when reading from WebSocket: websocket: close 1006 (abnormal closure): unexpected EOF
Once happened, new prompt could not receive PromptMessage afterwards.

@Sylariam
Copy link
Author

Or we just have to create a new conn everytime we initiate a new prompt?

@richinsley
Copy link
Owner

It does need some attention. It was the first piece I wrote, and I haven't circled back to improving it yet. I'll take a look at it in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants