amattioc / SDMX

SDMX Connectors
European Union Public License 1.2
85 stars 46 forks source link

Data calls to EUROSTAT provider fail #76

Closed amattioc closed 8 years ago

amattioc commented 9 years ago

Some days ago getTimeSeries started failing for provider EUROSTAT. The error seems to indicate that the stream is closed unexpectedly:

javax.xml.stream.XMLStreamException .Message: ParseError at [row,col]:[1,8232] Message: Premature end of file.

This seems to happen only if stream compression is enabled (this is the default). I'm investigating the issue, but for now a workaround is to disable the stream compression. This can be achieved, starting from release 1.4.1, by adding the following line to the configuration file:

providers.EUROSTAT.supportsCompression = false

amattioc commented 9 years ago

In commit https://github.com/amattioc/SDMX/commit/a7c2837b3303942adb0244046f455fe54341aa62

I disabled stream compression. I'll leave it this way 'till I understand the root cause of this behaviour...

amattioc commented 8 years ago

Requests with compression enabled started working again some days ago, so I assume there has been something going on at the estat provider. Anyway I'll leave compression disabled by default for this provider.

If needed, compression can be re-enabled by setting the following key in the configuration.properties file:

providers.EUROSTAT.supportsCompression = true