Jump to content

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


eric.kersuzan

Recommended Posts

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);[/code]

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

Thanks in advance

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...