eu-federation-gateway-service / efgs-federation-gateway

The goal of this project is to develop the official European solution for the interoperability between national backend servers of decentralised contact tracing applications to combat COVID-19.
Apache License 2.0
59 stars 25 forks source link

Problem: EFGS Load balancer returns status code 200, when EFGS is not available #151

Closed FWeissenseelTSystems closed 3 years ago

FWeissenseelTSystems commented 3 years ago

Problem

Problem: When a country backend uploads keys and EFGS is not available, the country backend gets status code 200 and for that reason the backend thinks that the upload was working correct.

Test to reproduce problem

  1. Shut down EFGS
  2. Country backend tries to upload/download/audit key batches.

Expected:

Actual:

EFGS_Loadbalancer_ErrorPage_With_statusCode_200

alstiefel commented 3 years ago

Communicated to DIGIT, update pending.

alstiefel commented 3 years ago

Fixed as per mails

image

chrloch commented 3 years ago

Solved on TEST:

HTTP/1.1 307 Temporary Redirect Location: https://sorry.ec.europa.eu/efgs Cache-Control: no-cache Pragma: no-cache Content-Type: text/html; charset=utf-8 Proxy-Connection: Keep-Alive Connection: Keep-Alive Content-Length: 768

HTTP/1.1 503 Service Unavailable Date: Tue, 29 Sep 2020 09:53:31 GMT Content-Length: 428 Content-Type: text/html; charset=iso-8859-1 Server: Europa Proxy-Connection: Keep-Alive Connection: Keep-Alive

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

503 Service Unavailable

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

Still open on ACC

novoelgy commented 3 years ago

503 redirects were configured in ACC and PROD. - Thu 01/10/2020 10:19 - confirmed by Digit colleagues

image

joerg-oppermann-tsi commented 3 years ago

Fixed in Test, ACC, PRD