Getting "Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR" while running Python Selenium test scripts

I am running the test scripts with chrome browser using python selenium test scripts.

            chromedriver = '.\\chromedriver.exe'

            options = webdriver.ChromeOptions()
            options.add_argument('--headless')
            options.add_argument('--incognito')
            options.add_argument('--disable-gpu')
            options.add_argument("--no-sandbox")
            options.add_argument('--ignore-certificate-errors')
            options.add_argument('window-size=1920x1080')

Cannot share the whole code but I have used sleep, implicit and explicit waits to slow down the webpage loads but still I am getting different failures in each time. The least errors I have seen is 6 out of 120 test cases and there is only 1 of them is a real failure. I thought about AJAX failure so I have added the waits mentioned above but still cannot trust the test scripts.

I am taking the screenshots of the failures and my only option would be to run the failed test cases one more time to see if they would pass.

Any suggestions are welcomed. Thank you for your time.