-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
weird errors from MessageQueueException #566
Comments
That sounds weird. It is normal that the debugger periodically detects I have never seen that particular exception message before though, so I am curious to know what caused it. First off: Is there any more information in that exception message you're seeing in the output windows, or is it just that single line of information? Second thing: Is your program a Console Application? If so, can you show me the structure of the |
Interestingly, I get the first message even when Rebus is all commented out (reference still exists), but not the Exception and it stops once the application has started up. If I leave my Rebus configuration in place, I continue to get both messages until the debugger shuts down (either because of my actions or the eventual shut down). So it seems they are at least partially related (MessageQueueException and Event message) The application is a WebApi application and here is my configuration.
|
Sound to me like the I know the But I have never seen that other message. What other things are you using in your application? How long does the application keep running with the debugger attached when you start it? Does it still shut down if you comment out the Rebus bits? |
The I'm using a few other 'things' like SimpleInjector, Serilog, etc. (there's quite a long list). If I comment out the Rebus bits the VS does NOT shut down, it only does this when I have Rebus configured as above. |
That's weird. Can you check which Rebus package versions you are using? You can just post the full package.config here if you like 😄 |
|
just as I was posting to you that it seemed to go away, VS shutdown again. I would guess it was between 10 and 12 minutes between the start and the shutdown. There's nothing in the logs in terms of errors. I have the logs set to Warning and there's not even any warnings. |
Investigations continue, I swapped to SQL Transport and I've been running 96+ minutes without any shutdown. The MSMQ transport is still shutting down after 10-12 minutes. I'm going to switch my apps to SQL, because of the other benefits discussed in a different thread but thought you should know about the MSMQ issue. |
Is it a small application? Or can you reproduce it in a smaller application? You shouldn't change the transport because it's not working @stevengopmo . |
We are changing because the better timeout manager features, however I will try and take some time to replicate this issue in a smaller application when I have some time. |
If you can reproduce the issue in a piece of code that you can send to me, I will be happy to figure out what this is about. |
@stevengopmo any news about this issue? |
I am on vacation this week and will work on a sample when I return.
…On Dec 15, 2016 01:12, "Mogens Heller Grabe" ***@***.***> wrote:
@stevengopmo <https://github.com/stevengopmo> any news about this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#566 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANj1hwmrOMI2nQdnhVBWOVqqMY4BoHTlks5rINpEgaJpZM4K-C1j>
.
|
Awesome, thanks 😄 have a nice vacation! 🌞 |
so of course my sample console app that I intend to replicate this issue with so far does not have the problem... SIGH! I will continue to add stuff from my real application until I find what is causing the problem, but it will take a while probably to find. If you want to close for now go ahead and I'll reply when I have more information. |
bummer dude 😄 I have never myself experienced the issue you are experiencing, and I have not had anyone report anything like it to me. At this point I will assume that it is somehow something else that is tricking you, so I really hope you can narrow it down and figure out what it is. In case you figure out what it is, I am curious to know about it. For now, I will close this issue. |
This same thing is being reported as occurring with App Insights and Stackify Prefix where they can have this message start popping up and go away depending upon whether the profilers are active. Its not an exception in those cases, just a debug message being outputted. My current running thought is that this is a setting that is set by the profilers to increase logging output or detail. |
@danatcofo thanks for this I will check it out as I am using Prefix too. I don't think it will solve my msmq problem but it will be a start |
Encountering this problem too. However not with MSMQ or SQL transports but with the Rebus.AzureStorage transport and App Insight enabled. My output log is being spammed with calls to
I think these calls are being caused by the code inside Windows.AzureStorage. What Rebus' AzureStorage does is waiting for the next message to arrive to handle it in it's pipeline. See https://github.com/rebus-org/Rebus.AzureStorage/blob/4.0.0/Rebus.AzureStorage/AzureStorage/Transport/AzureStorageQueuesTransport.cs line 101.
Edit: striking through my wrong claims |
it definitely SHOULDN'T be trying to receive messages when it's a one-way client... could you maybe post your Rebus configuration? |
I was totally wrong on my claims of the OneWayClient. Guess it has been a long weekend for me, but whilst testing I had my config wrong. I can verify now that this App Insight behavior occurs only on the two-way not the one-way transports. |
I am happy to hear that 😁 |
Running in VS 2015, I continually see the following in my output window.
Event 10 was called with 5 argument(s) , but it is defined with 6 paramenter(s). Exception thrown: 'System.Messaging.MessageQueueException' in System.Messaging.dll
the event 10 part can be different (e.g. Event 7), but it always follows immediately with "Exception thrown". After a certain number of these, my debugging session shuts down. Any ideas?
IF you can point me to how I can get the specific error from the MessageQueueException I'll do it, but it seems I read somewhere this is what happens when there are no messages in the queue.
The text was updated successfully, but these errors were encountered: