Topic: Error When Fetching Data

Popov wrote:

Uploaded Express Generator v2.45

This version successfully loads data files from MetaTrader 5 in cases when the Broker's name is written in non-English characters. Something like "Сбогом и Благодаря за Рибата".

Trade Safe!

When attempting to fetch 2.45 I get this error, any tips?

         ..:: Express Generator Fetch v2.44 ::..
Error: incorrect header check
    at Zlib.zlibOnError [as onerror] (node:zlib:189:17)
    at processChunkSync (node:zlib:457:12)
    at zlibBufferSync (node:zlib:178:12)
    at syncBufferWrapper (node:zlib:792:14)
    at fxRates_get_ready (C:\express-generator\bin\fetch.js:74:22)
    at IncomingMessage.<anonymous> (C:\express-generator\bin\lib\request.js:98:13)
    at IncomingMessage.emit (node:events:523:35)
    at endReadableNT (node:internal/streams/readable:1367:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -3,
  code: 'Z_DATA_ERROR'
}

Re: Error When Fetching Data

The problem is in the configuration of the Premium Data server.

I "fixed" the server for now, and it will work as expected.


The real problem is a misconfiguration of the server - it sets incorrect Data type headers.
I did not know that and made the Express Generator work for it.
However, when I fix the server issue, the Express Generator fails.
I'll completely fix the problem later today with a new release of Express Generator.


Thank you for the report!