Error during send a notification to resident after packet validation stage.

Story point estimate

Description

Packets are failing at the packet-validator stage.

QA Finding-

The validation stage transaction in DB is a success but the packet is not moving post validation stage and observed below error in the logs.

Initial Error-
2020-10-23T12:16:43Z - [io.mosip.registration.processor.stages.packet.validator.PacketValidateProcessor] - ERROR - SESSIONID - REGISTRATIONID - Send notification failed for rid - 10002100820000520201023114024 - io.mosip.registration.processor.core.exception.PacketDecryptionFailureException: KER-CRY-003 --> data sent to decrypt is without key splitter or invalid
17:48
2020-10-23T12:15:53Z - [io.mosip.registration.processor.packet.manager.decryptor.DecryptorImpl] - ERROR - SESSIONID - REGISTRATIONID - 10010100291345620201023115623 - Virus scan decryption failed for registrationId
2020-10-23T12:15:53Z - [io.mosip.registration.processor.stages.packet.validator.PacketValidateProcessor] - ERROR - SESSIONID - REGISTRATIONID - Send notification failed for rid - 10010100291345620201023115623 - io.mosip.registration.processor.core.exception.PacketDecryptionFailureException: KER-CRY-003 --> data sent to decrypt is without key splitter or invalid

 


Dev Findings-
During sync, resident email/phone will be collected and stored in db in the encrypted form.
After packet validation same encrypted email/phone will be decrypted and sent notification to the resident.
Here phone/email decryption is failing.
Impact: notification won't be sent to the resident after packet validation.

Environment

QA

Attachments

1

Activity

Show:

nikhilesh.kumar December 4, 2020 at 12:57 PM

KeySplitter issue is also fixed, the notification is working fine.

Monobikash.Das@mindtree.com November 9, 2020 at 7:59 AM

Code is merged. Need to test e2e in dev.

nikhilesh.kumar November 6, 2020 at 10:36 AM

For Child bio-update as well, the packets are failing with below error.

2020-11-06T10:27:00Z - [io.mosip.registration.processor.stages.packet.validator.PacketValidateProcessor] - ERROR - SESSIONID - REGISTRATIONID - Send notification failed for rid - 10002100820003920201106102429 - io.mosip.registration.processor.core.exception.PacketDecryptionFailureException: KER-CRY-003 --> data sent to decrypt is without key splitter or invalid
at io.mosip.registration.pr

Hemant C Vadher November 3, 2020 at 6:14 AM

can you have a look at this issue and update the status here.

Fixed

Details

Assignee

Reporter

Severity

Critical

Affects versions

Fix versions

Release Number

Closed Date

Dec 04, 2020, 12:58 PM

Rootcause

Coding issue

Priority

Created October 28, 2020 at 5:32 AM
Updated December 14, 2020 at 8:19 AM
Resolved November 9, 2020 at 7:58 AM