taler
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Taler] Withdrawal is never confirmed


From: Florian Jung
Subject: Re: [Taler] Withdrawal is never confirmed
Date: Tue, 29 Nov 2022 16:28:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

Hi Sebastian,

On 11/29/22 14:59, Sebastian Javier Marchano wrote:

No, after the wire transfer the exchange-wirewatch should see the transaction using the gateway. Maybe you can use the wire_wateway_url (and user/pw) to check if the wirewatch is able to see the wire-transfer to its account with the correct subject.

How would I do that? Does wirewatch log anything useful to somewhere? Or is there an endpoint it just calls periodically, which I can call too using `curl`? (Which endpoint?)


If yes, then the reserve should be filled and the exchange should be ready to sign the coins for the wallet. The wallet should be asking the exchange for the coins and downloading them.

I suspect it didn't to that. The android wallet didn't really show me a lot of options, like "force refresh" or showing a log of actions / errors. Is there a hidden developer mode to gain further insight in what the wallet does?

Could it be related to the fact that my wallet is accessible only via http for now, not https?


How does the wallet even know that the exchange is ready to sign the coins? Does it need to check periodically (which endpoint?) or is it informed through a different mechanism somehow?



Does this help?

Yes, that already confirms i'm not expecting something wrong, thanks! :)


Florian


--
Sebastian


On Mon, 28 Nov 2022 at 22:04, Florian Jung via Taler <taler@gnu.org> wrote:
Hm, what came to my mind right after sending the mail:

I was under the assumption that as soon as I wired the money into the
exchange's bank account, my wallet would *automatically* download the coins.

Is that assumption flawed, do I need any manual confirmation step? How
would I perform that?

Best,

Florian


On 11/29/22 01:47, Florian Jung via Taler wrote:
> 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
>
>
>
>
>
>
>
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]