I currently trying to send message to a azure message queue from a company server, but seem to have issues with confirming that the message is received on azure.
Nobody is consuming the message, so it should be placed in the "dead message queue".
Messages that I send from the server does not increment that counter. Message send from a VM does increment the counter?
What could be blocking this? Any way to debug the issue.
None of my exceptions are being triggered..
Beisdes this, I noticed my messages are being received in the dead letter queue and not active message queue.
Nothings is consuming the message, but all azure queue examples I have seen so far mentions that the active message queue should be incremented?
The server does have a proxy for web access, but shoudl that be used aswell for this type of connection?
what is the difference between those two?
I added the stacktrace message:
The process failed: Microsoft.Azure.ServiceBus.ServiceBusCommunicationException: No connection could be made because the target machine actively refused it ErrorCode: ConnectionRefused ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
but my check for whether the connection isclosed
, always returns false.