> Source: [sk176144](https://support.checkpoint.com/results/sk/sk176144)

# sk176144 - "Gateway Timeout" error when attempting to access websites through Security Gateway configured as HTTP/HTTPS Proxy

| Property | Value |
|----------|-------|
| Solution ID | sk176144 |
| Date Created | 2021-11-16 |
| Last Modified | 2023-02-22 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R81.20, R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- * On internal computers behind the Security Gateway configured as HTTP/HTTPS Proxy, Internet web sites do not open.

  Web browser shows one of these messages:
  * *Gateway Timeout/The requested URL couldn't be resolved*

  * *This site can't be reached*

  * *This page can't be displayed*

* The Security Gateway log shows that the traffic was rejected with this reason:

  *Proxy: DNS timeout/error; Connection was rejected due to DNS timeout or error*

  Example:

  ![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk176144/DNS_Error202111011410352.png)
* Debug of the WSDNSD daemon ([sk106443](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk106443)) shows this error:

  *\[wsdnsd XXX XXX\]@HostName\[Date Time\] Sock_Input: ParseResponce result is r_tcp
  \[wsdnsd XXX XXX\]@HostName\[Date Time\] SendTCP: Failed to connect socket for IPv4 = -XXX.
  \[wsdnsd XXX XXX\]@HostName\[Date Time\] Warning:cp_timed_blocker_handler: A handler \[0x...\] blocked for 45 seconds.*
* Traffic capture on the Security Gateway shows that the Security Gateway cannot connect to the DNS server at the TCP port 53.

## Cause

The Security Gateway does not allow the DNS queries over the TCP (for example, see [RFC 5966](https://www.rfc-editor.org/search/rfc_search_detail.php?rfc=5966) and [RFC 2181](https://www.rfc-editor.org/search/rfc_search_detail.php?rfc=2181)).

Because DNS fails, the `wsdnsd` daemon stops working for about one minute.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
