java.net.ProtocolException: Too many follow-up requests: 21

Hi,

I get this error when i call ReportExecution API REST V2 from android SDK.

I use this SDK : com.github.Jaspersoft.js-android-sdk:js-android-sdk-client:2.5.1

And the following code : 

  Server server = Server.builder()
                     .withBaseUrl("http://10.0.2.2:8080/jasperserver/")
                     .build();
 
Credentials credentials = SpringCredentials.builder()
                               .withPassword("jasperadmin")
                               .withUsername("jasperadmin")
                               .withOrganization("")
                               .build();
 
 
AuthorizedClient client = server.newClient(credentials)
                               .create();
 
ReportService reportService = ReportService.newService(client);
 
String reportUri = "/reports/interactive/CustomersReport";
 
ReportExecutionOptions options = ReportExecutionOptions.builder()
                               .withFormat(ReportFormat.PDF)
                               .withFreshData(true)
                               .withMarkupType(ReportMarkup.EMBEDDABLE)
                               .withInteractive(false)
                               .build();
 
    ReportExecution execution = reportService.run(reportUri, options);

Does anyone already managed this error ? Is it a jasperserver configuration problem ? I didn't modify the default configuration

Thanks in advance

eric.kersuzan's picture
Joined: Jan 20 2016 - 12:35am
Last seen: 1 year 7 months ago

Jasper server version is 7.1.0 (Compilation: 20180504_1307)

eric.kersuzan - 4 years 6 months ago

0 Answers:

No answers yet
Feedback