Projekt

Allgemein

Profil

Aktionen

Bug #253

offen

Could not retrieve the balance with the aqpaypal backend

Von rhabacker vor mehr als 3 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Feedback
Priorität:
Normal
Kategorie:
Gwenhywfar
Beginn:
30.12.2021
Abgabedatum:
Betriebssystem:
Linux
AqBanking-Version:
Aqbanking-cli:6.2.5 Gwenhywfar:5.4.1 Aqbanking:6.2.5
Anwendung:
aqbanking-cli
Version der Anwendung:
6.2.5

Beschreibung

On a fresh opensuse 15.3 installation, using an aqbanking paypal configuration that works with aqbanking 6.3.2 and gwenhywfar 5.7.3, I tried to retrieve the balance from a paypal account using the following command:

$ aqbanking-cli request --aid=16 --balance
===== Enter Password =====
Please enter the password for 
Paypal user xxx@yyy

Input: ***********
accountInfoList {
} #accountInfoList

securityList {
} #securityList

messageList {
} #messageList

but got an empty result.

When I run the same command as

AQBANKING_LOGLEVEL=debug AQPAYPAL_LOGLEVEL=debug GWEN_LOGLEVEL=debug aqbanking-cli request --aid=16 --balance
, I get the attached log.

After retrying this command, it is displayed:

6:2021/12/30 18-15-34:aqbanking(1768):banking_user.c:   20: Reading user config (14)
6:2021/12/30 18-15-34:gwen(1768):fslock.c:  174: link(/home/opensuse/.aqbanking/settings6/users/0000000e.conf.lck.opensuse153.linuxvmimages.local-1768, /home/opensuse/.aqbanking/settings6/users/0000000e.conf.lck): Die Datei existiert bereits
6:2021/12/30 18-15-34:gwen(1768):fslock.c:  205: FS-Lock to /home/opensuse/.aqbanking/settings6/users/0000000e.conf already in use

which means that the associated aqbanking user was still locked and was not unlocked in the previous command.


Dateien

aqbanking-cli-log.tar.gz (1,43 KB) aqbanking-cli-log.tar.gz rhabacker, 31.12.2021 00:12
Aktionen #1

Von rhabacker vor mehr als 3 Jahren aktualisiert

If the Paypal account in question is added to a newly created aqbanking configuration, this problem does not occur. The problem affects users who upgrade to this aqbanking version and suggests that something has changed in the file format of the aqbanking configuration. If this is the case, aqbanking should import the old configuration and save it in the new format.

Aktionen #2

Von martin vor mehr als 3 Jahren aktualisiert

  • Status wurde von New zu Feedback geändert
3:2021/12/30 17-56-35:gwen(24446):padd.c:  210: First byte is not a 0x60

This line is interesting... The code for encrypting/decrypting the credentials file has no changed for years...
What version of AqBanking/Gwen was used before?

Maybe I will add a command to the gct-tool to decrypt such a file and show the content, maybe that reveals the reason why this file can't be read with current versions of AqBanking.

Aktionen #3

Von rhabacker vor mehr als 3 Jahren aktualisiert

What version of AqBanking/Gwen was used before?

I found out that the related file was created in june 2017 on a linux host. In 2020 I created a new file which is used until now.

It turned out that the file from 2020 is slighty smaller ( 42258 Bytes) than the file from 2017 (43426 Bytes).

Aktionen #4

Von rhabacker vor fast 3 Jahren aktualisiert

The issue is still present in version with AqBanking-CLI: 6.5.0 Gwenhywfar: 5.9.0.0 AqBanking: 6.5.0.0

Aktionen #5

Von rhabacker vor fast 3 Jahren aktualisiert

As reported above after an additional problem here is that after trying to use such a configuration, the associated user is not unlocked and all further attempts are blocked with an error.

Aktionen #6

Von rhabacker vor fast 3 Jahren aktualisiert

The related files are located in <home>/aqbanking/backends/aqpaypal/data/*.sec and gct-tool from version 5.9.0 was not able to show the content.

Aktionen #7

Von martin vor fast 3 Jahren aktualisiert

Hmm, the fact that the file lock is kept seems to indicate that AqBanking aborted and forgot to remove the lock.
I will have to look into your logs again as soon as I have time.

Aktionen #8

Von martin vor fast 3 Jahren aktualisiert

Well, at least the missing unlock should be fixed now in git.

Aktionen

Auch abrufbar als: Atom PDF