Sporadische fehler in der API
Wir bekommen sporadisch Exceptions von der API. Diese Exceptions treten bei erneutem Request nicht mehr auf. Lässt sich das auf eurer Seite stabilisieren oder könnt ihr evtl. einen retry innerhalb des requests machen? Bei uns schlagen so immer die Monitoring Systeme an.
Hier zwei Beispiele:
{"Acknowledgement"=>"The 'GFZ Time Series System for Sentinel-2' (GTS2) was financed by AgriCircle/ADAMA between 2016/06 and 2017/12.", "ControlValues"=>{"API_message"=>["ValueError: Unterminated string starting at: line 16914 column 9 (char 524278)"], "API_status"=>1, "Hostname"=>"6372c20b35c3", "IPofServer"=>"172.17.0.4", "Time_total_API [s]"=>0, "Time_total_get_data [s]"=>0}, "Request"=>{"bands"=>["B02", "B03", "B04", "B05", "B06", "B08"], "end-date"=>"Tue, 08 May 2018 00:00:00 GMT", "lat_ll"=>50.03758, "lat_ur"=>50.038356, "level"=>"L2A", "lon_ll"=>9.941025402438285, "lon_ur"=>9.943239602613504, "mask"=>[50, 40], "max_cloudy"=>0.6, "minimum_fill"=>0.4, "onlytime"=>false, "resolution"=>[10, 10, 10, 20, 20, 10], "sensor"=>"S2all", "start-date"=>"Mon, 07 May 2018 00:00:00 GMT", "suffix"=>"coreg", "url"=>"https://rz-vm175.gfz-potsdam.de:4444/AC/B02_B03_B04_B05_B06_B08/20180507_20180508/9.941025402438285_9.943239602613504_50.03758_50.038356?minimum_fill=0.4&sensor=S2all&level=L2A&max_cloudy=0.6&version=0.12&suffix=coreg", "version"=>"0.12"}, "RequestGeoInfo"=>{"Tiles"=>{"tile_ll"=>"N/A", "tile_lr"=>"N/A", "tile_ul"=>"N/A", "tile_ur"=>"N/A"}}
{"Acknowledgement"=>"The 'GFZ Time Series System for Sentinel-2' (GTS2) was financed by AgriCircle/ADAMA between 2016/06 and 2017/12.", "ControlValues"=>{"API_message"=>["ValueError: Expecting value: line 1 column 1 (char 0)"], "API_status"=>1, "Hostname"=>"88d7cbc8c8fe", "IPofServer"=>"172.17.0.5", "Time_total_API [s]"=>0, "Time_total_get_data [s]"=>0}, "Request"=>{"bands"=>["B02", "B03", "B04", "B05", "B06", "B08"], "end-date"=>"Tue, 22 May 2018 00:00:00 GMT", "lat_ll"=>53.931034000000004, "lat_ur"=>53.934266, "level"=>"L2A", "lon_ll"=>13.253405773646426, "lon_ur"=>13.269467253159688, "mask"=>[50, 40], "max_cloudy"=>0.6, "minimum_fill"=>0.4, "onlytime"=>true, "resolution"=>[10, 10, 10, 20, 20, 10], "sensor"=>"S2all", "start-date"=>"Fri, 01 Jan 2016 00:00:00 GMT", "suffix"=>"coreg", "url"=>"https://rz-vm175.gfz-potsdam.de:4444/AC/B02_B03_B04_B05_B06_B08/20160101_20180522/13.253405773646426_13.269467253159688_53.931034000000004_53.934266?minimum_fill=0.4&sensor=S2all&level=L2A&max_cloudy=0.6&version=0.12&suffix=coreg&onlytime=true", "version"=>"0.12"}, "RequestGeoInfo"=>{"Tiles"=>{"tile_ll"=>"N/A", "tile_lr"=>"N/A", "tile_ul"=>"N/A", "tile_ur"=>"N/A"}}