[GNC] AQBanking OFX DirectConnect
chris graves
mohavebaked at gmail.com
Wed Mar 18 18:07:26 EDT 2020
Is there any easy way to capture the dialog between the client and server?
> On Mar 18, 2020, at 3:04 PM, John Ralls <jralls at ceridwen.us> wrote:
>
> The only difference I see now in the ofx.logs is the newlines, and I still haven't figured out if they're correctly escaped in the http request.
>
> Regards,
> John Ralls
>
>
>> On Mar 18, 2020, at 2:59 PM, Martin Preuss <martin at aqbanking.de> wrote:
>>
>> Hi again,
>>
>> with the latest changes: Are there any probably important differences in
>> the generated OFX request compared to Aqb5's output (except dates etc.)?
>>
>> Regards
>> Martin
>>
>>
>> Am 18.03.20 um 22:50 schrieb Chris Graves:
>>> Hi Martin,
>>>
>>> The GUI wouldn't let me leave that field blank, so I manually deleted
>>> the entry from the .conf file. Running again, it did use the defaults
>>> that you specified. However, still the http 400 error and no response.
>>>
>>> Sending:
>>> -------------------------------------
>>> OFXHEADER:100
>>> DATA:OFXSGML
>>> VERSION:102
>>> SECURITY:NONE
>>> ENCODING:USASCII
>>> CHARSET:1252
>>> COMPRESSION:NONE
>>> OLDFILEUID:NONE
>>> NEWFILEUID:20200318144035.000
>>>
>>> On Wed, Mar 18, 2020 at 2:34 PM Martin Preuss <martin at aqbanking.de
>>> <mailto:martin at aqbanking.de>> wrote:
>>>
>>> Hi,
>>>
>>> not ATM, but that can be arranged. However, how about leaving that field
>>> empty in the settings dialog? That should default to 100 for OFXHEADER
>>> and 102 for VERSION (for - ahem - historic reasons, I'm sure I had
>>> good^H^H^H reasons for those mixed defaults... :-})
>>>
>>> Regards
>>> Martin
>>>
>>>
>>> Am 18.03.20 um 22:26 schrieb Chris Graves:
>>>> Nice! I see that the change has been made, but still receive the HTTP
>>>> 400 error.
>>>>
>>>> In the AQB5 ofx.log file for a successful case, I see
>>>> OFXHEADER:100
>>>> VERSION:102
>>>>
>>>> In the AQB6 file, I see
>>>> OFXHEADER:102
>>>> VERSION:102
>>>>
>>>> Not sure if this could be the problem. Is there a way to set
>>> OFXHEADER
>>>> and VERSION independently?
>>>>
>>>>
>>>> On Wed, Mar 18, 2020 at 2:02 PM Martin Preuss <martin at aqbanking.de
>>> <mailto:martin at aqbanking.de>
>>>> <mailto:martin at aqbanking.de <mailto:martin at aqbanking.de>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> you can change the header manually to 102/103 in the
>>> homebanking setup
>>>> dialog (select user, edit user, switch to app settings and type-in
>>>> header version 102).
>>>>
>>>> Regards
>>>> Martin
>>>>
>>>>
>>>> Am 18.03.20 um 21:57 schrieb Chris Graves:
>>>>> Hi Martin,
>>>>>
>>>>> Looking better! However, to my knowledge, my bank only
>>> supports OFX
>>>>> version 102 or 103. I had been using 102.
>>>>>
>>>>> ofx.log:
>>>>> Sending:
>>>>> -------------------------------------
>>>>> OFXHEADER:220
>>>>> DATA:OFXSGML
>>>>> VERSION:220
>>>>> SECURITY:NONE
>>>>> ENCODING:USASCII
>>>>> CHARSET:1252
>>>>> COMPRESSION:NONE
>>>>> OLDFILEUID:NONE
>>>>> NEWFILEUID:20200318135033.000
>>>>>
>>>>> <OFX>
>>>>> <SIGNONMSGSRQV1>
>>>>> <SONRQ>
>>>>> <DTCLIENT>20200318135025.000
>>>>>
>>>>> On Wed, Mar 18, 2020 at 1:32 PM Martin Preuss
>>> <martin at aqbanking.de <mailto:martin at aqbanking.de>
>>>> <mailto:martin at aqbanking.de <mailto:martin at aqbanking.de>>
>>>>> <mailto:martin at aqbanking.de <mailto:martin at aqbanking.de>
>>> <mailto:martin at aqbanking.de <mailto:martin at aqbanking.de>>>> wrote:
>>>>>
>>>>> Hi Chris,
>>>>>
>>>>> could you please test the latest GIT version? It should
>>> create
>>>> valid
>>>>> OFXv1 requests now, however, I can't test it completely
>>> since
>>>> I only
>>>>> have access to an OFXv2 server...
>>>>>
>>>>>
>>>>> Regards
>>>>> Martin
>>>>>
>>>>>
>>>>> Am 18.03.20 um 16:31 schrieb chris graves:
>>>>>> An additional bit of information from /tmp/ofx.log:
>>>>>> AQB5:
>>>>>> Sending:
>>>>>> -------------------------------------
>>>>>> OFXHEADER:100
>>>>>> DATA:OFXSGML
>>>>>> VERSION:102
>>>>>> SECURITY:NONE
>>>>>> ENCODING:USASCII
>>>>>> CHARSET:1252
>>>>>> COMPRESSION:NONE
>>>>>> OLDFILEUID:NONE
>>>>>> NEWFILEUID:20200318081757.000
>>>>>>
>>>>>> <OFX>...
>>>>> [...]
>>>>>
>>>>>
>>>>> --
>>>>> "Things are only impossible until they're not"
>>>>>
>>>>
>>>>
>>>> --
>>>> "Things are only impossible until they're not"
>>>>
>>>
>>>
>>> --
>>> "Things are only impossible until they're not"
>>>
>>
>>
>> --
>> "Things are only impossible until they're not"
>
More information about the gnucash-user
mailing list