aqbanking3 branch
David Reiser
dbreiser at earthlink.net
Sun Jul 6 16:29:55 EDT 2008
On Jul 6, 2008, at 11:34 AM, Martin Preuss wrote:
> Hi David,
>
> On Sonntag, 6. Juli 2008, David Reiser wrote:
> [...]
>> <BANKMSGSRQV1> instead of <INVSTMTMSGSRQV1>. There is at least one
> [...]
>
> Maybe the account type isn't correct: Could you please inspect
> settings.conf
> (in $HOME/.aqbanking for aqbanking3), lookup the account in question
> and
> change the accountType variable from possibly "1" to "5"?
>
> If this settings doesn't exist you'll have to add it manually (e.g.
> directly
> below "int uniqueId=xxx").
>
> [...]
>> The curious feature here is that the UID 108 is associated with the
>> investment account as stored in ~/.banking/settings.conf (the data
>> store for aqbanking v2) instead of ~/.aqbanking/settings.conf (the
>> data store for aqbanking v3). The correct UID should be 36. Even if I
>> move ~/.banking out of the way, I still get the error. Is gnucash
> [...]
>
> You should have copied or moved $HOME/.banking to $HOME/.aqbanking.
> If you
> just re-initialized your account with aqbanking3 the accounts have
> new unique
> ids which obviously do not match the old id possibly stored in
> gnucash.
>
> Maybe it's as easy as assigning a new account to the GnuCash account?
I replaced .aqbanking with the contents of .banking. I no longer get
the UID errors from gnucash, but aqbanking is still sending the
request for checking transactions instead of investment transactions.
int accountType="5"
is present in the account definition
There wasn't an accountType line in my first .aqbanking data store
because I set the account up in the wizard without using the wizard's
Get Accounts button. When I try to use the wizard to retrieve accounts
from ameritrade, I get the following console messages
(gwen_loglevel=info)
3:2008/07/06 15-23-16:(null)(50315):network.c: 397: Saving response
in "/tmp/ofx.log" ...
6:2008/07/06 15-23-17:gwen(50315):io_socket.c: 450: Starting to
connect to 198.200.170.20 (port 443)
6:2008/07/06 15-23-17:gwen(50315):inetsocket.c: 260: Connection delayed
6:2008/07/06 15-23-17:gwen(50315):io_socket.c: 299: Now connected to
198.200.170.20 (port 443)
6:2008/07/06 15-23-17:gwen(50315):io_tls.c: 285: Preparing SSL
(00000014)
6:2008/07/06 15-23-17:gwen(50315):io_tls.c: 293: Init as client
6:2008/07/06 15-23-17:gwen(50315):io_tls.c: 367: Using default ca-
bundle from [/opt/aq3/share/gwenhywfar/ca-bundle.crt]
6:2008/07/06 15-23-17:gwen(50315):io_tls.c: 390: Added 94 trusted certs
6:2008/07/06 15-23-18:gwen(50315):io_socket.c: 392: Write request
finished (93 bytes written)
6:2008/07/06 15-23-18:gwen(50315):io_codec.c: 461: Written 93 bytes
from ringbuffer
6:2008/07/06 15-23-18:gwen(50315):io_codec.c: 442: Read 1024 bytes
into ringbuffer (now 1024)
6:2008/07/06 15-23-18:gwen(50315):io_codec.c: 442: Read 1024 bytes
into ringbuffer (now 1024)
6:2008/07/06 15-23-18:gwen(50315):io_codec.c: 442: Read 529 bytes
into ringbuffer (now 529)
6:2008/07/06 15-23-18:gwen(50315):io_socket.c: 392: Write request
finished (182 bytes written)
6:2008/07/06 15-23-18:gwen(50315):io_codec.c: 461: Written 182 bytes
from ringbuffer
6:2008/07/06 15-23-18:gwen(50315):io_codec.c: 442: Read 43 bytes into
ringbuffer (now 43)
6:2008/07/06 15-23-18:gwen(50315):io_tls.c: 584: Checking hostname
[ofxs.ameritrade.com]
6:2008/07/06 15-23-18:gwen(50315):io_tls.c: 593: Cert is for this
server
3:2008/07/06 15-23-18:qt3_wizard(50315):cppgui.cpp: 522: Checking cert
6:2008/07/06 15-23-20:gwen(50315):io_tls.c: 1197: SSL connected (secure)
6:2008/07/06 15-23-20:gwen(50315):io_http.c: 1580: Layer now connected
6:2008/07/06 15-23-20:gwen(50315):io_socket.c: 392: Write request
finished (224 bytes written)
6:2008/07/06 15-23-20:gwen(50315):io_codec.c: 461: Written 224 bytes
from ringbuffer
6:2008/07/06 15-23-20:gwen(50315):io_socket.c: 392: Write request
finished (520 bytes written)
6:2008/07/06 15-23-20:gwen(50315):io_codec.c: 461: Written 520 bytes
from ringbuffer
6:2008/07/06 15-23-20:gwen(50315):io_codec.c: 442: Read 452 bytes
into ringbuffer (now 452)
6:2008/07/06 15-23-20:gwen(50315):io_codec.c: 442: Read 821 bytes
into ringbuffer (now 821)
6:2008/07/06 15-23-20:gwen(50315):io_codec.c: 442: Read 23 bytes into
ringbuffer (now 23)
6:2008/07/06 15-23-20:gwen(50315):io_tls.c: 944: EOF met
6:2008/07/06 15-23-20:gwen(50315):io_buffered.c: 154: No bytes read
6:2008/07/06 15-23-20:gwen(50315):io_buffered.c: 185: Aborting in
read request (reason: -57)
6:2008/07/06 15-23-20:gwen(50315):io_http.c: 970: Aborting in read
request (reason: -57)
6:2008/07/06 15-23-20:gwen(50315):io_http.c: 1425: Unable to read (-57)
6:2008/07/06 15-23-20:gwen(50315):iolayer.c: 396: here (-57)
6:2008/07/06 15-23-20:gwen(50315):iolayer.c: 703: here (-57)
6:2008/07/06 15-23-20:gwen(50315):io_tls.c: 1232: SSL disconnected
6:2008/07/06 15-23-20:gwen(50315):inetsocket.c: 280: Closing socket 9
3:2008/07/06 15-23-20:(null)(50315):provider.c: 659: Error exchanging
getAccounts-request (-57)
3:2008/07/06 15-23-20:qt3_wizard(50315):cfgtabpageuserofx.cpp: 283:
Error requesting account list
Requesting accounts from CitiCards credit card server succeeds from
the aqbanking3 wizard.
Requesting accounts from ameritrade using the wizard in aqbanking
2.3.3 + gwenhywfar 2.6.2 succeeds.
Dave
--
David Reiser
dbreiser at earthlink.net
More information about the gnucash-devel
mailing list