pagarme / superbowleto

:football: A microservice to issue, register and manage boletos
MIT License
5 stars 0 forks source link

[BPROC-1285] Ajustar Keep Alive Timeout e Headers Timeout #394

Closed kayquecoelho closed 1 year ago

kayquecoelho commented 1 year ago

Description

Hoje em algumas requisições entre o pagarme-gateway e a superbowleto, temos um erro onde o pagarme-gateway recebe erro 502 conforme podemos ver nessa query. Há um tempo atrás tínhamos esse problema também na aplicação PIX, onde a configuração de Keep Alive Timeout estava incorreta no webserver do PIX e com isso fazia com que o servidor encerrasse uma conexão, e posteriormente o client tentava usar essa conexão já encerrada, e recebia o erro 502.

Your checklist for this pull request

:rotating_light: Please review this items for a good pull request. :four_leaf_clover:

  1. I've read the project's Contributing Guidelines
  2. My commits are well written and follow pagarme/git-style-guide
  3. My changes are well covered by tests and logs
  4. I've updated the project docs (if needed)
  5. I fell safe about this implementation
  6. I feel comfortable with the code I wrote, and I'm not ashamed to show it to my friends

In a good pull request, everything above is true :relaxed:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication