HTTP 500 error with Sen 1 data

I get the following internal server error when downloading S1 data using the eolearn library (request contained in error):

During execution of task S1IWWCSInput: Failed to download from:
https://services.sentinel-hub.com/ogc/wcs/b479e2f7-xxxx-xxxx-xxxx-xxxxxxxxxxx?SERVICE=wcs&BBOX=583407.6403465905%2C5655527.992590732%2C583613.8876885484%2C5655803.422504275&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32631&RESX=10m&RESY=10m&COVERAGE=S1_IW&REQUEST=GetCoverage&VERSION=1.1.2&TIME=2019-09-12T05%3A45%3A19%2F2019-09-12T05%3A55%3A19&MAXCC=100.0&ShowLogo=False&Transparent=True
with HTTPError:
500 Server Error: Internal Server Error for url: https://services.sentinel-hub.com/ogc/wcs/b479e2f7-xxxx-xxxx-xxxx-xxxxxxxxxxx?SERVICE=wcs&BBOX=583407.6403465905%2C5655527.992590732%2C583613.8876885484%2C5655803.422504275&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32631&RESX=10m&RESY=10m&COVERAGE=S1_IW&REQUEST=GetCoverage&VERSION=1.1.2&TIME=2019-09-12T05%3A45%3A19%2F2019-09-12T05%3A55%3A19&MAXCC=100.0&ShowLogo=False&Transparent=True
Server response: “java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.”

As the error seems to be on the sentinel hub side, I hope you can investigate.

Cheers
Sam

I get different error:
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 86; columnNumber: 564; An invalid XML character (Unicode: 0x4) was found in the element content of the document.

This gives me thinking that some of the supportive XML files, that are used for gamma0 calibration is actually errornous, which is not something one would expect…

We will come back with more insights once we have them but cannot commit to do it very soon as the issue seems to be pretty rare.

This was caused by a corrupt metadata XML file. Not much can be done. The product was blacklisted.

Hello!

I’m getting the following error:

During execution of task S1IWWCSInput: Failed to download from:
https://services.sentinel-hub.com/ogc/wcs/dff7027a-xxxx-xxxx-xxxx-xxxxxxxxxxxx?SERVICE=wcs&WARNINGS=False&MAXCC=100.0&ShowLogo=False&Transparent=True&BBOX=598835.6992027061%2C5715071.232590161%2C598864.1354068707%2C5715076.175227068&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32631&TIME=2019-04-05T16%3A32%3A55%2F2019-04-05T18%3A32%3A55&RESX=10m&RESY=10m&COVERAGE=S1_IW_A&REQUEST=GetCoverage&VERSION=1.1.2
with HTTPError:
500 Server Error: Internal Server Error for url: https://services.sentinel-hub.com/ogc/wcs/dff7027a-xxxx-xxxx-xxxx-xxxxxxxxxxxx?SERVICE=wcs&WARNINGS=False&MAXCC=100.0&ShowLogo=False&Transparent=True&BBOX=598835.6992027061%2C5715071.232590161%2C598864.1354068707%2C5715076.175227068&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A32631&TIME=2019-04-05T16%3A32%3A55%2F2019-04-05T18%3A32%3A55&RESX=10m&RESY=10m&COVERAGE=S1_IW_A&REQUEST=GetCoverage&VERSION=1.1.2
Server response: “java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException”

Do you have any idea what is wrong there?

Best,
Emanuele

Hi Emanuele,
you found an obscure corner case, which was not handled properly. We have fixed an issue and your script should now work.
Sorry for the inconvenience and thanks for raising this.
Best,
Grega

1 Like

Hi @gmilcinski ,

It seems that I am getting the same error:

“During execution of task SentinelHubWCSInput: Failed to download from:\nhttps://services.sentinel-hub.com/ogc/wcs/fbda52b8-xxxx-xxxx-xxxx-xxxxxxxxxxxx?SERVICE=wcs&WARNINGS=False&MAXCC=100.0&ShowLogo=False&Transparent=True&BBOX=48.51966587137517%2C16.98456287384034%2C48.52021305994283%2C16.98561429977417&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A4326&TIME=2018-07-13T03%3A01%3A27%2F2018-07-13T07%3A01%3A27&RESX=10m&RESY=10m&COVERAGE=RAW-VV&REQUEST=GetCoverage&VERSION=1.1.2\nwith HTTPError:\n500 Server Error: Internal Server Error for url: https://services.sentinel-hub.com/ogc/wcs/fbda52b8-xxxx-xxxx-xxxx-xxxxxxxxxxxx?SERVICE=wcs&WARNINGS=False&MAXCC=100.0&ShowLogo=False&Transparent=True&BBOX=48.51966587137517%2C16.98456287384034%2C48.52021305994283%2C16.98561429977417&FORMAT=image%2Ftiff%3Bdepth%3D32f&CRS=EPSG%3A4326&TIME=2018-07-13T03%3A01%3A27%2F2018-07-13T07%3A01%3A27&RESX=10m&RESY=10m&COVERAGE=RAW-VV&REQUEST=GetCoverage&VERSION=1.1.2\nServer response: “java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException””

Can you check it, please?

Hi @Roman,

You were quite unlucky with your request: your AOI is exactly over a stitching artifact between tiles in the orbit. Our team is actively working on the issue and it should be fixed in the near future.

In the meantime you can work around the error by requesting a slightly larger area.

Thank you for your patience and our apologies for the inconvenience!

Hi @maxim.lamare ,

Thank you for your reply. We are looking for the fix!

The issue has been fixed, but not yet deployed. I will write here once the fix will be operational.

Thanks again for your patience!

The fix has now been deployed. Hope this solves your issues.

1 Like