View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007293 | libeufin | nexus | public | 2022-08-06 13:55 | 2022-08-06 13:55 |
Reporter | Christian Grothoff | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | new | Resolution | open | ||
Platform | i7 | OS | Debian GNU/Linux | OS Version | squeeze |
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. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-08-06 13:55 | Christian Grothoff | New Issue |