Download from sentinel hub doesn’t work for me. What am I missing?
Uploads in the list stay at 0%, they fail multiple times and finally get aborted.
Datasource has only one entry enabled (sentinel hub login and password are correct, masked XXXX here):
id | satellite_id | name | scope | username | passwrd | fetch_mode | max_retries | retry_interval_minutes | download_path |
specific_params | max_connections | local_root | enabled | site_id | secondary_datasource_i
d
----+--------------+---------------------+-------+-----------+------------+------------+-------------+------------------------+---------------------------------+-------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------+-----------------+------------+---------+---------+-----------------------
--
4 | 1 | Scientific Data Hub | 3 | XXXXXX | XXXXXX | 3 | 72 | 60 | /mnt/archive/dwn_def/s2/default | {"parameters":{"dsParameter":[{"name":"pla
tformName","type":"java.lang.String","value":"Sentinel-2"},{"name":"productType","type":"java.lang.String","value":"S2MSI1C"}]}} | 1 | | t | |
grep from /var/log/messages shows:
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.733 WARN [DefaultQuartzScheduler_Worker-4] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.747 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - Completed S2A_MSIL1C_20190627T095031_N0207_R079_T34VFH_20190627T115710
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.748 WARN [thread_pool_executor-2] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.748 DEBUG [thread_pool_executor-2] r.c.t.s.p.i.ProgressReportServiceImpl - Started S2A_MSIL1C_20190627T095031_N0207_R079_T34VFH_20190627T115710
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.758 DEBUG [thread_pool_executor-2] r.c.t.s.p.i.ProgressReportServiceImpl - Completed S2A_MSIL1C_20190627T095031_N0207_R079_T34UEG_20190627T115710
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.759 WARN [thread_pool_executor-1] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.759 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - Started S2A_MSIL1C_20190627T095031_N0207_R079_T34UEG_20190627T115710
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.768 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - Completed S2A_MSIL1C_20190627T095031_N0207_R079_T35ULB_20190627T115710
Jul 2 14:02:16 s84036 start.sh: 2019-Jul-02 14:02:16.769 WARN [thread_pool_executor-2] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
I tried to upgrade sen2agri-services as described in issue Errors in sen2agri-services dowloading
did not help
Some additional debug info:
I noticed Exception in thread “Progress reporter” (details below)
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.289 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - S2A_MSIL1C_20190701T093041_N0207_R136_T35UMB_20190701T110249: 0.0000
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.291 WARN [thread_pool_executor-2] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.291 DEBUG [thread_pool_executor-2] r.c.t.s.p.i.ProgressReportServiceImpl - Started S2A_MSIL1C_20190701T093041_N0207_R136_T35UMB_20190701T110249
Jul 02 22:22:20 s84036 start.sh[8371]: Exception in thread "Progress reporter" java.lang.IllegalArgumentException: Progress taskCounter cannot go backwards [actual:1.00%, received:0.00%]
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.301 DEBUG [thread_pool_executor-2] r.c.t.s.p.i.ProgressReportServiceImpl - Completed S2A_MSIL1C_20190701T093041_N0207_R136_T35ULA_20190701T110249
Jul 02 22:22:20 s84036 start.sh[8371]: at ro.cs.tao.messaging.ProgressNotifier.notifyProgress(ProgressNotifier.java:85)
Jul 02 22:22:20 s84036 start.sh[8371]: at ro.cs.tao.datasource.remote.DownloadStrategy$TimedJob.run(DownloadStrategy.java:530)
Jul 02 22:22:20 s84036 start.sh[8371]: at java.util.TimerThread.mainLoop(Timer.java:555)
Jul 02 22:22:20 s84036 start.sh[8371]: at java.util.TimerThread.run(Timer.java:505)
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.304 WARN [thread_pool_executor-1] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.304 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - Started S2A_MSIL1C_20190701T093041_N0207_R136_T35ULA_20190701T110249
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.315 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - Completed S2A_MSIL1C_20190701T093041_N0207_R136_T35ULB_20190701T110249
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.315 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - S2A_MSIL1C_20190701T093041_N0207_R136_T35ULB_20190701T110249: 0.0000
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.317 WARN [thread_pool_executor-2] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.317 DEBUG [thread_pool_executor-2] r.c.t.s.p.i.ProgressReportServiceImpl - Started S2A_MSIL1C_20190701T093041_N0207_R136_T35ULB_20190701T110249
Jul 02 22:22:20 s84036 start.sh[8371]: Exception in thread "Progress reporter" java.lang.IllegalArgumentException: Progress taskCounter cannot go backwards [actual:1.00%, received:0.00%]
Jul 02 22:22:20 s84036 start.sh[8371]: at ro.cs.tao.messaging.ProgressNotifier.notifyProgress(ProgressNotifier.java:85)
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.328 DEBUG [thread_pool_executor-2] r.c.t.s.p.i.ProgressReportServiceImpl - Completed S2A_MSIL1C_20190701T093041_N0207_R136_T35VMC_20190701T110249
Jul 02 22:22:20 s84036 start.sh[8371]: at ro.cs.tao.datasource.remote.DownloadStrategy$TimedJob.run(DownloadStrategy.java:530)
Jul 02 22:22:20 s84036 start.sh[8371]: at java.util.TimerThread.mainLoop(Timer.java:555)
Jul 02 22:22:20 s84036 start.sh[8371]: at java.util.TimerThread.run(Timer.java:505)
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.330 WARN [thread_pool_executor-1] o.s.o.j.v.HibernateJpaDialect - JDBC Connection to reset not identical to originally prepared Connection - please make sure to use connection release mode ON_CLOSE (the default) and to run against Hibernate 4.2+ (or switch HibernateJpaDialect's prepareConnection flag to false
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.331 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - Started S2A_MSIL1C_20190701T093041_N0207_R136_T35VMC_20190701T110249
Jul 02 22:22:20 s84036 start.sh[8371]: 2019-Jul-02 22:22:20.342 DEBUG [thread_pool_executor-1] r.c.t.s.p.i.ProgressReportServiceImpl - Completed S2A_MSIL1C_20190701T093041_N0207_R136_T34UFG_20190701T110249