# Delphi 12.2 Stream Error

**URL:** https://talk.remobjects.com/t/delphi-12-2-stream-error/31011
**Category:** Remoting SDK
**Created:** [November 15, 2024, 5:54am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011 "2024-11-15T05:54:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![allinco1](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@allinco1](https://talk.remobjects.com/u/allinco1)
#### Post date: [November 15, 2024, 5:54am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011/1 "2024-11-15T05:54:44Z")

</div>

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;

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [November 15, 2024, 6:10am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011/2 "2024-11-15T06:10:24Z")

</div>

Hi,

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

---

<div class="post-metadata">

### Author: ![allinco1](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@allinco1](https://talk.remobjects.com/u/allinco1)
#### Post date: [November 15, 2024, 6:24am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011/3 "2024-11-15T06:24:36Z")

</div>

29.0.53982.0329

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [November 15, 2024, 6:39am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011/4 "2024-11-15T06:39:44Z")

</div>

Hi,

> [@allinco1](#):
>
> Is this maybe known or do you have any pointers?

this is unknown case.

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

---

<div class="post-metadata">

### Author: ![allinco1](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@allinco1](https://talk.remobjects.com/u/allinco1)
#### Post date: [November 19, 2024, 6:20am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011/5 "2024-11-19T06:20:51Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [November 19, 2024, 7:31am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011/6 "2024-11-19T07:31:15Z")

</div>

Hi,

> [@allinco1](#):
>
> Anyway. I turned off compression on the server side and the problem goes away.

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

---

<div class="post-metadata">

### Author: ![allinco1](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/a/b782af/32.png) [@allinco1](https://talk.remobjects.com/u/allinco1)
#### Post date: [November 19, 2024, 8:00am UTC](https://talk.remobjects.com/t/delphi-12-2-stream-error/31011/7 "2024-11-19T08:00:01Z")

</div>

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.
