From 212d0e5cfc4be958d4649ab3badc02c9967bb8d8 Mon Sep 17 00:00:00 2001 From: Sandeep Singh Date: Mon, 2 Jan 2023 17:09:39 +0530 Subject: [PATCH] Adding more error to ignore with hosts (#3121) --- v2/pkg/protocols/common/hosterrorscache/hosterrorscache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/pkg/protocols/common/hosterrorscache/hosterrorscache.go b/v2/pkg/protocols/common/hosterrorscache/hosterrorscache.go index 2c2d1d493..0fc334f6b 100644 --- a/v2/pkg/protocols/common/hosterrorscache/hosterrorscache.go +++ b/v2/pkg/protocols/common/hosterrorscache/hosterrorscache.go @@ -128,7 +128,7 @@ func (c *Cache) MarkFailed(value string, err error) { _ = c.failedTargets.Set(finalValue, existingCacheItemValue) } -var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused)`) +var reCheckError = regexp.MustCompile(`(no address found for host|Client\.Timeout exceeded while awaiting headers|could not resolve host|connection refused|context deadline exceeded)`) // checkError checks if an error represents a type that should be // added to the host skipping table.