none
Error accessing Azure Service Bus URL RRS feed

  • General discussion

  • 1. When I try to access the url (https) from Azure I get below...

    <Error>

    <Code>401</Code>
    <Detail>
    claim is empty. TrackingId:6c563587-2025-462a-9321-5ef013d323d4_G4, SystemTracker:mypoc.servicebus.windows.net:securityitemsqueue, Timestamp:10/18/2016 2:02:04 PM
    </Detail>
    </Error>

    What could be causing this? I see no configuration realting to "Claim".

    2. When using the Bus with C#(on premise) do I need to open TCP Ports outbound for communicating with the Service Bus?

    Tuesday, October 18, 2016 2:28 PM

All replies

  • Can you share your code where you generate SAS token? I recommend you to read this as well: https://azure.microsoft.com/en-us/documentation/articles/service-bus-shared-access-signature-authentication/

    For server, yes you need to make sure TCP ports are open in case your firewall settings are blocking them.

    Tuesday, October 18, 2016 4:00 PM
  • I used below tutorial and I changed the code to use my namespace and queue and that was all I changed.

    https://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-multi-tier-app-using-service-bus-queues/

    Tuesday, October 18, 2016 4:11 PM
  • Are you able to operate on your queue with Service Bus .NET client?
    Tuesday, October 18, 2016 10:42 PM
  • From my client application, below code works fine...

              // Create the namespace manager which gives you access to

                // management operations.
                var namespaceManager = CreateNamespaceManager();

    Below code fails and I get a 502 Gateway error...

                // Create the queue if it does not exist already.
                if (!namespaceManager.QueueExists(QueueName))
                {
                    namespaceManager.CreateQueue(QueueName);
                }


    CG

    Wednesday, October 19, 2016 9:59 AM
  • Why can I not browse the Service bus using the URL below?

    https://capitapoc.servicebus.windows.net/securityitemsqueue

    I get below error.

    <Error>
    <Code>401</Code>
    <Detail>
    claim is empty. TrackingId:4fc418bb-c0d0-4776-9e8a-203e38387826_G3, SystemTracker:capitapoc.servicebus.windows.net:securityitemsqueue, Timestamp:10/19/2016 10:05:17 AM
    </Detail>

    </Error>


    CG

    Wednesday, October 19, 2016 10:14 AM
  • 502 is bad gateway. This sounds like a networking issue. Can you share your full exception message?

    In the meantime, can you try running your client from another local network?

    Wednesday, October 19, 2016 4:07 PM
  • Let us try to get your queue running on regular .NET Client first then we can focus on 401 error.
    Wednesday, October 19, 2016 4:07 PM