gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

Spurious connection reset HTTP 502 on V2 API running on V4 engine #9759

Open chrysophylax opened 3 months ago

chrysophylax commented 3 months ago

Describe the bug

describe-the-bug

HTTP APIs deployed using a V2 API model running on the V4 Emulation mode on Gravitee Gateway 4.1.2 experiences spurious Connection Reset (1-3%) which results in API clients receiving a 502 Bad Gateway error message.

To Reproduce

to-reproduce

Steps to reproduce the behaviour:

  1. Deploy HTTP API V2 model using default v4 engine emulation mode on a 4.1.2 Gateway
  2. Execute parallel calls at a rate of 4-6 concurrent r/s
  3. See 502 errors in API analytics > logs

Expected behaviour

expected-behaviour

No connection resets

Current behaviour

current-behaviour

Spurious network resets

Useful information

useful-information

Environment

environment

Production

What is the impacted version? 4.1.2

Potential impacts

potential-impacts

Cannot use V2 API with V4 engine emulation Which other features may be impacted by this fix. This could be populated after fix

What are the impacted versions?

vliska commented 1 week ago

Any update/workaround? We are hitting this in production (on latest 4.4.8).