View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007293 | libeufin | libeufin-nexus | public | 2022-08-06 13:55 | 2023-01-08 10:32 |
Reporter | Christian Grothoff | Assigned To | MS | ||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
Target Version | 0.9.0 | Fixed in Version | 0.9.0 | ||
Summary | 0007293: service not ready, even though responding to HTTP requests | ||||
Description | Both nexus and sandbox are not immediately ready for regular requests, even after a 'wget' starts to succeed. See: libeufin-sandbox serve --port "1$1" \ > libeufin-sandbox-stdout.log \ 2> libeufin-sandbox-stderr.log & echo $! > libeufin-sandbox.pid export LIBEUFIN_SANDBOX_URL="http://localhost:1$1/demobanks/default" set +e echo -n "Waiting for Sandbox.." for n in `seq 1 50`; do echo -n "." sleep 1 wget --timeout=1 \ --tries=3 --waitretry=0 \ -o /dev/null -O /dev/null \ $LIBEUFIN_SANDBOX_URL break done sleep 1 # NEEDED! echo OK Without the extra 'sleep 1', I get on my system: Waiting for Nexus...OK Creating a EBICS connection at Nexus..HTTPConnectionPool(host='localhost', port=8082): Max retries exceeded with url: /bank-connections (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc96c06e310>: Failed to establish a new connection: [Errno 111] Connection refused')) Could not reach nexus at http://localhost:8082/bank-connections The same happens with the sandbox. | ||||
Steps To Reproduce | Remove 'sleep 1' lines marked with this bug number in taler-bank-manage-testing (at least on my system). | ||||
Tags | No tags attached. | ||||
|
MS: I think you 'fixed' this by discovering that we didn't check the wget status, right? Please remember to 'resolve' bugs that you fixed ;-). |
|
Yes. Fixed here: 516d8e30ed.. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-08-06 13:55 | Christian Grothoff | New Issue | |
2022-08-25 16:57 | Christian Grothoff | Note Added: 0019036 | |
2022-08-25 16:57 | Christian Grothoff | Assigned To | => MS |
2022-08-25 16:57 | Christian Grothoff | Status | new => assigned |
2022-09-07 13:37 | MS | Note Added: 0019098 | |
2022-09-07 13:37 | MS | Status | assigned => resolved |
2022-09-07 13:37 | MS | Resolution | open => fixed |
2023-01-08 10:31 | Christian Grothoff | Fixed in Version | => 0.9.0 |
2023-01-08 10:31 | Christian Grothoff | Target Version | => 0.9.0 |
2023-01-08 10:32 | Christian Grothoff | Status | resolved => closed |
2023-04-13 20:38 | Florian Dold | Category | nexus => libeufin-nexus |