Facing business impact -
Code was working fine for last 2 years. No change in code but issue
persists. Does app engine change anything ?
Sending ---
response.setContentType("application/x-java-serialized-object");
response.setHeader("Content-Encoding", "gzip");
GZIPOutputStream gos = new GZIPOutputStream(response.getOutputStream());
ObjectOutputStream oos = new ObjectOutputStream(gos);
oos.writeObject(rs);
gos.finish();
oos.flush();
oos.close();
Reading ---
GZIPInputStream gi = new GZIPInputStream(new
ByteArrayInputStream(res.getContent()));
ObjectInputStream ois = new ObjectInputStream(gi);
Exception -
java.io.StreamCorruptedException: invalid stream header: 1F8B0800
at red color line
.
Pls help gae java team.
On Sat, Mar 12, 2016 at 11:49 PM, Deepak Singh <[email protected]>
wrote:
> Dear App engine team,
>
> For last couple of days, we are facing serialization issue. Our app does
> not add 'GZIP' header to response and thus we are getting the exception as
> below
>
>
> java.io.StreamCorruptedException: invalid stream header: 1F8B0800
>
>
> App id: pdstechi
>
> Pls resolve the same.
>
> The issue happens most frequently but not always.
>
>
--
Deepak Singh
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/CAF6cnzZ5mbpCdQxhuU%3DnfjjcGP0eKt-%3Dxi_GtYD8un247qaBBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.