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

[azservicebus] reset connection on network failures #17048

Merged

Conversation

richardpark-msft
Copy link
Member

There are some errors coming from go-amqp that indicate internal or fatal errors with the connection. At the moment go-amqp does not recover from these so our only course of action is to treat them as "connection recovery" events and close and recreate the connection.

We're (jhendrix-msft and I) are still planning on a better error handling strategy, but this mitigation will be correct even after that change and will handle things until then.

Fixes #17017

@richardpark-msft
Copy link
Member Author

/azp run go - azservicebus

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@richardpark-msft richardpark-msft merged commit ad8d573 into Azure:main Feb 11, 2022
@richardpark-msft
Copy link
Member Author

/azp run go - azservicebus

@richardpark-msft richardpark-msft deleted the az-workaround-for-network-error branch March 4, 2022 22:30
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.

[azservicebus] Timeout in ReceiveMessages
2 participants