Re: OFX Direct Connect problems

Thomas Baumgart <[email protected]> Wed, 21 Mar 2007 08:15:18 +0100
Newsgroups gmane.comp.kde.kmymoney2.user,gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
On Wednesday 21 March 2007 05:22, David Berg wrote:
> Miek Altorf wrote:
> > On 3/20/07, Thomas Baumgart
> >
> > <[email protected]> wrote:
> >> on Tuesday 20 March 2007 20:35, David Berg wrote:
> >> > > When I've set up ofx direct connect with values for my bank, but
> >> > > when I try to update I get a HTTP request failed dialog.  Looking at
> >> > > the /tmp/kde-$USERNAME/kmymoney2??????.tmp file it indicates the
> >> > > error
> >>
> >> was
> >>
> >> > > a "HTTP Error 405".
> >> >
> >> > I should mention that I'm running .0.8.5 on an updated ubuntu feisty
> >> > install.  Its just the package that is distributed with ubuntu.  I
> >> > haven't compiled anything.
> >> >
> >> > > --Dave
> >
> > I had problems using Kmymoney 0.8.4 with Ubuntu Edgy and it seemed that
> > the OFX-plugin was broken. 0.8.4 is the package delivered with Edgy, but
> > it just
> > doesn't work for OFX.
> > Then I tried to install 0.8.5, but I did not succeed, due to a lot of
> > dependencies with other packages.
> > Last week I found out that 0.8.6 was released and decided to give it
> > another
> > try.
> > I compiled from source and now everything works just fine. A great
> > relieve, I have to admit.
> > I don't know if this relates to your problem; I don't recognize the
> > error. But I think it's worth a try to install 0.8.6.
>
> I just downloaded, compiled and installed the kmymoney .0.8.6 tarball
> from sourceforge.  I still get the same error message, though I now get
> additional debugging info on the command line.  It doesn't help me any,
> but maybe it gives someone else a clue:
>
> 3 attempts using 2 different accounts with the same bank.
>
> dberg@ubuntu:~/Desktop/kmymoney2-0.8.6$ kmymoney
> kmymoney2: Loaded 'KBanking' plugin
> kmymoney2: Loaded 'OFX Import' importer plugin
> kmymoney2: STATUS: Contacting https://homebank.mayocreditunion.org...
> kmymoney2: STATUS: Connection established, retrieving data...
> kmymoney2: DETAILS: Downloading data to
> /tmp/kde-dberg/kmymoney20AjyRa.tmp...
> kmymoney2: DETAILS: Got 821 bytes
> kmymoney2: DETAILS: Got 743 bytes
> kmymoney2: DETAILS: Got 0 bytes
> kmymoney2: STATUS: Completed.
> kmymoney2: The HTTP request failed:
> kmymoney2: STATUS: Contacting https://homebank.mayocreditunion.org...
> kmymoney2: STATUS: Connection established, retrieving data...
> kmymoney2: DETAILS: Downloading data to
> /tmp/kde-dberg/kmymoney2IkqCkc.tmp...
> kmymoney2: DETAILS: Got 821 bytes
> kmymoney2: DETAILS: Got 743 bytes
> kmymoney2: DETAILS: Got 0 bytes
> kmymoney2: STATUS: Completed.
> kmymoney2: The HTTP request failed:
> kmymoney2: STATUS: Contacting https://homebank.mayocreditunion.org...
> kmymoney2: STATUS: Connection established, retrieving data...
> kmymoney2: DETAILS: Downloading data to
> /tmp/kde-dberg/kmymoney2Qafvmb.tmp...
> kmymoney2: DETAILS: Got 821 bytes
> kmymoney2: DETAILS: Got 743 bytes
> kmymoney2: DETAILS: Got 0 bytes
> kmymoney2: STATUS: Completed.
> kmymoney2: The HTTP request failed:

I have to admit, that my last comment was not correct. This is not a libofx 
problem. Sorry for the noise on the libofx devel list.

Seems that the functionality is split. KMyMoney downloads the data and passes 
a file onto libofx. Since the download fails, it's clearly a KMyMoney 
problem. 

I noticed, that KMyMoney uses a fixed HTTP POST to retrieve the data. Could it 
be, that those banks only support a HTTP GET as access? This would match the 
error 405 which says 'wrong access method'.

Maybe, someone who can reproduce the problem and has some knowledge about 
programming can look into the problem. I can give advise on where to look and 
what to do on an abstract level, but I don't want to change any logic w/o 
having a single test facility. Any help appreciated at this point.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
'Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.' - Brian W. Kernighan
-------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
KMyMoney2-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kmymoney2-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBGANuOnFnbQLdd07oRAp/tAKDDr61sRwa7KzWYw2vDIEZuIxIJNgCeMWTj
Yaw7sc+uS5ImXMCOZZnkOGg=
=fjLm
-----END PGP SIGNATURE-----