---
title: Troubleshooting request ECONNRESET errors
description: Understand what ECONNRESET means in Vercel runtime logs, why it happens when calling external APIs, how to diagnose it, and when to contact Vercel Support.
url: /kb/guide/troubleshooting-request-econnreset-errors
canonical_url: "https://vercel.com/kb/guide/troubleshooting-request-econnreset-errors"
published: 2025-11-03
last_updated: 2026-07-16
authors: Gabe Nuñez
related:
  - /docs/secure-compute
  - /docs/connectivity/static-ips
  - /docs/functions/configuring-functions/region
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---
<!-- docsgraph:related -->
## Related pages

> **For AI agents:** Follow these links to understand how this page connects to the rest of the Vercel ecosystem. For the full cross-link map (inbound, outbound, prerequisites, and semantic neighbors), see the .graph.md link below.

- [Error Codes](https://vercel.com/docs/errors?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related) — Use this guide to find specific solutions and insights for common Vercel errors.
- [How requests flow through Vercel](https://vercel.com/docs/fundamentals/infrastructure?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related) — Learn how Vercel routes, secures, and serves requests from your users to your application.
- [Update regarding Vercel service disruption on August 7, 2024](https://vercel.com/blog/update-regarding-vercel-service-disruption-on-august-7-2024?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related)
- [How do I resolve "ERR_SSL_PROTOCOL_ERROR" with Vercel?](https://vercel.com/kb/guide/resolve-err-ssl-protocol-error-with-vercel?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related) — Information about how to resolve the "ERR_SSL_PROTOCOL_ERROR" error with Vercel.
- [Troubleshooting connectivity issues to Vercel Deployments](https://vercel.com/kb/guide/troubleshooting-connectivity-issues?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related) — Learn how to troubleshoot network connectivity issues to your Vercel deployment.
- [What should I do if I receive a 503 error on Vercel?](https://vercel.com/kb/guide/what-should-i-do-if-i-receive-a-503-error-on-vercel?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related) — Learn about when Serverless Functions return a 503 status code and what can be done about them.
- [Troubleshooting Inconsistent Logs in Vercel Functions](https://vercel.com/kb/guide/troubleshooting-inconsistent-logs-in-vercel-functions?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related) — Learn how to troubleshoot and resolve logs that appear mixed in Vercel Functions. This guide explains why logs from diff
- [How to resolve IP blocking issues ](https://vercel.com/kb/guide/how-to-resolve-ip-blocking-issues?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=related) — Learn to troubleshoot IP blocking issues for both shared and personal networks.

Full cross-link map for this page: [/kb/guide/troubleshooting-request-econnreset-errors.graph.md](/kb/guide/troubleshooting-request-econnreset-errors.graph.md?from=related&source_path=%2Fkb%2Fguide%2Ftroubleshooting-request-econnreset-errors&source_site=vercel-kb&relationship=graph)
<!-- /docsgraph:related -->


## What does ECONNRESET mean?

`ECONNRESET` means _connection reset by peer._ The remote server (or something on the network path) closed the connection unexpectedly. This is usually caused by the external service or a misconfiguration, not by Vercel.

## Common causes

- **Persistent errors**: Usually a setup or configuration issue (wrong protocol, port, or missing allowlist).
  
- **Intermittent errors**: Often external (e.g., provider maintenance, load spikes, or deployment changes). Check provider logs and metrics to correlate timing.
  

**Other possible triggers:**

- Provider timeouts or rate limiting
  
- Protocol/TLS mismatches
  
- IP allowlisting issues (default Vercel egress IPs are dynamic; use [Secure Compute](/docs/secure-compute) or [Static IPs](/docs/connectivity/static-ips) for dedicated IPs)
  
- Running functions far from the provider region (learn to configure your Vercel Function Region [here](/docs/functions/configuring-functions/region)).
  

## Quick steps to diagnose

1. **Check with your provider**: Did they receive the request? (If yes, [proceed to contact Vercel Support](#when-to-contact-vercel-support))
   
2. **Inspect Vercel Runtime Logs**: Look for request details and error timing.
   
3. **Enable NODE\_DEBUG**: Add an environment variable to your project `NODE_DEBUG=http,https,net` to capture detailed network activity.
   
4. **Add timeouts and retries**: Handle transient resets with capped backoff retries.
   
5. **Limit concurrency**: Avoid flooding the provider with parallel requests.
   

## When to contact Vercel Support

If your provider confirms they received the request but you still see `ECONNRESET`, reach out via the [Support Center](/help). Include:

- Deployment URL and function route
  
- Timestamp (UTC) and function region
  
- Runtime (Node.js)
  
- Runtime Logs for the request
  
- Any additional information that the provider can provide about the request
  

## How to reduce future errors

- Place your functions in regions close to your data source
  
- Use [Secure Compute](/docs/secure-compute) or [Static IPs](/docs/connectivity/static-ips) for dedicated egress IPs if your provider requires allowlisting
  
- Always set timeouts, retries, and concurrency limits
  
- Monitor patterns with Observability to spot issues early