---
title: Troubleshooting command-over-http
url: https://www.tines.com/docs/admin/command-over-http/troubleshooting-command-over-http/
updated: 2025-04-29T15:30:34+00:00
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Admin](https://www.tines.com/llm/docs/admin.md) › [Command-over-HTTP](https://www.tines.com/llm/docs/admin/command-over-http.md)*

# Troubleshooting command-over-http

*[View on tines.com](https://www.tines.com/docs/admin/command-over-http/troubleshooting-command-over-http/)*

> **TIP:** Since command-over-HTTP leverages tunnels, the best place to start troubleshooting is the [Troubleshooting and common errors for tunnels](/docs/admin/tunnel/tunnel-faqs) page.

## Common errors

### `**ModuleNotFoundError**`

This indicates that the specified library is not included with command-over-HTTP. We support several libraries like python3, bash, iputils, zlib and powershell, but the library you're trying to use may not be included.

An alternative (available in Cloud tenants only) is using the [Run Python script](https://www.tines.com/docs/actions/templates/templates/frequently-used-templates/run-python-script) since it has fewer limitations on the libraries it can use.

### `ERR_STREAM_PREMATURE_CLOSE`

Your script could be running longer than the HTTP request action is.

1. You can set the `EXECUTION_TIMEOUT` env var on the command-over-HTTP container to be a value greater than the one in their HTTP request timeout. The value is in seconds, so, e.g., it could be set to 600 (10 mins). See the [environment variables page](https://www.tines.com/docs/environment-variables/) for command-over-HTTP for more information.
2. Your command might just be taking longer, so extending the timeout figures on the container and/or private system could help.
