New SharePoint 2019 On premise environment. Search works perfectly fine when used in "http://sharepointserver/" but when tried over the configured https url "https://sharepoint.example.com" the search gives the error below. Crawl logs show that it can crawl the data successfully over the https.
Additional information:
I also checked the following:
Solution: Extended the storage of the disk (we had 50gb free before, now over 100gb) and it somehow started working.