You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the queue is already existing but the user is not allowed to consume the queue.
I get an error like this:
Caused by: com.solacesystems.jcsmp.JCSMPErrorResponseException: 403: Permission Not Allowed - Queue 'scst/ato-cockpit/internal/tms/ato/transactor/i-alpha/v1/trackside/event' - Topic 'internal/tms/ato/transactor/i-alpha/v1/trackside/event'
at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.createErrorResponseFromSmpFailure(TcpClientChannel.java:1033)
at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.checkSmpResponseOK(TcpClientChannel.java:999)
at com.solacesystems.jcsmp.protocol.impl.TcpClientChannel.doSmpRequest(TcpClientChannel.java:971)
at com.solacesystems.jcsmp.impl.SessionModeSupportClient.performSmpReq(SessionModeSupportClient.java:256)
... 17 common frames omitted
What so far is totally ok.
Now the binder is trying this in a endless loop without releasing the failed Flows.
Yeah, this is a bug. It's failing to cleanup the flows if there's a failure during binding creation after the flow is opened, but before binding creation is complete. Like in this case, when it fails to add subscriptions after the flow is opened.
In this moment the application is not healthy and should indicate it: #145
Not entirely sure if binding creation should be captured by the health indicator (probably yes, but need to verify). If so, then this should be handled by #145 instead of this issue.
If for example: "connectRetries: 2" is configured the application should give up after 2 attempts
Binding creation retries is entirely controlled by the Spring Cloud Stream framework by spring.cloud.stream.bindingRetryInterval. If you want it to "give up", you should configure that to be 0.
Nephery
changed the title
Binder creates endless Flows if lack of permission for queue
Binder does not cleanup flows if flow is opened but binding creation fails
Aug 23, 2022
Nephery
changed the title
Binder does not cleanup flows if flow is opened but binding creation fails
[SOL-76960] Binder does not cleanup flows if flow is opened but binding creation fails
Aug 29, 2022
If the queue is already existing but the user is not allowed to consume the queue.
I get an error like this:
What so far is totally ok.
Now the binder is trying this in a endless loop without releasing the failed Flows.
What should be changed:
The text was updated successfully, but these errors were encountered: