Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0054404 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | random | 2024-01-19 18:42 | 2024-03-19 13:07 | |||
Reporter | charlotte_vasseur | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | normal | Resolution | invalid | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | cberner | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0054404: [OFFLINE] Sometimes POS fails to reconnect after the counter | |||||||
Description | When offline, after going back online sometimes POS succeeds to reconnect (See "Reconnect POS OK.mkv") And sometimes it fails (See "Reconnect POS KO.mkv") | |||||||
Steps To Reproduce | While online Log in POS Go offline The counter 30s starts Go back online Wait that the counter reaches 0 => Sometimes POS fails to reconnect | |||||||
Tags | No tags attached. | |||||||
Attached Files | Reconnect POS OK.mkv [^] (1,940,386 bytes) 2024-01-19 18:42 Reconnect POS KO.mkv [^] (1,932,264 bytes) 2024-01-19 18:42 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0161662) sreehari (developer) 2024-03-05 11:55 |
Steps to reproduce: ******************* 1.Keep a breakpoint in https://gitlab.com/openbravo/devel/pmods/org.openbravo.mobile.core/-/blob/master/web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js?ref_type=heads#L550 [^] 2.keep the network tab in offline in devtools 3.Make the pos go offline by browsing the orders list 4.when 30sec countdown starts, breakpoint will stop every 10 secs, for 1 ping skip the breakpoint, before the second ping turn network tab to no throttling 5.Now even though we have isAvailable = true, we are not connected back due to this failing case this.requestValidationCounter === 0 && |
(0162333) cberner (developer) 2024-03-19 10:22 edited on: 2024-03-19 10:22 |
This is intended behavior, the network is checked for instability, basically during the 30 second countdown after going offline, we launch a request each 1/3 of the max time(10 seconds), if any of these requests fail, we consider the network as unstable and keep in offline mode. Only when all 3 requests are successful the network is considered stable enough and we do the switch to online. The switch to online can always be manually forced, by clicking on the "try now" button on the timer dialog. |
(0162363) charlotte_vasseur (reporter) 2024-03-19 12:39 |
Hi, as confirmed with Rafa Roda, we are okay with this explanation Thanks ! |
(0162364) cberner (developer) 2024-03-19 13:07 |
This is intended behavior, so I'm rejecting this issue. |
Issue History | |||
Date Modified | Username | Field | Change |
2024-01-19 18:42 | charlotte_vasseur | New Issue | |
2024-01-19 18:42 | charlotte_vasseur | Assigned To | => Retail |
2024-01-19 18:42 | charlotte_vasseur | File Added: Reconnect POS OK.mkv | |
2024-01-19 18:42 | charlotte_vasseur | Triggers an Emergency Pack | => No |
2024-01-19 18:42 | charlotte_vasseur | File Added: Reconnect POS KO.mkv | |
2024-01-20 11:29 | rafaroda | Severity | minor => major |
2024-02-28 08:56 | sreehari | Assigned To | Retail => sreehari |
2024-02-28 12:40 | sreehari | Status | new => scheduled |
2024-03-05 11:55 | sreehari | Note Added: 0161662 | |
2024-03-06 11:23 | guillermogil | Assigned To | sreehari => Triage Platform Base |
2024-03-06 11:50 | guillermogil | Status | scheduled => resolved |
2024-03-06 11:50 | guillermogil | Resolution | open => fixed |
2024-03-06 11:50 | guillermogil | Status | resolved => new |
2024-03-06 11:50 | guillermogil | Resolution | fixed => open |
2024-03-19 10:22 | cberner | Note Added: 0162333 | |
2024-03-19 10:22 | cberner | Note Edited: 0162333 | View Revisions |
2024-03-19 10:22 | cberner | Note Edited: 0162333 | View Revisions |
2024-03-19 10:59 | cberner | Status | new => feedback |
2024-03-19 12:39 | charlotte_vasseur | Note Added: 0162363 | |
2024-03-19 13:07 | cberner | Review Assigned To | => cberner |
2024-03-19 13:07 | cberner | Note Added: 0162364 | |
2024-03-19 13:07 | cberner | Status | feedback => closed |
2024-03-19 13:07 | cberner | Resolution | open => invalid |
Copyright © 2000 - 2009 MantisBT Group |