You are not logged in.
Hello Arnaud, we are also using m2 with self-signed certificates in our test environment.
In mormot.net.sock.windows.inc there is a place where you raise: ESChannel {Message: "recv: Handshake aborted"}
when res = 0
in FreeAndCheckSocket.
Is it necessary for this very frequent exception to appear as an error in the log?
It’s a bit confusing. Or is it actually an error and we need to do something differently here?
Also like to ask if there is an option to shorten the Exception:
20251211 19560724 # EXC ESChannel {Message:"recv: Handshake aborted"} [R1:IMSYS ThumbnailCache BinaryD] at 0116540e LiteStaticUni.pas sqlite3win64_xe5.sqlite3BtreeOpen (1439) System.Classes.pas .{System.Generics.Collections}TList<System.Classes.TPersistentClass> (3555) System.Classes.pas .{System.Generics.Collections}TList<System.Classes.TPersistentClass> (3555) System.pas ReductionPi2n (10160) LiteStaticUni.pas sqlite3win64_xe5.sqlite3BtreeOpen (1439) LiteStaticUni.pas sqlite3win64_xe5.sqlite3PagerClose (1439) LiteStaticUni.pas sqlite3win64_xe5.sqlite3PagerSetPagesize (1439) LiteStaticUni.pas sqlite3win64_xe5.sqlite3Select (1439) LiteStaticUni.pas sqlite3win64_xe5.sqlite3CreateIndex (1439) LiteStaticUni.pas sqlite3win64_xe5.sqlite3CreateIndex (1439) LiteStaticUni.pas sqlite3win64_xe5.sqlite3CreateForeignKey (1439) .{System.Generics.Collections}TList<DFDatenbankenStruktur.TDFESIndex> System.Generics.Collections.pas TArray.BinarySearch<System.Pointer> (1389) System.pas Ln (11082) {8 3.36 2.74 18.5GB/63.9GB 23f00f01}without the call Stack ?
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
It happens on the Server, Windows 11 ARM
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
Do you compile as a Win64 executable?
It may be due to PRISM itself, especially to the fact that this emulator does not like multiple threads, so it becomes unstable on WinArm.
With PRISM, we had to reduce the number of threads to let mormot2tests pass.
It is as known and documented.
Offline
I testet it with OpenSSL (USE_OPENSSL defined) same error, is there anything more i have to do to activate openssl ?
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
Do you compile as a Win64 executable?
It may be due to PRISM itself, especially to the fact that this emulator does not like multiple threads, so it becomes unstable on WinArm.
With PRISM, we had to reduce the number of threads to let mormot2tests pass.
It is as known and documented.
No it was a 32Bit Debug executable. I try with 64 Bit
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
Ok with 64 Bit Windows the Error is a little bit other displayed, but from the content the same
20251212 09343114 % EXC ESChannel {Message:"recv: Handshake aborted"} [R3:IMSYS ThumbnailCache BinaryD] at 01091990 mormot.net.sock.windows.inc TSChannelNetTls.FreeAndCheckSocket (2057) {8 3.47 3.68 1 19.4GB/63.9GB 23f00f01}Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
Just to say, the Server is running and full responsive, im only wondering if this error is an error or something like a warning ?!
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
SRY i have to test again, i have to define FORCE_OPENSSL in my dproj
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline
Ok back again, i testet now Win64 Server with OPENSSL and libcrypt 3.1
There i get this Error:
20251212 09523554 " EXC EOpenSslNetTls {LastError:1,OpenSsl:"30100030",Message:"TOpenSslNetTls.AfterAccept accept: OpenSSL 30100030 error 1 [SSL_ERROR_SSL (error:0A000126:SSL routines::unexpected eof while reading)]"} [R0:IMSYS ThumbnailCache BinaryD] at 0112fd97 mormot.lib.openssl11.pas EOpenSsl.CheckFailed (2879) {8 3.51 3.70 1 20GB/63.9GB 23f00f01}
I testet both client (Win64) with OpenSSL and without OpenSSl, Error is only on Server, and Client works as expected.
Rad Studio 12.3 Athens / 13.0 Ganymede
Offline