Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055614Retail ModulesWeb POS Hardware Managerpublic2024-05-29 14:062024-05-29 16:48
ignacio_deandres 
ignacio_deandres 
normalmajorrandom
newopen 
5
 
main 
No
0055614: Missing client close in Wynpay communication
It seems that there are many cases where payment client is started (startPaymentClient) but never closed (stopPaymentClient), so in their log we can see that we start payment client before we have closed it

[14/03] [10:59:48,375] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:00:08,560] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
[14/03] [11:00:09,021] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:00:31,764] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
[14/03] [11:00:32,170] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:01:00,345] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
[14/03] [11:01:00,993] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:01:28,570] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
[14/03] [11:01:28,961] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:02:58,003] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
[14/03] [11:02:58,217] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:05:05,750] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
[14/03] [11:05:06,177] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:05:32,958] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
[14/03] [11:05:33,440] (WCL) ** INFO. ** ################ OUVERTURE DE SESSION Version 13.0.26.000000 ################
[14/03] [11:07:35,204] (POS) {SV}s0{CD}c1{D10}2390{D0}978{TT}1{D7V}CB1411{E6}XLNACANNES{D90}3397{SS}R{PS}1{F}
Random
Populate with logs these two functions that look like they are broken, send the new version to the client and try to see if with the logs we can see where the problem is.
No tags attached.
Issue History
2024-05-29 14:06ignacio_deandresNew Issue
2024-05-29 14:06ignacio_deandresAssigned To => ignacio_deandres
2024-05-29 14:06ignacio_deandresTriggers an Emergency Pack => No
2024-05-29 14:23hgbotNote Added: 0165267
2024-05-29 16:48hgbotNote Added: 0165278
2024-05-29 16:48hgbotNote Added: 0165279

Notes
(0165267)
hgbot   
2024-05-29 14:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/hwmanager-wynpay/-/merge_requests/10 [^]
(0165278)
hgbot   
2024-05-29 16:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/hwmanager-wynpay/-/merge_requests/10 [^]
(0165279)
hgbot   
2024-05-29 16:48   
Repository: https://gitlab.com/openbravo/product/pmods/hwmanager-wynpay [^]
Changeset: d1dac3d32826725133101e9e4ce1d3cad7b19c7a
Author: Ignacio De Andrés <ignacio.deandres@openbravo.com>
Date: 29-05-2024 14:48:31
URL: https://gitlab.com/openbravo/product/pmods/hwmanager-wynpay/-/commit/d1dac3d32826725133101e9e4ce1d3cad7b19c7a [^]

Related ISSUE-55614: Missing client close in Wynpay communication
* Added fine-level logs to analyze when connections are not closing successfully

---
M src/com/openbravo/retail/wynpay/WynPayTerminalProcess.java
---