Since update to 3.5.1 the import via import_logs.py fails with fatal error "got more than 100 headers". We added `httplib._MAXHEADERS = 1000` in line 52 and the script imports again. Maybe you will add this line to import_logs.py or set an config-item for this. See also https://stackoverflow.com/questions/23055378/http-client-httpexception-got-more-than-100-headers/23055649 See also https://github.com/matomo-org/matomo/issues/13055