Well, searching for that error message is not encouraging. Incapsula
seems to be a web security tool added in front of the website. That may
be why it needs the user-agent header. Right now, I can only think of
two things to try. First, try going the the URL you are using in a
browser. It's not likely to help, but it might show something useful.
The other thing is to catch the entire process in GnuCash using
WireShark. Unfortunately, I suspect the only thing it will do is
confirm the need for the user agent.
One other possible line of attack - I think I see where in the code the
HTTP user agent could be added. It should be easy enough for testing,
but would have to be wrapped in some sort of conditional (based on the
institution) for actual use. We could work on that in private email,
and return to the list if it's succesful.
Jack
On 8/13/21 6:31 PM, Brendan Coupe wrote:
The ofx log shows the same info that's in the message box after it
fails to find any accounts:
Request unsuccessful. Incapsula incident ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
----
Brendan Coupe
Delta, it's not just a crappy airline
On Fri, Aug 13, 2021 at 4:14 PM Jack via KMyMoney-devel
<kmymoney-devel@kde.org> wrote:
Have you set up ofx logging? That will show exactly what is being sent
as the request, and sometimes give a more useful error message than what
gets surfaced through the UI.
On 8/13/21 6:03 PM, Brendan Coupe wrote:
On Fri, Aug 13, 2021 at 3:06 PM Jack via KMyMoney-devel
<kmymoney-devel@kde.org> wrote:
On 8/13/21 4:40 PM, Brendan Coupe via KMyMoney-devel wrote:
[snip... and sorry for any strange formatting, I'm not using my usual email app]
I thought about that since importing CSV files from USAA into KMM is
annoying but it may not save me any time. I may give it a try.
I should have asked if you can export OFX (sometimes call QFX) files from USAA.
That would be better than importing CSV. However my suggestion (which may
well not save any time) is doing a direct connect import to GnuCash, and then
exporting from there to import into KMM. Valid as a temporary workaround at
best.
Unfortunately they do not offer anything but CSV.
I guess I wasn't clear. I tried mapping with both ofximporter and kbanking.
kbanking was already setup since it uses the aqbanking settings that I got to
work on GnuCash. The KMM crash happens when I attempt to import an account that
was mapped with kbanking/aqbanking.
I tried expert mode (ofximporter) before my first email. I tried both
QMOFX and 2300 in the "Identify As" box. Both failed. Both appear to
be required in aqbanking but ofximporter only has one box to fill in.
From the GnuCash instructions:
Application ID QMOFX
Application Version 2300
Header Version 103
Aha - in that single box, you need to put QMOFX:2300 - it combined the appid
and version, separated by a colon.
QMOFX:2300 did not solve the problem. I suspect the bank needs to see
"HTTP User Agent: InetClntApp/3.0" somewhere.
The exact same settings (QMOFX & 2300) in AqBanking work in GnuCash
but cause KMM to crash. Does AqBanking work normally, I've never tried
to use it before today.
We should certainly track down the cause of that crash, but getting you
importing again is also good, if a separate goal.
Jack