Hi everyone,
I once again got a bit further with my taler setup, and my android
wallet finally talks to my exchange :).
However, I just tried and failed to withdraw some moneys into my
wallet. This is what I tried in short:
In my android wallet, i selected my exchange and selected "withdraw
money". I selected to get 10 MANA (which should be possible with the
1MANA coins i configured), and the app showed me the withdraw
instructions. ("wire this much money to DE827320 and put this as a
payment reference").
Then, I went to my sandbox and executed:
> $ libeufin-cli sandbox bankaccount simulate-incoming-transaction jrluser
--debtor-iban DE01234 --debtor-bic FAKEFAKE \
> --debtor-name "Das System" --subject "Taler Withdrawal
9F3TK9ZGYXNFE06M9KD8PG51GB23WBRVHVF5056CV8KR412384N0" --amount 10
(jrluser is the account name of the account i shall wire the money to)
However, my wallet does not confirm the transaction. it seems like the
exchange doesn't see it, but I don't know how to debug this. Can I ask
my exchange for a list of transactions / reserves known, and about
their withdrawal status or something?
More debugging info (and some questions) follow below:
> $ libeufin-cli sandbox bankaccount transactions jrluser
> {
> "payments" : [ {
> "accountLabel" : "jrluser",
> "creditorIban" : "DE827320",
> "creditorBic" : "SANDBOXX",
> "creditorName" : "admin",
> "debtorIban" : "DE01234",
> "debtorBic" : "FAKEFAKE",
> "debtorName" : "Das System",
> "amount" : "10",
> "currency" : "MANA",
> "subject" : "Taler Withdrawal
9F3TK9ZGYXNFE06M9KD8PG51GB23WBRVHVF5056CV8KR412384N0",
> "date" : "Tue, 29 Nov 2022 00:17:29 GMT",
> "creditDebitIndicator" : "credit",
> "accountServicerReference" : "sandbox-PX3LZS86VPSWEGCQ",
> "paymentInformationId" : null
> } ]
> }
In nexus, I can confirm this too:
> $ libeufin-cli accounts transactions myconn_jrluser
> {
> "transactions" : [ {
> "amount" : "MANA:10",
> "creditDebitIndicator" : "CRDT",
> "status" : "BOOK",
> "bankTransactionCode" : "PMNT-ICDT-ESCT",
> "valueDate" : "2022-11-29Z",
> "bookingDate" : "2022-11-29Z",
> "accountServicerRef" : "sandbox-PX3LZS86VPSWEGCQ",
> "batches" : [ {
> "batchTransactions" : [ {
> "amount" : "MANA:10",
> "creditDebitIndicator" : "CRDT",
> "details" : {
> "debtor" : {
> "name" : "Das System"
> },
> "debtorAccount" : {
> "iban" : "DE01234"
> },
> "debtorAgent" : {
> "bic" : "FAKEFAKE"
> },
> "endToEndId" : "NOTPROVIDED",
> "paymentInformationId" : "NOTPROVIDED",
> "unstructuredRemittanceInformation" : "Taler Withdrawal
9F3TK9ZGYXNFE06M9KD8PG51GB23WBRVHVF5056CV8KR412384N0"
> }
> } ]
> } ]
> } ]
> }
Also, the nexus keeps spamming repeatedly:
> 00:39:59.576 [DefaultDispatcher-worker-2] DEBUG tech.libeufin.nexus -
Requesting C52
> 00:39:59.779 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
msg id sandbox-1669682399655
> 00:39:59.832 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
processing CAMT message
> 00:39:59.834 [DefaultDispatcher-worker-2] WARN tech.libeufin.nexus -
The bank didn't return ANY CLBD balances, in the message:
sandbox-1669682399655. Please clarify!
> 00:39:59.835 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
found 1 money movements
> 00:39:59.837 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
Found a duplicate: sandbox-PX3LZS86VPSWEGCQ
> 00:39:59.858 [DefaultDispatcher-worker-2] DEBUG tech.libeufin.nexus -
Ingesting transactions for Taler facade 1, and bank account:
myconn_jrluser
> 00:39:59.860 [DefaultDispatcher-worker-2] DEBUG tech.libeufin.nexus -
Searching refundable payments of account:
tech.libeufin.nexus.NexusBankAccountEntity@11ae8a33, after last seen
transaction id: 2
> 00:39:59.887 [DefaultDispatcher-worker-2] DEBUG tech.libeufin.nexus -
Ingesting transactions for Taler facade 2, and bank account:
myconn_jrluser
> 00:40:00.944 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
scheduling task submit-payments-each-second at
Optional[2022-11-29T00:40:01.944592Z[Etc/UTC]] (now is
2022-11-29T00:40:00.944592Z[Etc/UTC])
> 00:40:00.945 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
scheduling task fetch-reports-each-second at
Optional[2022-11-29T00:40:01.945060Z[Etc/UTC]] (now is
2022-11-29T00:40:00.945060Z[Etc/UTC])
> 00:40:02.060 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
running task TaskSchedule(taskId=1, name=submit-payments-each-second,
type=submit, resourceType=bank-account, resourceId=myconn_jrluser,
params={
> "rangeType" : null,
> "level" : null
> })
> 00:40:02.060 [DefaultDispatcher-worker-2] DEBUG tech.libeufin.nexus -
auto-submitter started
> 00:40:02.139 [DefaultDispatcher-worker-2] INFO tech.libeufin.nexus -
running task TaskSchedule(taskId=2, name=fetch-reports-each-second,
type=fetch, resourceType=bank-account, resourceId=myconn_jrluser,
params={
> "rangeType" : "latest",
> "level" : "report"
> })
I'm a bit confused about the two taler facades, and about the "Please
clarify" message.
Is it normal that this message repeats infinitely? (With the fetch and
submit tasks scheduled once per second).
I would be really happy about any help on this matter, as I don't know
how to proceed from here.
Thank you for your time and have a good night,
Florian