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

Console losing GPRC streaming connection #3265

Open
wesbillman opened this issue Oct 31, 2024 · 3 comments
Open

Console losing GPRC streaming connection #3265

wesbillman opened this issue Oct 31, 2024 · 3 comments
Labels
console Web console next Work that will be be picked up next P3

Comments

@wesbillman
Copy link
Member

wesbillman commented Oct 31, 2024

After about 20s on a deployed FTL instance, the GRPC connection seems to timeout (or have some other streaming connection error)

Note this does not happen in local development with ftl dev

useSchema - streamSchema - Connect error: ConnectError: [unknown] missing EndStreamResponse
    at Zt.from (index-7hTRnJxG.js:279:9628)
    at index-7hTRnJxG.js:280:41319Caused by: missing EndStreamResponse
Console service - streamEvents - Connect error: ConnectError: [unknown] missing EndStreamResponse
    at Zt.from (index-7hTRnJxG.js:279:9628)
    at index-7hTRnJxG.js:280:41319Caused by: missing EndStreamResponse

This can lead to other issues as reported here: #3260

@wesbillman wesbillman added the console Web console label Oct 31, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Oct 31, 2024
@ftl-robot ftl-robot mentioned this issue Oct 31, 2024
@stuartwdouglas
Copy link
Collaborator

Maybe something in the network setup is killing idle connections. Does it still happen if you send a ping every 10s?

@alecthomas
Copy link
Collaborator

These kinds of timeouts are really common in deployed environments, they'll typically be some Envoy setting, or LB setting. They're always annoying.

@wesbillman
Copy link
Member Author

I don't think we have a mechanism currently to send a ping from the console. I could setup a service on the client side to do this if it would be helpful though. But yeah, I think it's some setting/config that will need to be figured out :)

@stuartwdouglas stuartwdouglas added next Work that will be be picked up next P3 and removed triage Issue needs triaging labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
console Web console next Work that will be be picked up next P3
Projects
None yet
Development

No branches or pull requests

3 participants