Notes |
|
(0104513)
|
hgbot
|
2018-05-15 09:48
|
|
|
|
(0104514)
|
hgbot
|
2018-05-15 09:48
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5514ff8de2d94e6986971eb769fd0f5dc3071fdd
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed May 09 17:37:55 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5514ff8de2d94e6986971eb769fd0f5dc3071fdd [^]
Related with issue 38505: Dont go offline if central server answers to request
Dont go offline even if the central server includes in its response a status different than ONLINE.
Central servers do not transition to offline, and if they are not reachable the store server will
transition to offline using another flow.
---
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
---
|
|
|
(0104515)
|
hgbot
|
2018-05-15 09:49
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3a813c770f76a3dbc12693096521537e82d08532
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 10 15:45:41 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3a813c770f76a3dbc12693096521537e82d08532 [^]
Related with issue 38505: Do extra ping if central server does not respond
If the central server responds to the ping, do not go offline
---
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
A src/org/openbravo/mobile/core/servercontroller/CheckServerAvailability.java
---
|
|
|
(0104516)
|
hgbot
|
2018-05-15 09:49
|
|
|
|
(0104517)
|
hgbot
|
2018-05-15 09:52
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 1ff84248a0c239f78c3d13ecff746b208d45da67
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 10 15:46:56 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/1ff84248a0c239f78c3d13ecff746b208d45da67 [^]
Related with issue 38505: Dont go offline in RetailSynchronizationRequestHandler
The logic to decide whether the store server should go offline after a failed request to the central
server is not placed in mobile.core.
---
M src/org/openbravo/retail/storeserver/synchronization/RetailSynchronizationRequestHandler.java
---
|
|
|
(0104537)
|
hgbot
|
2018-05-16 08:43
|
|
|
|
(0104593)
|
mtaal
|
2018-05-19 13:18
|
|
|
|
(0104724)
|
hgbot
|
2018-05-26 14:05
|
|
|
|
(0104729)
|
mtaal
|
2018-05-28 00:07
|
|
My remarks:
- log the throwable
- set an explicit readtimeout of 1 minute or 30 seconds or so. Currently it uses the readtimeout of the functional logic which can be 10-15 mins or infinite |
|
|
(0104754)
|
hgbot
|
2018-05-28 16:57
|
|
|
|
(0104822)
|
mtaal
|
2018-05-30 21:00
|
|
The readtimeout should be set to a default lower value. The current changeset changes the connecttimeout. |
|
|
(0104823)
|
hgbot
|
2018-05-31 08:30
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 47652395ef3456122a9b369074bda27e51993f46
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 31 10:23:17 2018 +0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/47652395ef3456122a9b369074bda27e51993f46 [^]
Related with issue 38505: Overwrite read timeout, not connection timeout
Now when doing the central server responsiveness test, the read timeout is overwritten, instead of the connection timeout.
---
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
---
|
|
|
(0104839)
|
mtaal
|
2018-05-31 12:41
|
|
Works fine tx, the exception which gets thrown for read time out is:
java.net.SocketTimeoutException: Read timed out |
|
|
(0104840)
|
mtaal
|
2018-05-31 12:41
|
|
|