Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ReplyListener on standalone rpc with custom publisher_options #718

Merged
merged 2 commits into from Sep 29, 2021

Conversation

alfaro28
Copy link

@alfaro28 alfaro28 commented Jun 5, 2021

The standalone rpc ReplyListener does not inherit any amqp_uri or ssl options passed to the constructor of its owning client.

@mattbennett
Copy link
Member

Thank you for this @alfaro28.

@mattbennett mattbennett merged commit 0f02249 into nameko:v3.0.0-rc Sep 29, 2021
mattbennett added a commit that referenced this pull request Sep 29, 2021
#718 fixes the standalone rpc
reply listener to honour the amqp uri passed into the rpc client.
the reconnection tests have revelealed another bug in the
implementation now that the reply listener is using the correct uri.

check_for_lost_replies will see a "server unexpectedly closed" OSError
when reconnecting after a broken connection. this is because it uses
an existing connection from the connection pool, some of which will
have previously been connected.

the above PR was merged without a green CI build (because _reasons_),
so the fix is being addded as a separate commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants