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

calling close on amqp protocol object , generates infinite loop. #684

Open
aneeshkp opened this issue May 3, 2021 · 0 comments
Open

calling close on amqp protocol object , generates infinite loop. #684

aneeshkp opened this issue May 3, 2021 · 0 comments

Comments

@aneeshkp
Copy link
Contributor

aneeshkp commented May 3, 2021

When calling close on protocol

func (t *Protocol) Close(ctx context.Context) (err error) {

The code goes on an infinite loop

client/client.go line 244
if err != nil {
					cecontext.LoggerFrom(ctx).Warn("Error while receiving a message: ", err)
					continue
}

With error

go:244","msg":"Error while receiving a message: amqp: link closed"}
{"level":"warn","ts":1620052511.8445728,"logger":"fallback","caller":"client/client.go:244","msg":"Error while receiving a message: amqp: link closed"}
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

No branches or pull requests

1 participant