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.

Receiver stops processing messages after sometime automatically

See original GitHub issue

In our project, we have have few exchanges on which messages are transferred. I created one connection to qpid using rhea-promise. With the same connection I have created two different receivers listening to different exchanges. For some reason, after couple of hours(this time varies for different systems) receiver stops processing messages completely. However if I start a new receiver with exact same options after original receiver stops, new receiver works fine for same amount of time and same thing is repeated. Same thing happens for a topic as well, so I am guessing it is something todo with receiver.

The whole time checked, before and after processing messages, receiver had credit.

Receiver options are as follows:

source: { 
   address: Name of topic or exchange
},
credit_window: 1,
rcv_settle_mode: 1,
autoaccept: false

Is there a limit to number of messages a receiver can process? If so, can that be reset or made infinite?

P.S. This issue is show stopper for us.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
grscommented, Jun 10, 2019

No, it is connection level only. My guess is that it is a different issue from your original report (which was due to the rcv_settle_mode). One suggestion would be to try and isolate the difference between the queue on which you have a problem and others and try to get a reproducer of some kind.

0reactions
GaikwadPratikcommented, Jun 10, 2019

@grs, @amarzavery ,

Is there a way to collect the logs from a particular queue, exchange or sender and receiver nodes? Because we are getting this issue in Production only for a particular queue. Restarting the consumer service which restarts(recreates) sender and receiver on that queue seems to work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - SMS receiver stops working after sometime
But after testing for a few days, around 3-4 days, the app suddenly stopped working to read those and any other messages. Note:...
Read more >
Unable to receive some messages from Service Bus Queue
After processing data from Event Hub, I am saving data to Azure Service Bus. ... I am not able to get back the...
Read more >
SMQ2 queue stops | SAP Community
Hi,. I have an integration process that sends a synchronous message (soap adapter) to a receiver system. After that the receiver system ...
Read more >
Fix problems sending, receiving or connecting to Messages
When it's ready, your phone will vibrate. Try other troubleshooting steps. There's not enough space on my device: If you get a notification...
Read more >
10 Reasons Why Some Messages Don't Get Delivered
If a certain amount of time passes without the SMS being successfully delivered, your mobile carrier might decide to stop trying. For example, ......
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