question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request not getting removed from queue

See original GitHub issue

I am seeing the same log printing every two seconds

Aug 23 12:22:50  python3[15132]: 2018-08-23 12:22:50,326 WARNING  Application timed out while sending response
Aug 23 12:22:52  python3[15132]: 2018-08-23 12:22:52,330 WARNING  Application timed out while sending response
Aug 23 12:22:54  python3[15132]: 2018-08-23 12:22:54,333 WARNING  Application timed out while sending response
Aug 23 12:22:56  python3[15132]: 2018-08-23 12:22:56,336 WARNING  Application timed out while sending response
Aug 23 12:22:58  python3[15132]: 2018-08-23 12:22:58,339 WARNING  Application timed out while sending response
Aug 23 12:23:00  python3[15132]: 2018-08-23 12:23:00,342 WARNING  Application timed out while sending response
Aug 23 12:23:02  python3[15132]: 2018-08-23 12:23:02,345 WARNING  Application timed out while sending response
Aug 23 12:23:04  python3[15132]: 2018-08-23 12:23:04,348 WARNING  Application timed out while sending response
Aug 23 12:23:06  python3[15132]: 2018-08-23 12:23:06,350 WARNING  Application timed out while sending response

It appears that some request did time out but is not being removed. My HTTP timeout is very log (1800 seconds). There appears to be some code path where the timed out request never gets removed. This is a low traffic site so I know a new request isn’t timing out for every iteration of this loop. This appears to be a rare error as this is the first time I’ve seen it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
valdemarrolfsencommented, Sep 24, 2020

The issue seems to be related to the fact that the following error is not caught:

2020-09-24 12:57:34,895 ERROR    Exception in callback AsyncioSelectorReactor.callLater.<locals>.run() at /usr/local/lib/python3.8/site-packages/twisted/internet/asyncioreactor.py:287 
handle: <TimerHandle when=1428863.432028082 AsyncioSelectorReactor.callLater.<locals>.run() at /usr/local/lib/python3.8/site-packages/twisted/internet/asyncioreactor.py:287> 
Traceback (most recent call last): 
File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run 
self._context.run(self._callback, *self._args) 
File "/usr/local/lib/python3.8/site-packages/twisted/internet/asyncioreactor.py", line 290, in run 
f(*args, **kwargs) 
File "/usr/local/lib/python3.8/site-packages/daphne/server.py", line 275, in application_checker 
exception = application_instance.exception() 
asyncio.exceptions.CancelledError
0reactions
pranaysharmacommented, Oct 6, 2021

Is this issue solved?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Celery tasks not being completely removed from queue
Answering to my own question: this happens because while I'm making the workers not to consume from the queue (by calling cancel_consumer ) ......
Read more >
Messages Not Removed From Queue After Dequeue
Hi, I am trying to enqueue and Dequeue Java Objects using the JMS implementation of AQ.
Read more >
'You've been removed from queue' message : r/VALORANT
I picked my agent and we move past agent section onto the Team Vs Team screen (yk where it shows everyone's cards/act badges)...
Read more >
How to remove a queue item from queue - Microsoft Dynamics ...
Suggested Answer​​ You can simply select queue item and click on Remove button from command bar, the item will be removed from the...
Read more >
Delete Queue | Microsoft Learn
Queue deleted successfully. This does not mean that the queue is completely deleted upon the return of the API call. It means that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found