eth_getLogs fails if the blocks distance is too much. A solution would be to split the blocks range and execute eth_getLogs multiple times.