Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036884 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | major | always | 2017-09-19 09:37 | 2017-11-19 23:56 | |||
Reporter | xabiermerino | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | urgent | Resolution | fixed | 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 | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036884: [SERQA 3289] If we stop the instance instead of tomcat we get a timeout paying a ticket | |||||||
Description | If we stop the instance instead of tomcat we get a timeout paying a ticket | |||||||
Steps To Reproduce | 1: Log into WebPOS (using Central Server URL) 2: Stop amazon's instance 3: Pay a ticket 4: realize a message of a timeout appears after some minutes | |||||||
Tags | SERQA | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0100604) mtaal (manager) 2017-11-19 23:54 |
I reproduced this on the DRU_QA - BUT-DEV CENTRAL SERVER and DRU_QA - BUT-DEV STORE SERVER Making a change in the MobileServerRequestExecutor.createConnection method solves and shows a message after 5 seconds. The change is to set connection/read time out. This change has been implemented/added as part of another issue. This issue will be closed as it is already resolved by the other issue. private HttpURLConnection createConnection(String serverKey, String serverUrl, String wsPart, String method, JSONObject parameters) throws Exception { String localServerUrl = serverUrl; // TODO: maybe handle this with a validation on the formfield if (!localServerUrl.toLowerCase().startsWith("http://" [^]) && !localServerUrl.toLowerCase().startsWith("https://" [^])) { localServerUrl = "http://" [^] + localServerUrl; } final URL url = new URL(localServerUrl + wsPart); final HttpURLConnection hc = (HttpURLConnection) url.openConnection(); hc.setRequestMethod(method); hc.setAllowUserInteraction(false); hc.setDefaultUseCaches(false); hc.setDoOutput(true); //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> hc.setConnectTimeout(5000); hc.setReadTimeout(5000); //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
(0100605) mtaal (manager) 2017-11-19 23:56 |
Resolved by issue: 32749 |
(0100606) mtaal (manager) 2017-11-19 23:56 |
Closed as related issue is closed |
Issue History | |||
Date Modified | Username | Field | Change |
2017-09-19 09:37 | xabiermerino | New Issue | |
2017-09-19 09:37 | xabiermerino | Assigned To | => StoreServer |
2017-09-19 09:37 | xabiermerino | Resolution time | => 1506895200 |
2017-09-19 09:37 | xabiermerino | Triggers an Emergency Pack | => No |
2017-09-19 09:38 | xabiermerino | Tag Attached: SERQA | |
2017-11-06 18:44 | mtaal | Assigned To | StoreServer => mtaal |
2017-11-19 23:54 | mtaal | Note Added: 0100604 | |
2017-11-19 23:55 | mtaal | Relationship added | duplicate of 0037249 |
2017-11-19 23:56 | mtaal | Relationship deleted | 0037249 |
2017-11-19 23:56 | mtaal | Relationship added | related to 0037249 |
2017-11-19 23:56 | mtaal | Status | new => scheduled |
2017-11-19 23:56 | mtaal | Note Added: 0100605 | |
2017-11-19 23:56 | mtaal | Status | scheduled => resolved |
2017-11-19 23:56 | mtaal | Resolution | open => fixed |
2017-11-19 23:56 | mtaal | Note Added: 0100606 | |
2017-11-19 23:56 | mtaal | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |