I got the following error when I tried to import patron details from csv file using the option, Tools > Import Patrons "Gateway Time-out The gateway did not receive a timely response from the upstream server or application." A small amount of patron details imported and process broken and showed the above message. CSV file contained 10000 patrons details.
Check your reverse proxy configuration. It does not come from Koha.