Java LookupAndDownload job

Hello,
after the 1.8.1 update everything was looking good, but for some reason now i’m getting this java error.

openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-b10)
OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode)

Log error:

May 15 04:16:17 demeter start.sh[30502]: java.util.concurrent.ExecutionException: ro.cs.tao.datasource.QueryException: The request was not successful. Reason: Service Unavailable
May 15 04:16:17 demeter start.sh[30502]: at java.util.concurrent.FutureTask.report(FutureTask.java:122)
May 15 04:16:17 demeter start.sh[30502]: at java.util.concurrent.FutureTask.get(FutureTask.java:192)
May 15 04:16:17 demeter start.sh[30502]: at org.esa.sen2agri.scheduling.LookupJob.lookupAndDownload(LookupJob.java:168)
May 15 04:16:17 demeter start.sh[30502]: at org.esa.sen2agri.scheduling.LookupJob.executeImpl(LookupJob.java:116)
May 15 04:16:17 demeter start.sh[30502]: at org.esa.sen2agri.scheduling.AbstractJob.execute(AbstractJob.java:48)
May 15 04:16:17 demeter start.sh[30502]: at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
May 15 04:16:17 demeter start.sh[30502]: at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
May 15 04:16:17 demeter start.sh[30502]: Caused by: ro.cs.tao.datasource.QueryException: The request was not successful. Reason: Service Unavailable
May 15 04:16:17 demeter start.sh[30502]: at ro.cs.tao.datasource.remote.scihub.SciHubDataQuery.getCount(SciHubDataQuery.java:158)
May 15 04:16:17 demeter start.sh[30502]: at org.esa.sen2agri.services.internal.DownloadServiceImpl.count(DownloadServiceImpl.java:119)
May 15 04:16:17 demeter start.sh[30502]: at org.esa.sen2agri.scheduling.LookupJob.lambda$lookupAndDownload$1(LookupJob.java:167)
May 15 04:16:17 demeter start.sh[30502]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
May 15 04:16:17 demeter start.sh[30502]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
May 15 04:16:17 demeter start.sh[30502]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
May 15 04:16:17 demeter start.sh[30502]: at java.lang.Thread.run(Thread.java:748)

Any ideia what is this about?

Thank you
Joao

Hello,

Have you updated the user name and password for the SciHub in the sen2agri-services.properties file and restarted the application?
Also, it might be a temporary problem of the SciHub as I see I cannot access the apihub (it continuously requesting me the user name and password).

Cosmin

The access credential were ok.

Today it stoped giving that error, nevertheless the downloads were note resumed. To solve the situation (if some one get similar problem) just went to database and removed the “download_history” entrys from the last days with “status_id=4”

Than you for the assitance,
Cheers
Joao