From users-return-19979-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Thu Feb 28 13:05:28 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0EBD6180657 for ; Thu, 28 Feb 2019 14:05:27 +0100 (CET) Received: (qmail 47653 invoked by uid 500); 28 Feb 2019 13:05:27 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 47641 invoked by uid 99); 28 Feb 2019 13:05:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2019 13:05:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E127BC292C for ; Thu, 28 Feb 2019 13:05:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.001 X-Spam-Level: X-Spam-Status: No, score=-5.001 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id krAsQachHGoQ for ; Thu, 28 Feb 2019 13:05:23 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D1EEA5F643 for ; Thu, 28 Feb 2019 13:05:22 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9248031570F9 for ; Thu, 28 Feb 2019 13:05:16 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-135.phx2.redhat.com [10.3.116.135]) by smtp.corp.redhat.com (Postfix) with ESMTP id 15186600C7; Thu, 28 Feb 2019 13:05:15 +0000 (UTC) Subject: Re: Qpid Proton cannot connect to Azure Service Bus 'amqp:connection:framing-error' To: users@qpid.apache.org, Clifford Jansen References: <40d5b321-7944-b5e4-165d-1eaee67da7e1@itab.com> From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham, Michael O'Neill, Eric Shander Message-ID: <0cecc681-b753-3196-f628-61c5ea616eae@redhat.com> Date: Thu, 28 Feb 2019 13:05:15 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <40d5b321-7944-b5e4-165d-1eaee67da7e1@itab.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Thu, 28 Feb 2019 13:05:16 +0000 (UTC) On 25/02/2019 1:01 pm, Oskar Christensson wrote: > We're trying to get a C++ connection to Azure Service Bus using AMQP with QPID proton, and trying out the examples under qpid-proton/cpp/examples it fails. > > Steps to reproduce: > > 1. Clone qpid-proton > 2. Follow installation and make README > 3. Create new Service Bus Namespace in azure > 4. Create new Service Bus Queue in Azure with Sessions enabled > 5. Create a policy with all permissions > 6. `./service_bus -n .servicebus.windows.net -p -k -e > > Expected results: > > It should work according to the docs in the cpp/examples/service_bus.cpp docs > > Actual results: > > amqp:connection:framing-error: SASL header mismatch: Insufficient data to determine protocol [''] (connection aborted) I don't really know anything about servicebus. However I tried that example with a fake namespace and got a slightly different error. The error you get sounds like it is not getting the 8 byte header that it expects to start with. Perhaps try with different values for the policy, key and queue to see if that has any difference. Cliff, do you have any suggestions? (I think this example came from you originally?) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org