> For the complete documentation index, see [llms.txt](https://docs.noports.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.noports.com/troubleshooting.md).

# Copy of Troubleshooting

## TimeoutException: Connection timeout to srvd \<atsign> service

You receive the following error while using NoPorts:

```
TimeoutException: Connection timeout to srvd <atsign> service
```

There are a few possibilities for why this might be happening:

1. The relay atsign (-r in cli) is not running a relay or doesn't exist
2. The device atsign (-t in cli) doesn't exist

## TimeoutException: Daemon feature check timed out

You receive the following error while using NoPorts:

```
TimeoutException: Daemon feature check timed out
```

There are a few possibilities for why this might be happening:

1. There is no device running with device name (-d in cli)
2. You don't have permissions to make this connection to the device

* TODO: permit open / policy
* Replace the \<??> with your details and remember to logout and back into the client so you have`npt`in your PATH.\
  \
  Note: ensure that the sshnpd on the server includes the remote port in their --permit-open/--po rules. If you installed using defaults then you need to edit the `/etc/systemd/system/sshnpd.service` file and add the hosts/ports you want to connect to via npt. \\

  For example:

  `ExecStart=/usr/local/bin/sshnpd -a "$device_atsign" -m "$manager_atsign" -d "$device_name" "$s" "$u" "$v"`

  Would become

  `ExecStart=/usr/local/bin/sshnpd -a "$device_atsign" -m "$manager_atsign" -d "$device_name" "$s" "$u" "$v" --po 127.0.0.1:22,192.168.1.90:445`

  To allow localhost access to SSH and SMB/CIFS access to 192.168.1.90 on port 445. Then run.

  `sudo systemctl daemon-reload`

  `sudo systemctl restart sshnpd.service`

  If you used a non root install (e.g. TMUX) then you will need to make a similar edit to `~/.local/bin/sshnpd.sh` and restart the script\\


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.noports.com/troubleshooting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
