# \#flask

**URL:** https://discuss.circleci.com/tag/flask/149.md

[Latest](https://discuss.circleci.com/latest.md) · [Categories](https://discuss.circleci.com/categories.md) · [Tags](https://discuss.circleci.com/tags.md)

---

## [Cypress E2E tests fail with ESOCKETTIMEDOUT and request timeouts when calling localhost in CircleCI](https://discuss.circleci.com/t/cypress-e2e-tests-fail-with-esockettimedout-and-request-timeouts-when-calling-localhost-in-circleci/54401)

<div class="topic-metadata">

**Author:** [@KeethCintra](https://discuss.circleci.com/u/KeethCintra)\
**Replies:** 0\
**Last updated:** [February 23, 2026, 3:31pm UTC](https://discuss.circleci.com/t/cypress-e2e-tests-fail-with-esockettimedout-and-request-timeouts-when-calling-localhost-in-circleci/54401 "2026-02-23T15:31:03Z")

</div>

Hi all. Problem Our Cypress E2E tests intermittently fail in CircleCI with ESOCKETTIMEDOUT and “timed out waiting 30000ms” when calling our Flask app on localhost. Sometimes runs pass, sometimes they fail. Typical pat…

---

## [Caching pg\_dump files by migrations](https://discuss.circleci.com/t/caching-pg-dump-files-by-migrations/28248)

<div class="topic-metadata">

**Author:** [@kirk-clover](https://discuss.circleci.com/u/kirk-clover)\
**Replies:** 7\
**Last updated:** [July 20, 2019, 12:04am UTC](https://discuss.circleci.com/t/caching-pg-dump-files-by-migrations/28248 "2019-07-20T00:04:01Z")

</div>

I have three repos that I run migrations on before doing downstream integration tests. We use Postgres as our database. The migrated repos are django & flask. In one job, we run the migrations in each repo, call pg\_dump …

---

## [Failure in bulding flask app](https://discuss.circleci.com/t/failure-in-bulding-flask-app/27510)

<div class="topic-metadata">

**Author:** [@samiujan](https://discuss.circleci.com/u/samiujan)\
**Replies:** 0\
**Last updated:** [January 7, 2019, 10:41am UTC](https://discuss.circleci.com/t/failure-in-bulding-flask-app/27510 "2019-01-07T10:41:29Z")

</div>

Downloading https://files.pythonhosted.org/packages/6f/e9/08fd439384b7e3d613e75a6c8236b8e64d90c47d23413493b38d4229a9a5/enum34-1.1.2.tar.gz (46kB) 100% |████████████████████████████████| 51kB 11.8MB/s Complete output fr…

---

## [Circleci v2 suddenly fails to recognize environment variable?](https://discuss.circleci.com/t/circleci-v2-suddenly-fails-to-recognize-environment-variable/23922)

<div class="topic-metadata">

**Author:** [@dhhagan](https://discuss.circleci.com/u/dhhagan)\
**Replies:** 4\
**Last updated:** [July 30, 2018, 12:37pm UTC](https://discuss.circleci.com/t/circleci-v2-suddenly-fails-to-recognize-environment-variable/23922 "2018-07-30T12:37:22Z")

</div>

I’ve been running tests for a Flask app for a couple years now without incident. Suddenly today, the tests started failing because it is trying to run the development server as opposed to the test server. After a bit of …

---

## [HTTP Request ConnectionRefusedError](https://discuss.circleci.com/t/http-request-connectionrefusederror/20147)

<div class="topic-metadata">

**Author:** [@alexisrolland](https://discuss.circleci.com/u/alexisrolland)\
**Replies:** 1\
**Last updated:** [February 18, 2018, 10:06am UTC](https://discuss.circleci.com/t/http-request-connectionrefusederror/20147 "2018-02-18T10:06:07Z")

</div>

I am testing my API during my build process. From the logs I can see the API starts correctly but all http requests sent by my unit test fail with the error message: ConnectionRefusedError: \[Errno 111\] Connection refus…

---

## [Python Type hints as syntax error](https://discuss.circleci.com/t/python-type-hints-as-syntax-error/15122)

<div class="topic-metadata">

**Author:** [@bernard](https://discuss.circleci.com/u/bernard)\
**Replies:** 3\
**Last updated:** [September 8, 2017, 1:39pm UTC](https://discuss.circleci.com/t/python-type-hints-as-syntax-error/15122 "2017-09-08T13:39:09Z")

</div>

My builds have been failing because CircleCI incorrectly marks functions which contain type hints in it's signature as incorrect. Eg: \*/gateway/controllers/hooks.py", line 6 def post(self, hook: dic…
