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

Is it possible for service bus to receive generic webhooks?

$
0
0

Before I submit this as a feature request, I want to make sure it's not possible. 

We are planning on integrating with a number of new services which are capable of generating webhooks.  In an ideal world, we wouldingest all of these webhooks directly into Azure Event Hubs and/or Azure Service Bus topics, etc.  My understanding is that this is not possible today, because Azure uses "Shared Access Signatures" for authentication which is not a widely supported mechanism.  

Can anyone confirm that this is accurate?

As far as workarounds go, Azure Functions and Logic Apps provide just about the simplest possible arrangement one could ask for.  A simple function can be written to receive the webhook and then inject the information into the event hub.  However, even this is highly undesirable from both a cost and efficiency point of view. 



ServiceBusGateway service unable to start because of Certificate requested with thumbprint not found error

$
0
0

Hi,

I have a ServiceBus 1.1 for Windows server up and running and since the 20-Jan-2017, the service ServiceBusGateway of my 3 servers (cluster) are not able to start and they give me the error "Certificate requested with thumbprint ... not found in the certificate store LocalMachine\My".

Of course I first checked if the servicebus certificate is still valid and it is. It expired in one year on 30-Jan-2018 !

I don't know what could cause this issue.

Any ideas?

How to install the netmessagingBinding on the client side?

$
0
0

Hi,

I have a BizTalk 2013 server that should used the netMessagingBinding to receive messages from the ServiceBus 1.1 for Windows Server. Unfortunately, I'm not able to use the out-of-the-box SBMessaging adapter that comes with BizTalk 2013 because it supports only ACS (which is not supported by ServiceBus for Windows Server 1.1).

I follow the guidance from here : http://code.msdn.microsoft.com/windowsdesktop/How-to-integrate-BizTalk-07fada58/

And now I want to install the netMessagingBinding on my BizTalk Server 2013. May I install Service Bus 1.1 Server on this machine just to use the WCF binding or is there any "client-side" setup for Service Bus 1.1?

Thanks.

Connecting to Azure Service Bus fails after disabling TLS 1.0

$
0
0

I've been struggling trying to get my software that is using Microsoft Azure Service Bus to connect after disabling TLS 1.0.  I have been able to reproduce this condition with a stock Azure VM template and a simple Service Bus example.  How do I get my application using Azure Service Bus to work when disabling Tls 1.0?

 using System;
 using Microsoft.ServiceBus.Messaging;

 namespace GettingStartedWithQueues
 {
     class Program
     {
         static void Main(string[] args)
         {
             var connectionString = "<Your connection string>"; // not including my connection string
             var queueName = "<Your queue name>"; // not including my queue name

             var client = QueueClient.CreateFromConnectionString(connectionString, queueName);
             var message = new BrokeredMessage("This is a test message!");

             client.Send(message);
         }
     }
 }
  • Ran it, works.
  • Disabled SSL v3 and several older Ciphers (DES 56/56, NULL, RC2 128/128, RC2 40/128, RC2 56/128, RC4 128/128, RC4 40/128, RC4 56/128, RC4 64/128)
  • Rebooted, still works.
  • Disabled TLS 1.0 and Rebooted
  • Fails with:
System.TimeoutException was unhandled
  HResult=-2146233083
  Message=The request has timed out after 00:00:00 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded. For more information on exception types and proper exception handling, please refer to http://go.microsoft.com/fwlink/?LinkId=761101
  Source=Microsoft.ServiceBus
  StackTrace:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenCore(IAsyncResult result, String& expiresIn, String& audience)
       at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenByAssertion(IAsyncResult result)
       at Microsoft.ServiceBus.SharedSecretTokenProvider.OnEndGetToken(IAsyncResult result, DateTime& cacheUntil)
  • Added to the example, under the queueName declaration:
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls11;

  • Fails with:
Microsoft.ServiceBus.Messaging.MessagingCommunicationException was unhandled
  HResult=-2146233088
  IsTransient=true
  Message=A call to SSPI failed, see inner exception.
  Source=Microsoft.ServiceBus
  StackTrace:
       at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.RunSynchronously()
       at Microsoft.ServiceBus.Messaging.MessageSender.OnSend(TrackingContext trackingContext, IEnumerable`1 messages, TimeSpan timeout)
       at Microsoft.ServiceBus.Messaging.MessageSender.Send(TrackingContext trackingContext, IEnumerable`1 messages, TimeSpan timeout)
       at Microsoft.ServiceBus.Messaging.MessageSender.Send(BrokeredMessage message)
       at Microsoft.ServiceBus.Messaging.TopicClient.Send(BrokeredMessage message)
       at GettingStartedWithQueues.Program.Main(String[] args) in C:\Users\esoguest\Documents\Visual Studio 2015\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs:line 17
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:
       HResult=-2146233087
       Message=A call to SSPI failed, see inner exception.
       Source=Microsoft.ServiceBus
       StackTrace:
            at Microsoft.ServiceBus.Messaging.Channels.SharedChannel`1.CreateChannelAsyncResult.<GetAsyncSteps>d__6.MoveNext()
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
         --- End of stack trace from previous location where exception was thrown ---
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Channels.SharedChannel`1.OnEndCreateInstance(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.SingletonManager`1.EndGetInstance(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<>c.<GetAsyncSteps>b__9_1(RequestAsyncResult thisPtr, IAsyncResult r)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
         --- End of stack trace from previous location where exception was thrown ---
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.RequestAsyncResult.<>c__DisplayClass8_1.<GetAsyncSteps>b__4(RequestAsyncResult thisPtr, IAsyncResult r)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
         --- End of stack trace from previous location where exception was thrown ---
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Sbmp.RedirectBindingElement.RedirectContainerChannelFactory`1.RedirectContainerSessionChannel.EndRequest(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.RequestAsyncResult.<>c.<GetAsyncSteps>b__9_3(RequestAsyncResult thisPtr, IAsyncResult r)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
         --- End of stack trace from previous location where exception was thrown ---
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Common.AsyncResult`1.End(IAsyncResult asyncResult)
            at Microsoft.ServiceBus.Messaging.Channels.ReconnectBindingElement.ReconnectChannelFactory`1.RequestSessionChannel.EndRequest(IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Sbmp.SbmpTransactionalAsyncResult`1.<>c.<GetAsyncSteps>b__18_3(TIteratorAsyncResult thisPtr, IAsyncResult a)
            at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
         --- End of stack trace from previous location where exception was thrown ---
            at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
            at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
       InnerException:
            HResult=-2146233087
            Message=A call to SSPI failed, see inner exception.
            Source=System
            StackTrace:
                 at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
                 at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
                 at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
                 at System.ServiceModel.Channels.SslStreamSecurityUpgradeInitiator.InitiateUpgradeAsyncResult.OnCompleteAuthenticateAsClient(IAsyncResult result)
                 at System.ServiceModel.Channels.StreamSecurityUpgradeInitiatorAsyncResult.CompleteAuthenticateAsClient(IAsyncResult result)
            InnerException:
                 ErrorCode=-2147467259
                 HResult=-2147467259
                 Message=The client and server cannot communicate, because they do not possess a common algorithm
                 NativeErrorCode=-2146893007
                 InnerException: 

Here is the exported registry file of the SCHANNEL key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL]
"EventLogging"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\AES 128/128]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\AES 256/256]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\DES 56/56]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\NULL]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 128/128]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 40/128]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 56/128]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 128/128]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 40/128]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56/128]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 64/128]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\CipherSuites]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\MD5]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA256]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA384]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\SHA512]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\Diffie-Hellman]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\ECDH]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\PKCS]
"Enabled"=dword:ffffffff

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Client]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Client]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]
"DisabledByDefault"=dword:00000001"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Client]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server]
"Enabled"=dword:00000000"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"Enabled"=dword:ffffffff"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
"Enabled"=dword:ffffffff"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"Enabled"=dword:ffffffff"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"Enabled"=dword:ffffffff"DisabledByDefault"=dword:00000000


TLS 1.0 issues with service bus queue

$
0
0

Hi. I posted the following query to the Azure Support Twitter team and they responded with what looks to be a very promising link: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-resource-explorer

I'm wondering a few things:

We don't have a Microsoft.Web->Hostingenvironments node. We want to make this change for a particular Resource Group associated with a service Bus. Can that be done? I tried to do this by adding the ClusterSettings json for Disable TLS 1.0 directly to our "PlusTest2" Resource Group (in properties, as suggested). When I "Put"/save this, it seems as though it has worked, but then it doesn't show up. So can we do this, or do we need to create an "App Service Environment" and associate this Resource Group with that and then make changes that way?

Original message:

We are using an Azure Service Bus Queue to send messages to from a .Net app. This has worked for a few years. We are now needing to disable TLS 1.0 on our server. When we do this from our test server, we are getting TLS negotiation errors. I've examined the details using several tools. Netmon shows us that communication from http://ns-sb2-prod-ch3-003.cloudapp.net  (which is where our queue,sb://plus-relocation-test.servicebus.windows.net,must resolve to) is trying to send a TLS 1.0 handshake. It tries several times and then fails with "Exception: A call to SSPI failed". I've tried to look into various Azure settings to see if we can change the TLS version for our resource group or something, but I don't see anything. Any ideas would be greatly appreciated as I've spent a great deal of time on this. Thanks!

Thanks for your help!

Ben

sending batch events to event hub

$
0
0

hello As of now i am able to send single events to azure event hub from Nodemcu using the REST API (http post) . I am sending events every seconds , instead it would be really good it there was a way where i can send a batch of events every 300 seconds.
i noticed this page 
https://docs.microsoft.com/en-us/rest/api/eventhub/send-batch-events

but it is not working . I am not able to send multiple events .
am i missing anything do we need to make any change in the query of stream analytics to receive batch events or the same query which was used for single events will work.


How to consume EventHub via WebJobs SDK

$
0
0

I am trying to consume EventHub messages from a WebJob, without avail. The job builds and runs without throwing any exceptions, but the trigger is never called. I am referencing Microsoft.Azure.WebJobs, Microsoft.Azure.WebJobs.Extensions and Microsoft.Azure.WebJobs.ServiceBus v2.0.0.0 (beta). 

Here's my code:

Program.cs:

public static void Main()
    {
      var eventHubConfig = new EventHubConfiguration();
      string eventHubName = "myHub";

      eventHubConfig.AddReceiver(eventHubName, "Endpoint=sb://xxxx.servicebus.windows.net/;SharedAccessKeyName=xxxx;SharedAccessKey=yyyy");
      config.UseEventHub(eventHubConfig);

      JobHost host = new JobHost(config);

      if (config.IsDevelopment)
      {
        config.UseDevelopmentSettings();
      }

      host.RunAndBlock();
    }

Functions.cs:

public static void Trigger([EventHubTrigger("myHub")] string message)
    {
      _logger.Debug("Message received");
    }

In my app.config, I've set the appropriate connection strings for AzureWebJobsDashboardand AzureWebJobsStorage.

I've tried everything from using batches of messages to changing the method signature of the trigger method, specifically the parameter type to EventData or byte[]. Nothing works. I should note messages are sent to the EventHub as byte arrays wrapped in an EventData.

What am I missing?

Thank you for your time and looking forward to replies.

How to send and receive messages on subscription using azure service bus

$
0
0

Hello all,

                     I'm going to create an application which is used to receive messages from a subscription using azure service bus. Once I received the messages then I'm going to stored the data into my on-premise database (local SQL server 2012 or later). Could you please suggest me which way is reliable to implement this kind of scenario. 

Note: - If possible 

Thanks and regards,

Parthiban K.




Parthiban


Service bus - Intermittent Request Timeout

$
0
0

Hi, we've been experiencing an intermittent issue with our Service Bus since this morning (<g class="gr_ gr_52 gr-alert gr_gramm gr_run_anim gr_inline_cards Style multiReplace" data-gr-id="52" id="52">9AM</g> ET) which is located in EastUS and cannot find a solution. Even the exception seems to vary from time to time, but most of the time the exception message is: "The request has timed out after 60000 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded" 

All we do is post a date on the ServiceBus queue from our API (on Azure) to wake up our Windows Service (on our server) that listens to the queue for a new message to start processing. The whole thing has been working perfectly for the past year, but we started having issues this morning and it still isn't working properly.

Sometimes it takes a second to respond, sometimes a few seconds, but most of the time we get a Timeout exception after 60 secs. All we are sending is a short string, it's usually instantaneous.

Thank you,

Math


ARM Deployment Issue:When We create Topics with Subscription we cant set enableSubscriptionPartitioning to True

$
0
0

We are creating Topic and subscription within Topics using same ARM Script.. but if we set Topic Property 

enableSubscriptionPartitioning=true

Here is failure captured at Azure, It creates <g class="gr_ gr_7 gr-alert gr_gramm gr_run_anim gr_inline_cards Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="7" id="7">resource</g> group, Service <g class="gr_ gr_8 gr-alert gr_gramm gr_run_anim gr_inline_cards Punctuation only-ins replaceWithoutSep" data-gr-id="8" id="8">Bus</g> and Topic but the Subscription creation fails with below Error. 

Operation name

Write Subscriptions

<g class="gr_ gr_129 gr-alert gr_spell gr_disable_anim_appear gr_inline_cards ContextualSpelling ins-del" data-gr-id="129" id="129">Time stamp</g>

Tue Jan 31 2017 15:47:28 GMT+1030 (Cen. Australia Daylight Time)

Event initiated by

Gaurav.Bodar@*****.com.au

Error code

InternalServerError

Message

The service was unable to process the request; please retry the operation. For more information on exception types and proper exception handling, please refer tohttp://go.microsoft.com/fwlink/?LinkId=761101. TrackingId:650e8122-921e-48e4-b9df-5da2d324b3fd_M3_M3_G31, SystemTracker: australiasoutheastsomethinghambsservicebussit01:Topic:<g class="gr_ gr_130 gr-alert gr_spell gr_disable_anim_appear gr_inline_cards ContextualSpelling ins-del multiReplace" data-gr-id="130" id="130">projectname</g>.sbt.<g class="gr_ gr_131 gr-alert gr_spell gr_disable_anim_appear gr_inline_cards ContextualSpelling ins-del multiReplace" data-gr-id="131" id="131">sampletopic</g>, Timestamp:1/31/2017 5:17:28 AM


How to receive json object from the azure service bus topic subscription

$
0
0

Hi,

I would like to receive JSON object from the azure service bus topic subscriptions using c#. Anybody is suggested me how to receive the list of JSON object from the service bus (queue,<g class="gr_ gr_192 gr-alert gr_spell gr_run_anim gr_inline_cards ContextualSpelling ins-del multiReplace" data-gr-id="192" id="192">deadletter</g>) subscription on an appropriate topic. 

Thanks,

Parthiban


Parthiban

Service Bus SDK for UWP & ASP .Net Core applications

$
0
0
Can anybody tell me when the Service Bus SDK will be available to UWP applications and ASP .Net Core applications?

Downtime when upgrading Basic/standard to Premium tier

$
0
0

Hi,

One of our customers is currently using basic and standard tier SB namespaces.
As they were recently impacted by a problem in the backend which caused about a day of downtime, they are investigating if they want to start using the Premium tier.

The question they now have is if switching to the premium tier would involve downtime and if so, for how long?
I'd expect there to be some downtime as you're moving from shared to dedicated infrastructure (as I understood), but wasn't able to find a definitive answer.

Thanks in advance for any info!

Paul

Azure Event Hub Region wise Disaster Recovery

$
0
0

Hi All,

I'm not sure whether this is the right section of the forum to submit my query, but I couldn't find anything related to Azure Event Hub. 

Question:

Could someone help me with the strategy to be followed in the Azure secondary DC in the event of an Azure Event Hub in Azure primary DC fails.

I have already covered storage part with GRS, so please be specific to Event Hub.

Thanks,

Vara Prasad Reddy M.Tech                                                                                               
PMP | ITIL | AWS Certified Solution Architect | Azure Infrastructure Solutions | OCP (11g 12c & R12) | WebLogic| Exadata 

SCOM 2012 monitoring Windows Server Service Bus 1.1

$
0
0

Hi all,

We are unable to monitor the Service Bus on Windows Server such as lack of info on the dead-letter queue. We are still unable to get the monitoring working which we believe the SCOM service account does not have proper access to Service Bus database. The database access is strictly monitor and does the SCOM service account needs full access to the database to monitor it properly ?

Based on the link below, it doesn't seem to properly document the monitoring portion.

https://msdn.microsoft.com/en-us/library/dn441422.aspx

Error using service account to run get-sbfarm:

get-sbfarm : Login failed for user 'domain\scom_serviceaccount'.

At line:1 char:1

+ get-sbfarm

+ ~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-SBFarm], SqlException

    + FullyQualifiedErrorId : System.Data.SqlClient.SqlException,Microsoft.Ser

   viceBus.Commands.GetSBFarm 


Azure: wich service for hosting web applications (apache/php/mysql)

$
0
0

Hello,

Beginner on Azure, I would like to host 2 web applications (Dolibarr, GLPI) both need apache + php + mysql.

My question is: is there a service for hosting these kind of applications? (I mean other than creating a virtual machine and installing the services)

Thanks

How to receive JSON object from the azure service bus topic subscriptions

$
0
0

Hi everyone,

 I have few doubt about to implement azure service bus receive messages from topic subscriptions. 

We are using multiple applications in our organization and we need to share data between one to other subsystems so that we are using azure service bus. Here one of my application has sent a message frequently to the service bus topic subscription. Whenever a new user account is created in our application every time the user profile data will be sending the data to the corresponding service bus topic subscriptions. I have mentioned below the snapshot which I have to receive the JSON object. That <g class="gr_ gr_67 gr-alert gr_gramm Grammar multiReplace" data-gr-id="67" id="67">the message</g> is a JSON object.


JSON object:

{"id":"N322333","firstName":"adsdddd","lastName":"asddd","email":"hello@gmail.com123ZXc","emailVerified":false,"dateOfBirth":"2016-08-03","login":"qqqqqqqqqq","password":"Pass@1234","homePhone":"233322","mobilePhone":"1111111122asdf","workPhone":"22222","gender":1,"centerId":"I23642","userType":"student","staffRole":null,"staffActive":false}

Now I’m going to receive those JSON object which I have already sent to the azure service bus topic subscriptions queue before moving to the deadletter. 

JSON objects can be stored a list of JSON objects on the subscription. I have searched lots of examples I could not able to find an appropriate solution. Please let me share your suggestion How can I receive the list of JSON objects? I'll be waiting for your response. 

Regards,

Parthiban.



Parthiban

Azure service bus emulator shared access key

$
0
0

Hi,

Can I use azure emulator for testing. Where can I get shared access key. Is there anything else needed.

Thanks

Service Bus monitoring solution?

$
0
0

Hi,

Just wanted to reach out to the community to learn what approaches are being used to monitor Service Busses? In any system, the service bus itself looks like a great place to log and hook in monitoring as much as possible, as it will give a summarized overview of how well the system is performing generally. There doesn't seem to be any native Azure based monitoring for Service Bus though. Does anyone know if this is in the pipeline?

What other tools or approaches are taken for monitoring e.g. queues on a service bus? Does everybody implement their own implementation?

Thanks,

Bart


Suspend a queue

$
0
0

Hi

I had an incident with an application where it timed out putting a message on an Azure queue causing the application to crash as this error was not handled.

I've added some error-handling logic to handle this scenario gracefully.   Is it possible to forcibly put a queue into a state where it will time out so I can test if this logic works as it should.

Kind Regards, Richard

Viewing all 1916 articles
Browse latest View live


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