View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006444 | Taler | mechant backend | public | 2020-07-25 12:55 | 2024-01-12 14:04 |
Reporter | Christian Grothoff | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | not fixable | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Product Version | git (master) | ||||
Target Version | 0.8 | Fixed in Version | 0.8 | ||
Summary | 0006444: merchant backend returns 100 continue before 404 on POST /private/orders | ||||
Description | Instead of failing immediately, the backend first 404s and then fails shortly thereafter with a 404. Somehow we don't do the right thing (TM) and check early on for the 404 failure case. Also odd: we still seem to fail before the actual upload succeeds, at least with my current WooCommerce test. | ||||
Steps To Reproduce | Post to backend where no instance is configured. Transcript from wireshark: POST //private/orders HTTP/1.1 Host: backend.test.taler.net Accept: */* Authorization: ApiKey sandbox Content-Type: application/json Expect: 100-continue HTTP/1.1 100 Continue HTTP/1.1 404 Not Found Server: nginx Date: Sat, 25 Jul 2020 10:46:15 GMT Content-Type: application/json Content-Length: 57 Connection: keep-alive Vary: Accept-Encoding Access-Control-Allow-Origin: * { "code": 2000, "hint": "merchant instance unknown" } | ||||
Tags | No tags attached. | ||||
|
Turns out this is the nginx reverse proxy's 100 continue. It just doesn't wait for the backend to react :-(. |
|
And they wontfix'ed the bug 7 years ago: https://trac.nginx.org/nginx/ticket/493 |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-25 12:55 | Christian Grothoff | New Issue | |
2020-07-25 12:55 | Christian Grothoff | Status | new => assigned |
2020-07-25 12:55 | Christian Grothoff | Assigned To | => Christian Grothoff |
2020-07-25 20:19 | Christian Grothoff | Note Added: 0016522 | |
2020-07-25 20:21 | Christian Grothoff | Note Added: 0016523 | |
2020-07-25 20:23 | Christian Grothoff | Status | assigned => resolved |
2020-07-25 20:23 | Christian Grothoff | Resolution | open => not fixable |
2020-07-25 20:23 | Christian Grothoff | Fixed in Version | => 0.8 |
2021-08-24 16:23 | Christian Grothoff | Status | resolved => closed |
2024-01-12 14:04 | Christian Grothoff | Category | merchant backend API (C) => mechant backend |