Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0044295 | Modules | External Data Integration | public | 2020-06-05 13:37 | 2020-06-12 14:05 |
|
Reporter | gorkaion | |
Assigned To | caristu | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | AugustoMauch |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0044295: OutputWSRestProcessor does not define any timeout on the HttpURLConnection |
Description | When there is a call to a external WS using the OutputWSRestProcessor the connection is set without any timeout.
This can lead to severe issues when we are able to connect to the webservice but it does not return any response. In this case the process get stuck waiting a response holding a thread and database connection and making other Process Request waiting for it to finish. In case the request is executed asynchronously this means that a Import Entry thread gets hold indefinitely. |
Steps To Reproduce | - Create a dummy webservice that does never return a response.
- Execute a EDL Request that in the Outout Process executes a call to the dummy webservice. |
Proposed Solution | - Set some default timeout values that can be overriden by OutputWSRestProcessor implementors.
- Consider also implementing a generic timeout for the full process as there is not available any timeout for the full request duration so in case the webservice is returning a response very slow we don't wait till it finishes. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-06-05 13:37 | gorkaion | New Issue | |
2020-06-05 13:37 | gorkaion | Assigned To | => platform |
2020-06-05 13:37 | gorkaion | Resolution time | => 1582671600 |
2020-06-08 16:25 | gorkaion | Resolution time | 1582671600 => 1593122400 |
2020-06-11 18:42 | caristu | Assigned To | platform => caristu |
2020-06-11 18:42 | caristu | Note Added: 0120805 | |
2020-06-12 09:05 | maite | Issue Monitored: maite | |
2020-06-12 14:05 | hgbot | Checkin | |
2020-06-12 14:05 | hgbot | Note Added: 0120830 | |
2020-06-12 14:05 | hgbot | Checkin | |
2020-06-12 14:05 | hgbot | Note Added: 0120831 | |
2020-06-12 14:05 | hgbot | Status | new => resolved |
2020-06-12 14:05 | hgbot | Resolution | open => fixed |
2020-06-12 14:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/6697add6e80abec3589ecad9a0d2ae8546daa83b [^] |
2020-06-12 14:05 | caristu | Review Assigned To | => AugustoMauch |
2020-06-12 14:05 | caristu | Status | resolved => closed |