Unable to make reports

Good evenig everybody, i need some help, i don't know why i can't do reports and this message apears:

Time period exceeds the limit - IllegalArgumentException (ReportUtils:105 < RouteReportProvider:60 < ReportResource:134 < ..)

so i check the logs and get this:

2023-02-07 20:56:33 TRACE: [DEBUG] Released scope instance {0} on thread {1}
2023-02-07 20:56:33 TRACE: [DEBUG] Released scope instance {0} on thread {1}
2023-02-07 20:56:33  INFO: [T74917fdc] id: 9172233256, time: 2023-02-07 20:56:32, lat: -32.49845, lon: -58.28045, course: 0.0
2023-02-07 20:56:33  INFO: [Tc426a431: h02 < 186.143.199.36] 24917156134023563107022332105196060584730752006174ffffdfff01ae75ae0000000002d2220326ea9def
2023-02-07 20:56:33 TRACE: [DEBUG] Released scope instance {0} on thread {1}
2023-02-07 20:56:33  WARN: Speed limit provider failed -
javax.ws.rs.ProcessingException: java.lang.IllegalArgumentException: URI is not absolute
        at org.glassfish.jersey.client.ClientRuntime.processFailure(ClientRuntime.java:247)
        at org.glassfish.jersey.client.ClientRuntime.processFailure(ClientRuntime.java:242)
        at org.glassfish.jersey.client.ClientRuntime.access$100(ClientRuntime.java:62)
        at org.glassfish.jersey.client.ClientRuntime$2.lambda$failure$1(ClientRuntime.java:178)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
        at org.glassfish.jersey.client.ClientRuntime$2.failure(ClientRuntime.java:178)
        at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:281)
        at org.glassfish.jersey.client.ClientRuntime.lambda$null$6(ClientRuntime.java:182)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288)
        at org.glassfish.jersey.client.ClientRuntime.lambda$createRunnableForAsyncProcessing$7(ClientRuntime.java:156)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: URI is not absolute
        at java.base/java.net.URL.fromURI(URL.java:692)
        at java.base/java.net.URI.toURL(URI.java:1116)
        at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:320)
        at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:277)
        ... 13 more

any idea to solve it?

Anton Tananaev2 years ago

Those two errors are completely unrelated and you should probably fix both.

The report error is because you're trying to select time interval longer than you set in report.periodLimit.

The speed limit provider error is because you misconfigured speed limit provider.

@AntonTananaev thank you for your answer, as always you are the best, report.periodLimit is not configured in the config file, so I never touch it, and in the WebApp the time of the report is "today", and the speed limit provider, I don't know where is ... Yesterday the server was fine, so I solved restoring a backup image, I couldn't find the error and the server crash suddenly. I have just finished to do it.

Anton Tananaev2 years ago

is not configured I the config file

It is configured. Otherwise you wouldn't be getting this error.

F&$#k! You were wright! Sorry for the problems, I didn't see it... Thanks again and I will always be thanks full with you, and if any time you came to Argentina I will be honored to invite you an Asado.