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

await bot.launch() hangs forever during long polling in latest version #1989

Closed
rikumi opened this issue May 10, 2024 · 1 comment
Closed

Comments

@rikumi
Copy link

rikumi commented May 10, 2024

Context

  • Telegraf.js Version: 4.16.3
  • Node.js Version: 16.18.1 / 18.20.1
  • Operating System: macOS / Debian

Minimal Example Code Reproducing the Issue

const bot = new Telegraf(config.telegramBotToken);
bot.launch().then(() => console.log('Bot started!'))

Expected Behavior

bot.launch() should resolve when long polling begins.

This was true in Telegraf v4.4.0.

Current Behavior

bot.launch() hangs forever when long polling runs.

Error Message and Logs (export DEBUG='telegraf:*')

N/A

@MKRhere
Copy link
Member

MKRhere commented May 10, 2024

Duplicate: #1749

@rikumi rikumi closed this as completed May 15, 2024
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