db-migrate / db-migrate/pg

ECONNRESET in Azure Postgres

Open
#19 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
68
Forks
50
PR merge metrics
No merged PRs in 30d

Description

I am using the new managed Postgres service in Azure. My application doesn't have a problem connecting to actual PostgreSQL databases. However, a migrate up against the managed database consistently results in a fatal exception that occur after the migration completes.

Since the migrations run successfully, the problem seems to be related to how the connection is getting terminated.

```
Error: read ECONNRESET
at exports._errnoException (util.js:1050:11)
at TLSWrap.onread (net.js:581:26)
```

The application uses the latest version of db-migrate for node and the most recent pg driver.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/47355674-econnreset-in-azure-postgres?utm_campaign=plugin&utm_content=tracker%2F14258523&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F14258523&utm_medium=issues&utm_source=github).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.