> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3081-agentkit-tanstack-ai-backends.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Error read ECONNRESET

### Symptom

The client can not connect to the database throwing an exception similar to:

```
[ioredis] Unhandled error event: Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:211:20)
```

### Diagnosis

The server is TLS enabled but your connection (client) is not.

### Solution

Check your connection parameters and ensure you enable TLS.

If you are using a Redis URL then it should start with `rediss://`.

You can copy the correct connection string from the **Connect** section
(**TCP** tab) on your database page in the Upstash Console.


## Related topics

- [Errors](/blob/reference/errors.md)
- [Connecting with Read-Only Access](/redis/troubleshooting/readonly_connection.md)
- [ERR XReadGroup is cancelled](/redis/troubleshooting/stream_pel_limit.md)
- [Reading](/blob/bucket/reading.md)
- [GET](/redis/commands/string/get.md)
