Thank you Jochen . Not Sure how I can provide a standalone application. Let 
me have a try.

What I observed further is as below;

I have two microservices -
1. microservice1 - nodejs based microservice.
2. microservice2 - Dropwizzard based which contains all our REST 
api's/resources.

microservice1 is the entry point for us, hence for the REST API invoke, 
request goes from microservice1 to  microservice2. The same with response 
which is sent  back via  microservice1.  

Observation: 
1. Invoke REST API via microservice1. Fails.  Its truncated.
2. Replace dropwizzard with oracle helidon in microservice2, Now invoke 
REST API via microservice1, it works with out any issue.
3. I can also invoke  microservice2(with dropwizard) directly with some 
hack. it works and I can see full json response in this case.

The difference in Response headers between case1 and case2 is as below. The 
working one contains two additional headers.
Transfer-Encoding: chunked
Content-Encoding: gzip

Any encoding has to be set in Dropwizzard? Any clue please.

regards,
Robin Kuttaiah

On Wednesday, June 26, 2019 at 1:59:22 AM UTC+5:30, Jochen Schalanda wrote:
>
> Hi, 
>
> could you please upload a minimal project to reproduce the issue and some 
> example cURL command to send a request to the application? 
>
> Thanks, 
> Jochen 
>
> > Am 24.06.2019 um 18:43 schrieb Kuttaiah Robin <[email protected] 
> <javascript:>>: 
> > 
> > Hello, 
> > 
> > Am using 2.0.0-rc3. 
> > 
> > I see Jetty server is coming up fine without any issues and all our REST 
> resources are deployed properly. 
> > 
> > But HTTP GET responses from the REST API are truncated hence client 
> receives partial JSON payload. 
> > 
> > Has anyone encountered this? If yes, could you please help me with 
> solution? 
> > 
> > regards, 
> > Robin Kuttaiah 
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dropwizard-user/ea3147ad-7b6d-4096-b23f-f7aafe197d1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to