Bug #299
offenOFX Select A Bank dialog doesn't work
Beschreibung
The matching banks list is always blank. It appears that OfxHome_GetData is never called. The following output is obtained from the OFX DirectConnect Setup Wizard via GnuCash. I clicked the Select button to launch the Select a Bank dialog and typed in the Bank Name entry.
- 12:45:09 DEBUG <aqofxconnect> started
- 12:45:09 WARN <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/provider.c: 172: Overriding loglevel for AqOFXConnect with "debug"
- 12:45:09 MESSG <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/provider.c: 179: Initializing AqOfxConnect backend
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:09 WARN <aqbanking> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/aqbanking/banking_cfg.c: 668: No matching config groups found
- 12:45:11 WARN <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/provider.c: 172: Overriding loglevel for AqOFXConnect with "debug"
- 12:45:11 MESSG <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/provider.c: 179: Initializing AqOfxConnect backend
- 12:45:11 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/provider.c: 236: Deinitializing AqOFXDC backend
- 12:45:11 MESSG <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/provider.c: 245: Setting version 06050400
- 12:45:11 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/provider.c: 256: Deinit done
- 12:45:11 ERROR <gwenhywfar> /Users/john/Development/Gnucash-git-10.13-x86_64/src/gwenhywfar-5.10.2/src/base/pathmanager.c: 85: Path "aqhbci/xmldatadir" already exists
- 12:45:11 ERROR <gwenhywfar> /Users/john/Development/Gnucash-git-10.13-x86_64/src/gwenhywfar-5.10.2/src/gui/dialog.c: 723: Widget [hbciInitChipcardRadio] not found
- 12:45:16 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/dialogs/dlg_newuser.c: 1358: Activated: wiz_app_combo
- 12:45:29 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/dialogs/dlg_newuser.c: 1358: Activated: wiz_next_button
- 12:45:29 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/dialogs/dlg_newuser.c: 773: Missing bank name
- 12:45:40 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/dialogs/dlg_newuser.c: 1358: Activated: wiz_bank_button
- 12:45:40 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 386: Activated: listBox
- 12:45:55 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 432: Changed nameEdit
- 12:45:55 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 248: here (-57)
- 12:45:55 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 344: here (-57)
- 12:45:55 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 432: Changed nameEdit
- 12:45:55 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 248: here (-57)
- 12:45:55 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 344: here (-57)
- 12:45:55 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 432: Changed nameEdit
- 12:45:55 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 248: here (-57)
- 12:45:55 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 344: here (-57)
- 12:52:36 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 432: Changed nameEdit
- 12:52:36 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 248: here (-57)
- 12:52:36 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 344: here (-57)
- 12:52:36 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 432: Changed nameEdit
- 12:52:36 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 248: here (-57)
- 12:52:36 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 344: here (-57)
- 12:52:36 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 432: Changed nameEdit
- 12:52:36 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 248: here (-57)
- 12:52:36 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 344: here (-57)
- 12:52:37 ERROR <> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/dlg_getinst.c: 432: Changed nameEdit
- 12:52:37 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 248: here (-57)
- 12:52:37 INFO <aqofxconnect> /Users/john/Development/Gnucash-git-10.13-x86_64/src/aqbanking-6.5.4/src/libs/plugins/backends/aqofxconnect/libofxhome/ofxhome.c: 344: here (-57)
Ref: https://bugs.gnucash.org/show_bug.cgi?id=799110
Incidentally, www.ofxhome.com is now https only. There's a redirect from http, dunno if gwen can follow it. I did try
GWEN_XMLNODE *n;
/* prepare session */
- sess=GWEN_HttpSession_new("http://www.ofxhome.com/api.php?all=yes", "http", 80);
+ sess=GWEN_HttpSession_new("https://www.ofxhome.com/api.php?all=yes", "https", 443);
rv=OfxHome_SetupHttpSession(ofh, sess);
if (rv<0) {
DBG_INFO(AQOFXCONNECT_LOGDOMAIN, "here (%d)", rv);
@ -365,10 +365,10
@
OH_INSTITUTE_DATA *od;
/* prepare session */
- snprintf(urlbuf, sizeof(urlbuf)-1, "http://www.ofxhome.com/api.php?lookup=%d", fid);
+ snprintf(urlbuf, sizeof(urlbuf)-1, "https://www.ofxhome.com/api.php?lookup=%d", fid);
urlbuf[sizeof(urlbuf)-1]=0;
- sess=GWEN_HttpSession_new(urlbuf, "http", 80);
+ sess=GWEN_HttpSession_new(urlbuf, "https", 443);
rv=OfxHome_SetupHttpSession(ofh, sess);
if (rv<0) {
DBG_INFO(AQOFXCONNECT_LOGDOMAIN, "here (%d)", rv);
but since it's not getting called it of course made no difference.
Von martin vor mehr als 1 Jahr aktualisiert
- Status wurde von New zu In Progress geändert
Hmm, it should be called as soon as you type something into the name field... I'll look into it.
Von martin vor mehr als 1 Jahr aktualisiert
Just a thought: What happens if you delete the empty cache file "$HOME/.aqbanking/backends/aqofxconnect/data/ofxhome/institutes.conf" after applying your changes (http->https)? Is it called then?
Von martin vor mehr als 1 Jahr aktualisiert
- Status wurde von In Progress zu Feedback geändert