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

# sk180514 - "An internal error has occurred" error  when connecting to SmartConsole with DNS name

| Property | Value |
|----------|-------|
| Solution ID | sk180514 |
| Date Created | 2023-01-17 |
| Last Modified | 2023-08-14 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R81.20, R81.10 (EOS), R81 (EOS) |

## Symptoms

- * "An internal error has occurred" error when connecting to SmartConsole with DNS name.

* In the file *$FWDIR/log/cpm.elg* you can find logs that show the log-in request fails when it is looking for a domain with the name of the DNS server (in this example, the DNS name is ux-1):  

  `
  [DATE TIME] ERROR coresvc.internal.LoginSvcImpl [qtp-39232058-290]: Failed to find domain for ux-1`  
  `
  [DATE TIME] ERROR infrastructure.logging.DefaultExceptionLoggerHandlerImpl [qtp-39232058-290]: incident [1c5b56ed-3c2e-4fa1-a1c3-cca3e40f0eaa]:
  java.lang.IllegalArgumentException: key is null`

* The issue started after installing R81.10 Jumbo HFA take 79.

## Cause

The Security Management server searches the DNS host in the */etc/hosts* file and receives a null answer when it tries to change the domain name to IP.

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) starting from Take 26
* [Jumbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) starting from Take 110
* [Jumbo Hotfix Accumulator for R81](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81/Default.htm) starting from Take 87
* [Jumbo Hotfix Accumulator for R80.40](https://sc1.checkpoint.com/documents/Jumbo_HFA/R80.40/Default.htm) starting from Take 198

If you choose not to upgrade, as a **workaround**, you can add the management IP as host with the same name of the DNS server. Run the command in Clish:

`> add host name <DNS-name> ipv4-address <MGMT-IP>`

---

# 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
