-
Notifications
You must be signed in to change notification settings - Fork 18
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
Closing the stream because it has been inactive for 600 seconds #427
Comments
hey @tarunrawat87 thanks for the report. The References:
|
@alvarowolfx init function creates a new stream connection and create a new Writer instance using newly created streamId. Can you tell me if there is any configuration I can pass to increase the timeout of idle steam ? |
I ran some tests here and indeed the reconnect functionality is broken because the service side changed a bit how the disconnection happen. I'll send a PR to fix this. About this, this is not configurable, is a restriction on the service side to terminate client connections that are idle, as they are expensive to maintain and kept open. So it's not possible configure it via the library.
|
@alvarowolfx |
The reconnection is handled by the library itself, no need to create a new stream connection and writer.
|
Thanks for stopping by to ask us a question! Please make sure to include:
`
code: 10,
details: 'Closing the stream because it has been inactive for 600 seconds.
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
The text was updated successfully, but these errors were encountered: