Subject Re: [Firebird-Java] Jaybird 3.0.0-beta-3 EncodingFactory$DefaultEncodingFactory error
Author Mark Rotteveel
On 2017-03-14 04:11, 'Андрей Ушков' andrew.ushkov@...
[Firebird-Java] wrote:
> Thanks, Mark.
> now got
> "coudn't connect
> jdbc:firebirdsql://localhost:3050/agents?encoding=WIN1251 с
> помощью org.firebirdsql.jdbc.FBDriver (Incompatible wire
> encryption levels requested on client and server [SQLState:28000, ISC
> error code:335545064])"

You get that error because Jaybird 3 (just like Jaybird 2.2) doesn't
support Firebird 3 wire encryption, by default Firebird 3 requires
encryption and will reject connections that don't ask for encryption.
You need to change firebird.conf and set WireCrypt = Enabled (default
value is Required). See also That
wiki is more about Jaybird 2.2; I will update it to include a Jaybird 3
section, and add a section to the release notes to mention this
explicitly as well.