Hi, Baptiste. There's something coming soon in Proton C 0.22.0 that may help with that.
https://issues.apache.org/jira/browse/PROTON-1589 This is on master now, and the 0.22.0 release process will start this month. On Fri, Mar 23, 2018 at 7:57 AM, Baptiste Robert <[email protected] > wrote: > Hello, > > I've an annoying issue when I define reconnect_options and call connect > method on the proton::container with this option. If the authentication is > wrong (bad password/login), I got the following error : [proton:io] - [Too > many reconnect attempts (40)] > In my use case, I really want to know if it fails because the auth was bad > or if the server is just unreachable. > If I remove the reconnect_options then I get this information, but why I > cannot get both ? > > Thank you, > > -- > Baptiste Robert >
