---
title: Terminal Gateway not connecting or session won’t open
description: "Fix the messages you see when an SSH, WebBox, RDP or VNC session doesn't open."
url: "https://mikrowizard.com/docs/terminal-gateway-troubleshooting/"
updated: "2026-11-25"
category: "Troubleshooting & FAQ"
---

# Terminal Gateway not connecting or session won’t open

Pro

## Messages and fixes

| Message | Cause and fix |
| --- | --- |
| *Terminal Gateway is not installed* | MikroWizard can't reach the gateway. It also shows this when the gateway is installed but stopped, unreachable, or its token doesn't match. See *Check the gateway* below, or [install it](https://mikrowizard.com/docs/installing-terminal-gatway-addon/). |
| *Your Terminal Gateway container is outdated and does not support WebBox* | Update the gateway: see [Update the Terminal Gateway](https://mikrowizard.com/docs/updating-terminal-gateway-addon/). |
| *PAM access is not enabled for this user* | The user has no PAM seat. See [Give a user PAM access](https://mikrowizard.com/docs/give-user-pam-access/). |
| *No terminal policy is set for this device group* | Set a terminal policy for the group on the user. |
| *Device is not assigned to any group* | Add the device to a device group. |
| *You do not have access to this device's group* | Give the user access to a group that contains the device. |
| *No credential found for this device* | Edit the device and enter its username and password (or SSH key). |
| *SSH service is disabled on this device (/ip service)* | Enable the service on the MikroTik router, or use another protocol. |
| *WebBox is only supported on MikroTik devices* | Use RDP or VNC for desktops. |

## Check the gateway

MikroWizard checks the gateway's health address (by default `http://127.0.0.1:8201/health`) with the token from `server-conf.json` (`terminal_gateway_enabled`, `terminal_gateway_url`, `terminal_gateway_token`).

1. Is the container running?

```
sudo docker ps --filter name=mikrowizard-terminal-gateway
```

1. Check its health with the installer (download it first, see the install article):

```
sudo bash install.sh --status
```

1. Read its log:

```
sudo docker logs --tail 100 mikrowizard-terminal-gateway
```

1. Restart it: `sudo bash install.sh --restart`.

## The session opens but stays blank or disconnects

The browser connects to the gateway through the web interface at `/terminal-ws/` (and agents at `/agent/`). If you put your own reverse proxy in front of MikroWizard, make sure it passes these paths and WebSocket connections through.

For MikroTik SSH and WebBox, the router must accept the user's RADIUS login: see [RADIUS login not working](https://mikrowizard.com/docs/radius-login-troubleshooting/).
