Delphi 12.2 Stream Error

Hi,

I just installed Delphi 12.2 with Remobjects SDK 10.0.0.1589
My fmx app on Android gives a Stream error. Both 32/64 bits.
Not all calls, before I get to this call some other calls are executed and those are successful.
Running as window app, it runs fine.
Same app compiled with Delphi 12.1 works also fine.

I isolated the offending call to the webservice and created a new app.
But then the call works fine.

Is this maybe known or do you have any pointers?

I am using this:
TROAESEncryptionEnvelope
TRORemoteService
TROBinMessage;
TRONetHttpClientChannel;

Hi,

What version of Delphi 12.2 do you have: RTM (29.0.53571.9782) or Patch 1 (29.0.53982.0329)?

29.0.53982.0329

Hi,

this is unknown case.

try to replace TRONetHttpClientChannel with TROIndyHttpChannel and retest.
it may work more stable.

Hi,

I do not know how to get the Indy channel to work. Cannot load ssl lib.
Anyway. I turned off compression on the server side and the problem goes away.

Hi,

This may mean that something is wrong with standard zlib unit …

Yes! You are right.

There is already a report in quality central.

rss-2095
System.ZLib.ZDecompressStream Z_STREAM_ERROR with Skia on android

I turned off SKIA and now everything works.

1 Like