Quantcast
Channel: Service Bus forum
Viewing all 1916 articles
Browse latest View live

Service Bus Error

$
0
0

Hi,

My service bus was all working correctly, and then between 20:00 and 21:00 on the 4th February, it stopped working.

When I test this with fiddler, I post the following:

https://webthings-housemark.servicebus.windows.net/

User-Agent: Fiddler
Authorization' : 'SharedAccessSignature sr=webthings-housemark.servicebus.windows.net&sig=71vxeMBKo%2flOAuEaFlVVbaN7aQs6QWvzWNPS4GZlwbk%3d&se=1512075219&skn=webthings-housemark
Content-Type: application/atom+xml;type=entry;charset=utf-8
Host: webthings-housemark.servicebus.windows.net
Content-Length: 73

<body>

{"dt":"test","si":"123456","gr":"123456", "v":"10.10","mi";"housemark"}

</body>

And get the following response:

2E8

<Fault xmlns="http://schemas.microsoft.com/ws/2005/05/envelope/none"><Code><Value>Receiver</Value><Subcode><Value xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</Value></Subcode></Code><Reason><Text xml:lang="en-US">The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &lt;serviceDebug&gt; configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.</Text></Reason></Fault>
0

I have changed nothing for months, and this has worked for well over 6 months now.

I see nothing on any operational logs.


Service Bus 1.1 Windows Services and "Log On As"

$
0
0
When our on-premise Service Bus was created, the services running on the host machine (Service Bus Gateway, Service Bus Message Broker, and Service Bus Resource Provider) run under the credentials/login of the user who created the bus. We are looking to switch this to a general service account. What changes are required, if any, to the service bus configuration to allow for a different login to start and run the services for Service Bus. Or is a specific/special login required?

Supported native procols for Azure Service Bus

$
0
0

Hello,

I'm building an android client which needs to consume 2 end points in ASB. Sadly, I can't find a library that supports AMQS that will run on Android. So this rules out third party libraries so I'm looking to write my own TCP / Web socket layer to interface with ASB. Is there any information regarding TC / Web socket to interface into SB?

Real time notification implementation using azure service bus in Web App

$
0
0
In my web application(using spring framework), there is a notification bell icon which shows notifictaion count and on click shows list of notifications the user has.  
I am hitting an api to check for new notification availability on every 15 second.I want to relace this polling of api with azure service bus but confused what to use azure service bus queues or topics or relays.  
I have already read the documentation 'Overview of azure service bus' on microsoft's website.  
Please help me what to choose ?

Service Bus Namespace - The remote name could not be resolved

$
0
0

Hello,

Suddenly and temporarily, I could not send messages to one of our Service Bus namespaces yesterday afternoon.  The namespace and everything I did against it (Send, Receive, use Service Bus Explorer, etc) worked perfectly leading up to that point.  This morning, everything is back to normal again.

Error Logs revealed the following Errors yesterday:

The token provider was unable to provide a security token while accessing 'https://dataintegration-test-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The remote name could not be resolved: 'dataintegration-test-sb.accesscontrol.windows.net''.

System : System.Net.WebException.  The remote name could not be resolved: 'dataintegration-test.servicebus.windows.net'

So, we have not put anything into production yet, but I am concerned about this happening after we go live with our Service Bus applications.  What causes this issue and how can I defend against it in a production environment?

Thanks,

Terry

Azure Event Hub - Started Receiving Storage Capture Events Today 2018-06-06 ?????

$
0
0

I have had this event hub up for months.  For some reason today it started receiving events from Blob storage which is configured to capture the Event Hub messages.

The Event Hub listener started dying from receiving poison messages.  These look like Event Grid Messages.

[{
  "topic": "/subscriptions/dadsdaddasddsfadsddfdfasdsadfad69f3d24f/resourcegroups/BogusResourceGroup/providers/Microsoft.EventHub/namespaces/boguseventhub",
  "subject": "bogusservice",
  "eventType": "Microsoft.EventHub.CaptureFileCreated",
  "eventTime": "2018-06-06T22:28:51.4732946Z",
  "id": "dadafdadfasdadfagadsfasd",
  "data": {
    "fileUrl": "https://bogusstorage.blob.core.windows.net/bogusservicebackup/boguseventhub/bogusservice/4/2018/06/06/22/23/51.avro",
    "fileType": "AzureBlockBlob",
    "partitionId": "4",
    "sizeInBytes": 2681,
    "eventCount": 3,
    "firstSequenceNumber": 1308,
    "lastSequenceNumber": 1310,
    "firstEnqueueTime": "2018-06-06T22:28:50.348Z",
    "lastEnqueueTime": "2018-06-06T22:28:51.27Z"
  },
  "dataVersion": "1",
  "metadataVersion": "1"
}]

I know I did not configure this.  This one Event Hub is receive capture events from more than 1 capture location / blob container.

Is it possible another person configured this?  Yes that is possible. 

However, I need to know how to turn this off.

Streaming to an Event Hub

$
0
0

I have an application that can be configured to send messages to a specified IP address/Port number.  What I would like to do is capture this into Azure Data Lake to make available for analytics.

I have successfully created a .NET application in VS 2017 that I run to specifically listen on a port on my laptop which I opened up the firewall for the external site to send messages in.  I was able to capture the messages and re-direct them over to an event hub which then wrote the messages into data lake in .AVRO files.

I would like to be able to have a complete Azure cloud solution, however I can't definitively determine if an Even Hub has a specific IP/port number?  If NOT or if that's not the best way to go, what would be a good solution?  Would Service Bus be better, or would I create an application/function in the middle (replicate what I did with a .NET app on my laptop) within Azure that writes to the Event Hub?

Queue is being created with wrong size

$
0
0

In Azure portal, if I navigate to an existing "Basic" tiered Service Bus namespace and add a new queue to it with the default options and by only providing name (default max size is 1GB) it creates a queue with 16GB max size. If I select 2 GB, I get 32GB max size queue. But when I use the REST API - what I am getting is correct. But on the other hand, if I go to the queue's properties and change the max size to 1GB - it shrinks to 1GB from 16 GB. The same behavior persists for the "Standard" scale as well.  

Current Max size enums are 1GB, 2GB, 3GB, 4GB and 5GB

 

Service bus - get messages - REST - no content

$
0
0

Newbie question on the Azure SB Queue

I managed to get the to get the token, and can perfectly create Messages in a queue. However when trying to retrieve Messages from the queue it is rather random.

Sometimes it works, and I can retrieve a Message, but 
Most times, I get either a 204 - no content, yet in Azure i can see there are many Messages.

So why does the exact same call give different results? It seems that if I wait a couple of minutes there is a higher chance of success.

{"method":"POST","transformRequest": [ null ], "transformResponse": [ null ], "url":"http://xxx.servicebus.windows.net/gipsqueue/messages/head","headers": { "Content-Type":"application/atom+xml;type=entry;charset=utf-8","Authorization":"SharedAccessSignature sr=xxxxxxxxxxxxxxxx","Accept":"application/json, text/plain, */*" }, "data":"","timeout": {} }


Azure Service Bus

$
0
0

Can someone please point me to some working code on Github ? 

Web APi hosting using Azure Service Bus

$
0
0

Hi All,

I have a Web api which is self hosted. I want create two Host one using Azure Service Bus and second localhost.

I followed below link to host using Azure service bus but it is giving me error

https://blog.pedrofelix.org/2012/03/15/asp-net-web-api-creating-an-host-using-azure-service-bus/

Error whic I am getting while hosting as Service Bus.

The token provider was unable to provide a security token while accessing 'https://xxxxxxxxx-sb.accesscontrol.windows.net/WRAPv0.9/'. Token provider returned message: 'The request was aborted: The request was canceled.'.

I am using same service bus namespace and token with WCF service and it is working.

Any help will be appreciated.

Thanks
Anita

Requesting feedback on Service Bus

$
0
0

Hello:

Environment: 64 bit Windows 2016 server (on premise or VM instance on Azure cloud), Visual Studio 2017 (mostly C++ but also some C#). Database is MS SQL Server 2016 (standard edition)

I am planning to use Service Bus in my large C++ based windows service application. It must support development, deployment and execution over on premise windows servers besides Azure. Service Bus will not only help me to nicely manage several file traces and database logging but it will also help in easily creating some monitors.

I like the write up and it will be great if it does what it says. However, few places i have read that Microsoft does not plan to pursue with Service Bus anymore and some bad reviews about service bus. 

I therefore would like your feedback on Service Bus, and if Service Bus is not the way to go then what is the alternative. My first preference is to stick to Microsoft supported technologies. We are also their Gold ISV (Application Development) partner.

Thank you and warm regards,

Ajay Sanghi

FaultException with Service Bus

$
0
0

Hello,

We are running into a bit of an issue using queues on an Azure Service Bus from a Web App.

When doing AcceptMessageSession from a QueueClient there is a TimeoutException happening if there is no MessageSession in a minute. This is fine and we handle these errrors.

The problem is that we also get FaultExceptions related to the timeout and we have not been able to understand them.

Has anyone experienced this? Would you have any clue as to how we could correct this?

Thank you.

Maël

How can i save messages in Common Data Service from Azure Service Bus ?

$
0
0

I need to send the messages received in azure service bus topic/queue to common data service to create power apps. How can i achieve this ?


Event Grid throwing HttpOperationError

$
0
0
HttpOperationError: Operation returned an invalid status code "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters<g class="gr_ gr_4 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation multiReplace" data-gr-id="4" id="4">. .</g> 

Need to write a receiver for service bus topic getting around 50 msgs per second

$
0
0
We have a scenario in which messages are being pushed to a service bus topic from a LOB application. There are multiple listeners to this topic each having its own subscription (can have multiple topics also). We might have around 50 msgs per second per subscription. We have created a web job with service bus trigger to receive this msgs, however, the processing is slow. Even with MaxConcurrentCalls = 20, the processing is taking time. As part of processing, the messages should be deserialized and pushed to a document db collection. What is the right approach to scale this solution and should using functions instead of web job help here ?

Session enabled azure service bus, what are operations, and how to make non brokered connections

$
0
0

Hi,

As per Azure Service Bus pricing, I'm going to opt for standard tier as I need to create a session enabled queue so that 1000s of my clients can initiate a session (using a dynamic session guid) & receive message meant for them only (one client doesn't receive message meant for other client):

  1. Let's say I have 1000 web app clients (each with a unique session id) expecting message from a service bus queue. Can a single session enabled service bus queue handle this scenario where each client connects to bus using session filter (using a dynamic session guid) & receives response using that session id such that a client only receives his/her message and all 1000 clients can receive the message quickly?
  2. How can I make Non-Brokered connections to this session enabled service bus queue so that I do not hit 1000 brokered connections limit? Is the following code making non brokered connections?

Sample Sender

QueueClient responseClient = MessagingFactory.CreateFromConnectionString("Endpoint=sb://XXXXXX").CreateQueueClient("ResponseQueue");

BrokeredMessage response = new BrokeredMessage();
response.SessionId = "XYZ";
response.MessageId = "XYZ";

responseClient.Send(response);

Sample Receiver

QueueClient responseClient = MessagingFactory.CreateFromConnectionString("Endpoint=sb://XXXXXX").CreateQueueClient("ResponseQueue");

MessageSession receiver = responseClient.AcceptMessageSession("XYZ");
BrokeredMessage receivedMessage = receiver.Receive(new TimeSpan(0, 0, 20));//Shall I set time to TimeSpan (0, 0, 20) to make it a non brokered connection?

if (receivedMessage != null)
{
                Console.WriteLine(receivedMessage.MessageId + " " + receivedMessage.SessionId);
                receivedMessage.Complete();
}

Thanks,

Gurpreet


Connection between ServiceBus properties AutoDeleteOnIdle and ForwardTo?

$
0
0

What is the relation between the ServiceBus properties AutoDeleteOnIdleand ForwardTo?

  1. I have a ServiceBus queue with AutoDeleteOnIdle property set to max value, 10675199:2:48:5:4775807
  2. I am updating the queue property AutoDeleteOnIdle  to hold value 2 days
  3. Upon setting the ForwardTo property to another queue, theAutoDeleteOnIdle value gets reset to 10675199:2:48:5:4775807.

I am using ServiceBusExplorer to perform the above mentioned update operations. Clarity on why AutoDeleteOnIdle sets to max value on defining ForwardTo will be of great help.

Cannot send messages bigger then 256kb to service bus queue

$
0
0

We are using amqps protocol to send messages to SB(on premise) and getting this error when seding messages bigger then 256kb. I dont know if this msg is coming from service bus itself or from the Apache camel framework that we are using.
The SB is on premise so it doesnt have the 256kb limitation.

Here is the error:
amqp:link:message-size-exceeded�wThe received message (delivery-id:0, size:327565 bytes) exceeds the limit (262144 bytes) currently allowed on the link.@t   amqp:rejected:list
microsoft:tracking-id�Vb89f60cc17644706947ab00f48610c81_GT-DOR-HN-SB-01_BT-DOR-HN-SB-03;53174:1605860:1605861

It may look like the message is generated in service bus since its returning a microsoft:tracking-id.
Please help to solve this problem.

Event Hub Pointer

$
0
0

Hi,

If a message is read from an EventHub, and something happens / errors during working with that message, has the pointer moved on, is the message now 'lost' ?

We have a project where we have Azure function with Event Hub trigger, and if that functions errors.. how should the message that has blown up be dealt with?

Do we manually move the pointer back?

Viewing all 1916 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>