View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004999 | Taler | other | public | 2017-04-27 14:09 | 2017-06-06 12:18 |
| Reporter | Marcello Stanisci | Assigned To | Marcello Stanisci | Resolution deadline | |
| Implementer | Reviewer | ||||
| Release signed by | Deployed by | ||||
| Verifier | Communicator | ||||
| Data protection authority notification required | No | ||||
| CSIRT notification required | No | ||||
| Estimated effort (hours) | Actual effort (hours) | 0 | |||
| Fast-track | No | ||||
| Work package | none | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | git (master) | ||||
| Target Version | 0.3 | Fixed in Version | 0.3 | ||
| Summary | 0004999: mitm loops on /keys | ||||
| Description | whenever the merchant tries to get /keys from an exchange proxied by the MITM software layer, it keeps fetching /keys infinitely. | ||||
| Steps To Reproduce | execute mitm.py located at src/mitm under the merchant repository, make it point to a running exchange - by exporting the env variable TALER_EXCHANGE_URL set to a running exchange's URL, and set the merchant backend to use the mitm as the exchange. | ||||
| Tags | No tags attached. | ||||
| update about reproducing the issue: the mitm can now be executed by calling the taler-merchant-mitm tool, passing the exchange's url to it. See taler-merchant-mitm --help | |
| This *used* to happen because the mitm did not send back the "Expiration" HTTP header to the merchant, so /keys' response appeared as expired, and the download got retried. This has been fixed by returning all the HTTP headers verbatim to the merchant. The issue now is that the /keys' response gets "cut" at some point, so the JSON is invalid. | |
| ee0fb92. Content-Length header used to "cut" the response making it invalid. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-04-27 14:09 | Marcello Stanisci | New Issue | |
| 2017-04-27 14:10 | Marcello Stanisci | Assigned To | => Marcello Stanisci |
| 2017-04-27 14:10 | Marcello Stanisci | Status | new => assigned |
| 2017-04-28 09:53 | Marcello Stanisci | Note Added: 0012077 | |
| 2017-04-28 16:57 | Marcello Stanisci | Note Added: 0012079 | |
| 2017-05-02 07:02 | Marcello Stanisci | Status | assigned => informing |
| 2017-05-02 07:02 | Marcello Stanisci | Resolution | open => fixed |
| 2017-05-02 07:02 | Marcello Stanisci | Note Added: 0012091 | |
| 2017-05-03 00:16 | Christian Grothoff | Fixed in Version | => 0.3 |
| 2017-05-03 00:17 | Christian Grothoff | Target Version | => 0.3 |
| 2017-05-04 22:02 | Christian Grothoff | Product Version | => git (master) |
| 2017-06-06 12:18 | Christian Grothoff | Status | informing => closed |