ministero-salute / it-fse-support

32 stars 17 forks source link

CRASH PROGRAM - Sprint 6 - RDE FVG RDA TOSCANA - UC4_AggiornamentoMetadati, UC8_EliminazioneDocumento, UC6_SostituzioneDocumento, UC12_ValidazionePubblicazioneSostituzioneContestuale - Errore 500 INI Error: RDA generated an internal error #875

Open ChiaraCeccottiFVG opened 1 month ago

ChiaraCeccottiFVG commented 1 month ago

Buongiorno, dopo la chiusura della issue 849 siamo riusciti a pubblicare correttamente un documento e a riprendere lo sprint 6 verso la Toscana. Nello use case di Eliminazione (UC8_EliminazioneDocumento) - CF paziente: PRVPRV65B51G888V otteniamo un errore:

{
    "traceID": "5b1b306f570c8ade",
    "spanID": "5b1b306f570c8ade",
    "type": "/msg/ini-error",
    "title": "Ini error.",
    "status": 500,
    "detail": "{\"traceID\":\"00000000000000005b1b306f570c8ade\",\"spanID\":\"bde13142287d4b5c\",\"type\":\"/errors\",\"title\":\"Generic\",\"detail\":\"RDA generated an internal error.\",\"instance\":\"error/generic\"}",
    "instance": "/msg/service-error/ini",
    "classError": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException"
}

 "httpStatusCode": 500,
  "responseBody": "{\"traceID\":\"5b1b306f570c8ade\",\"spanID\":\"5b1b306f570c8ade\",\"type\":\"/msg/ini-error\",\"title\":\"Ini error.\",\"status\":500,\"detail\":\"{\\\"traceID\\\":\\\"00000000000000005b1b306f570c8ade\\\",\\\"spanID\\\":\\\"bde13142287d4b5c\\\",\\\"type\\\":\\\"/errors\\\",\\\"title\\\":\\\"Generic\\\",\\\"detail\\\":\\\"RDA generated an internal error.\\\",\\\"instance\\\":\\\"error/generic\\\"}\",\"instance\":\"/msg/service-error/ini\",\"classError\":\"it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException\"}",
  "responseHeaders": {
    "Errore-rilevato": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException - null",
    "Content-Disposition": "inline;filename=f.txt",
    "Vary": "Origin",
    "ReqUUIDToken": "ba86442f9fee48d3be6f9a1cb9643797",
    "UUIDToken": "baee2688f938403280f1f2bf8734e101"
  },
  "uuid": "baee2688f938403280f1f2bf8734e101",
  "reqUuid": "ba86442f9fee48d3be6f9a1cb9643797",
  "dataInserimento": {
    "$date": "2024-06-04T12:08:35.983Z"
  }

Transazione di stato:

{
    "traceID": "367bf64beeaa78f8",
    "spanID": "ede02621676e7063",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-06-04T12:08:00.779+00:00",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.410b89aceb^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "9f6d73f3507420ee",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-04T12:08:00.791+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-06-04T12:08:06.441+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717502885154",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "tipoAttivita": "DIS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.410b89aceb^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "76fd8cf1f3838378",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-04T12:08:06.451+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-06-04T12:08:08.617+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.410b89aceb^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-04T12:08:08.627+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-06-04T12:08:08.711+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.410b89aceb^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-04T12:08:08.722+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-06-04T14:08:00.904+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.410b89aceb^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "9f6d73f3507420ee"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-06-04T14:08:06.552+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717502885154",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.410b89aceb^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "76fd8cf1f3838378"
        }
    ]
}

Lo stesso errore si verifica anche per gli use case di sostituzione e sostituzione contestuale e per l'aggiornamento metadati. Volevamo chiedere, se possibile, una verifica per capire se c'è qualcosa di errato/anomalo nella nostra richiesta. Ringraziando per la collaborazione auguriamo un buon pomeriggio.

g-maugeri-sogei commented 1 month ago

Buongiorno, il problema andrebbe indagato sull'RDA. La richiesta di INI riceve in risposta un soap fault:

http://www.w3.org/2005/08/addressing/anonymous http://www.w3.org/2005/08/addressing/soap/fault urn:uuid:f2cff89e-cbff-4e2b-a001-c30022f816e0 env:Receiver General Failure 2024-06-04T12:08:35.884Z Internal Server Error
cdezorzi commented 4 weeks ago

Buonasera, potete fare di nuovo un test ? Grazie

ChiaraCeccottiFVG commented 3 weeks ago

Buongiorno, abbiamo riprovato la cancellazione e la replace e la replace contestuale. Otteniamo il seguente errore:

{
    "traceID": "fd29d305570f6ecc",
    "spanID": "fd29d305570f6ecc",
    "type": "/msg/ini-error",
    "title": "Ini error.",
    "status": 500,
    "detail": "{\"traceID\":\"0000000000000000fd29d305570f6ecc\",\"spanID\":\"52f69fbb39dc0866\",\"type\":\"/errors\",\"title\":\"Generic\",\"detail\":\"RDA generated an internal error.\",\"instance\":\"error/generic\"}",
    "instance": "/msg/service-error/ini",
    "classError": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException"
}

Riportiamo una transazione di stato di esempio:

{
    "traceID": "5e13b0e8cd2cc04f",
    "spanID": "0c2033999931b15d",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-06-10T07:02:30.732+00:00",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.be2fb492d2^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "64e784fd9ea07a82",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-10T07:02:30.741+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-06-10T07:02:34.900+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1718002953608",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "tipoAttivita": "DIS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.be2fb492d2^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "c77645cf776967dd",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-10T07:02:34.914+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-06-10T07:02:36.139+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.be2fb492d2^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-10T07:02:36.148+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-06-10T07:02:36.373+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.be2fb492d2^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-10T07:02:36.382+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-06-10T09:02:30.842+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.be2fb492d2^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "64e784fd9ea07a82"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-06-10T09:02:35.033+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1718002953608",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.e795365511e35b5af81e662d8025084542189812bb56a71c10e100e9f151d092.be2fb492d2^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "c77645cf776967dd"
        }
    ]
}

Ringraziamo molto per la collaborazione e auguriamo una buona giornata.