added error logging
added retries for chapter get pages