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

telegram client polling is incompatible with blue-green deployments #2466

Closed
0xPBIT opened this issue Jan 17, 2025 · 3 comments
Closed

telegram client polling is incompatible with blue-green deployments #2466

0xPBIT opened this issue Jan 17, 2025 · 3 comments

Comments

@0xPBIT
Copy link
Contributor

0xPBIT commented Jan 17, 2025

Describe the bug
The telegram client uses long polling. A requirement of this implementation is that only one client can be running at any given moment. This presents a problem for cloud-based deployments where multiple instances may be running during a deployment phase.

The client throws an error, which crashes the entire runtime instead of gracefully shutting down the telegram client.

To Reproduce

Run an agent with telegram clients in two separate terminal windows. Deploy an agent on a blue/green deployment such as Digital Ocean apps, then trigger a new deployment.

Expected behavior

Graceful shutdown of telegram client to accommodate blue green deployments

@0xPBIT 0xPBIT added the bug Something isn't working label Jan 17, 2025
Copy link
Contributor

Hello @0xPBIT! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

@AIFlowML
Copy link
Collaborator

hello @0xPBIT We wil take this in exam.

Copy link
Contributor

This issue has been automatically marked as stale due to 30 days of inactivity.
If no further activity occurs within 7 days, it will be closed automatically. Please take action if this issue is still relevant.

@lalalune lalalune closed this as not planned Won't fix, can't repro, duplicate, stale Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants