You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Rabih M <ra...@gmail.com> on 2019/05/06 15:33:35 UTC

[Proton Cpp] Random error on connection open on windows

Hello,

We are using proton cpp 0.27.1 with visual studio 2013.

We have the attached Main.cpp that is hanging on line 58 on windows
randomly.
As if line 57 was not executed.

For the working case we have the following logs :
broker on_container_start
client on_container_start
[000000000260A1C0]:  -> AMQP
[000000000260A1C0]:0 -> @open(16)
[container-id="c77d9e59-2061-4804-850c-0d039a0df414", hostname="127.0.0.1",
channel-max=32767]
[000000000261FB50]:  <- AMQP
[000000000261FB50]:0 <- @open(16)
[container-id="c77d9e59-2061-4804-850c-0d039a0df414", hostname="127.0.0.1",
channel-max=32767]
[000000000261FB50]:  -> AMQP
b[000000000260A1C0]:  <- AMQP
roker on_connection_open
[000000000261FB50]:0 -> @open(16)
[container-id="292348be-1884-47e1-8a6c-3dd62cae7252", channel-max=32767]
[000000000260A1C0]:0 <- @open(16)
[container-id="292348be-1884-47e1-8a6c-3dd62cae7252", channel-max=32767]
client on_connection_open
[000000000260A1C0]:0 -> @close(24) [error=@error(29)
[condition=:"amqp:connection:framing-error", description="connection
aborted"]]
[000000000260A1C0]:  <- EOS
[000000000261FB50]:0 -> @close(24) [error=@error(29)
[condition=:"amqp:connection:framing-error", description="connection
aborted"]]
[000000000261FB50]:  <- EOS
[000000000261FB50]:  -> EOS
broker on_transport_error
Broker::on_transport_error: amqp:connection:framing-error: connection
aborted
client on_container_stop

For the error case:
broker on_container_start
client on_container_start

Is it a bug? on linux we do not have this problem.

Best regards,
Rabih & Jeremy

Re: [Proton Cpp] Random error on connection open on windows

Posted by Rabih M <ra...@gmail.com>.
Hello,

Any ideas about the mail below?
Do i create Jira issue?

Best Regards,
Rabih

On Mon, May 6, 2019 at 5:33 PM Rabih M <ra...@gmail.com> wrote:

> Hello,
>
> We are using proton cpp 0.27.1 with visual studio 2013.
>
> We have the attached Main.cpp that is hanging on line 58 on windows
> randomly.
> As if line 57 was not executed.
>
> For the working case we have the following logs :
> broker on_container_start
> client on_container_start
> [000000000260A1C0]:  -> AMQP
> [000000000260A1C0]:0 -> @open(16)
> [container-id="c77d9e59-2061-4804-850c-0d039a0df414", hostname="127.0.0.1",
> channel-max=32767]
> [000000000261FB50]:  <- AMQP
> [000000000261FB50]:0 <- @open(16)
> [container-id="c77d9e59-2061-4804-850c-0d039a0df414", hostname="127.0.0.1",
> channel-max=32767]
> [000000000261FB50]:  -> AMQP
> b[000000000260A1C0]:  <- AMQP
> roker on_connection_open
> [000000000261FB50]:0 -> @open(16)
> [container-id="292348be-1884-47e1-8a6c-3dd62cae7252", channel-max=32767]
> [000000000260A1C0]:0 <- @open(16)
> [container-id="292348be-1884-47e1-8a6c-3dd62cae7252", channel-max=32767]
> client on_connection_open
> [000000000260A1C0]:0 -> @close(24) [error=@error(29)
> [condition=:"amqp:connection:framing-error", description="connection
> aborted"]]
> [000000000260A1C0]:  <- EOS
> [000000000261FB50]:0 -> @close(24) [error=@error(29)
> [condition=:"amqp:connection:framing-error", description="connection
> aborted"]]
> [000000000261FB50]:  <- EOS
> [000000000261FB50]:  -> EOS
> broker on_transport_error
> Broker::on_transport_error: amqp:connection:framing-error: connection
> aborted
> client on_container_stop
>
> For the error case:
> broker on_container_start
> client on_container_start
>
> Is it a bug? on linux we do not have this problem.
>
> Best regards,
> Rabih & Jeremy
>