Cannot reply twice
See original GitHub issueContext
- Operating System: Fedora Linux 32
- Python Version: 3.8.6
- aiogram version: 2.11.2
- aiohttp version: 3.7.3
- uvloop version (if installed): not installed
Expected Behavior
I send the bot a line and it replies with two lines.
Current Behavior
When I make a simple echo-bot like in the example, everything works. When I add another await message.answer(), the bot replies the first time, but not again.
Failure Information (for bugs)
This locking occurs when there is a second await in the processing function, whether it’s calling a method of aiogram, aiosqlite or even another async function with nothing aio-related inside.
Steps to Reproduce
from aiogram import Bot, Dispatcher, executor
bot = Bot(token='my_token')
dp = Dispatcher(bot)
@dp.message_handler()
async def echo(message):
await message.reply('ok!')
await message.answer('op')
if __name__ == '__main__':
executor.start_polling(dp, skip_updates=True)
Failure Logs
There is nothing relevant in the logs.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why are my sent messages showing up twice?
I had ended up fixing the problem by going to: Outlook options> Mail > Save Messages > Uncheck "Save copies of messages in...
Read more >Can you send an email about twice if a person doesn't ... - Quora
No. It's because of the way the email is sent through their e-mailing system. They tell you not to reply because no one...
Read more >imessage no reply option - Apple Support Communities
i can't reply to imessages. This has been going on for a while. if i double tap,the message i want to reply to,...
Read more >How To Kill Reply-All Email Chains Before They Start
Here are two ways to keep reply-all chains from taking over your life. One tip is for senders of mass emails. The other...
Read more >Gmail: Responding to Email - GCF Global
Manage Gmail replies and learn the various options for replying to Gmail messages in ... vacation reply so people know you're unable to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Closing as inactive. Feel free to comment here if it’s still reproducible.
@Zverik Is it still reproducible?