jaybird icon indicating copy to clipboard operation
jaybird copied to clipboard

Add extra explanation to "connection rejected by remote interface" (isc_connect_reject) to avoid support questions

Open mrotteveel opened this issue 1 year ago • 3 comments

Now that wire protocols 12 and older are disabled by default (#733), it is more likely users will received isc_connect_reject (i.e. when connecting to Firebird 2.5 and older). To avoid bug reports/support questions, we need to add an extra explanation to this exception message and/or replace it with a Jaybird specific exception message (e.g. explaining this common case, and maybe link to the FAQ for more info).

mrotteveel avatar Jan 10 '24 10:01 mrotteveel

Is isc_connect_reject raised inside jaybird? I ask cause this is client-only error code in FB, it never comes from the server (may be except Execute Statement On External). And there may be other reazons except incompatible protocol - first of all non-fb listener on 3050.

AlexPeshkoff avatar Jan 10 '24 10:01 AlexPeshkoff

Yes, it is raised by Jaybird when op_reject is received, just like the fbclient does (IIRC). I know there are other reasons (I have documented a number of them in the Jaybird FAQ), but now that Jaybird no longer tries protocol 10, 11 and 12 by default, I expect its frequency to increase for people stuck on older versions.

mrotteveel avatar Jan 10 '24 11:01 mrotteveel

Turns out, I already added a message in #733. I'll leave this ticket open for now to evaluate if it is "good enough".

mrotteveel avatar Feb 28 '24 12:02 mrotteveel