Hello Vinay,
Please kindly note that this forum is meant for general discussion of the App Engine platform, not specific technical issues. The issue that you reported will require more detail inspection of your project and logs to find out the root cause, why you are not able to get zipped response. To resolve your issue, I have created a public issue which you can follow by going into the link <https://issuetracker.google.com/issues/124121389> and Google Cloud Support team member will assist you to resolve your issue. I have cc’ed you at the public issue so that you can receive updates. For future if you believe that what you've encountered is platform specific issue you can report this by creating an issue in the Issue Tracker <https://cloud.google.com/support/docs/issue-trackers> and Google Cloud Support team member will assist you to resolve your issue. If your issue is not a platform issue but rather a problem with how you've configured your code, although you're not sure what it may be specifically, you should post to StackOverflow <http://www.stackoverflow.com/> and community of developers will assist you. On Thursday, February 7, 2019 at 7:07:17 AM UTC-5, Vinay Chitlangia wrote: > > I am trying to enable gzip in our appengine-flex service. > I followed the instructions in > https://cloud.google.com/appengine/docs/flexible/java/dev-jetty9 > > The app.yaml has the following addition > env_variables: > JETTY_MODULES_ENABLE: 'gzip' > > However for requests that we make using URLConnection from another > appengine module (standard appengine), the responses are > not zipped. AFAICT the responses made from chrome are not zipped either. > The responses from our service are "text/plain". > > We are using a custom runtime running java and jetty9. Here is the > dockerfile. > Thanks for your help. > > FROM gcr.io/google-appengine/jetty9 > > RUN apt-get -q update && \ > > apt-get -y -q --no-install-recommends -t jessie-backports install > openjdk-8-jdk && \ > > apt-get -y -q --no-install-recommends install ssh sshpass netcat && \ > > apt-get clean && \ > > rm /var/lib/apt/lists/*_* > > ADD backend.war $JETTY_BASE/webapps/root.war > > WORKDIR $JETTY_BASE > > RUN java -jar $JETTY_HOME/start.jar --approve-all-licenses \ > > --add-to-startd=jmx,stats,hawtio,requestlog \ > > -Djava.util.logging.config.file=src/main/appengine/logging.properties \ > > && chown -R jetty:jetty $JETTY_BASE > -- 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/e73f581c-dd33-465a-9d25-a2e8a2c24503%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
