Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanguard Failing #86

Open
scanlom opened this issue Sep 22, 2020 · 8 comments
Open

Vanguard Failing #86

scanlom opened this issue Sep 22, 2020 · 8 comments

Comments

@scanlom
Copy link

scanlom commented Sep 22, 2020

Vanguard downloads are suddenly failing, does anyone have the same issue? I'm kicked out to a "The page you're trying to reach is currently unavailable". OFXHome shows it's been failing consistently since Sep 16th - https://www.ofxhome.com/index.php/institution/history/479

@emin63
Copy link

emin63 commented Nov 2, 2020

I tried downloading from Vanguard and also got various errors. I suspect it is the fault of Vanguard. Note that you can manually download OFX data from Vanguard and then use various tools to parse it. Good luck and please post back here if you get ofxclient to work on Vanguard.

@jackpot51
Copy link

This is a vanguard issue, Quicken is having the same issue too and there is more information about it here:

https://community.quicken.com/discussion/7881217/vanguard-account-gets-a-ol-293-a-error/p4

@rkhwaja
Copy link
Contributor

rkhwaja commented Nov 6, 2020

According to someone on ofxhome.com, you can get around it by tweaking the newlines, but I think that the ofxclient output has newlines in either case.

@aclindsa
Copy link

Given my findings at csingley/ofxtools#94 (comment), and the original ofxclient fix for Vanguard (#47), I suspect the most expedient way to allow Vanguard downloads to work is to change the line at
https://github.com/captin411/ofxclient/blob/master/ofxclient/client.py#L135 from:

if len(response) == 0 and cookies is not None and res.status == 200:

to

if len(response) == 0 and cookies is not None and res.status == 500:

@emin63
Copy link

emin63 commented Nov 23, 2020

Given my findings at csingley/ofxtools#94 (comment), and the original ofxclient fix for Vanguard (#47), I suspect the most expedient way to allow Vanguard downloads to work is to change the line at
https://github.com/captin411/ofxclient/blob/master/ofxclient/client.py#L135

Thank you for the suggestion. I tried that but I continue to get an error from Vanguard. Has anyone been able to download from Vanguard using ofxclient?

@aclindsa
Copy link

@emin63 If you post the error message you are seeing, it may help others better understand the issue you're seeing. It's hard for me to figure out why my suggested fix didn't work for you without more detail.

@emin63
Copy link

emin63 commented Nov 23, 2020

@emin63 If you post the error message you are seeing, it may help others better understand the issue you're seeing. It's hard for me to figure out why my suggested fix didn't work for you without more detail.

Good point. I get basically an HTML response saying the page is unavailable:

<html>
<head>

<link rel="stylesheet" href="https://static.vgcontent.info/ret/hnw/web/stylesheet/VGI.css?20200409|145517" type="text/css">
<link rel="stylesheet" href="https://static.vgcontent.info/ret/hnw/web/stylesheet/1.css?20200409|145517" type="text/css">

<script type="text/javascript" src="https://static.vgcontent.info/ret/hnw/web/javascript/jsfunctions.js?20200409|145517"></script>
<script type="text/javascript">
<!--
function jsCBDgetUrlPrefix()
{
        return 'http://personal.vanguard.com';
}

function getContactUsURL()//Used to determine correct contact us link
{
        var contactUsURL = '/us';
        if(false)
        {
                contactUsURL += "/site/institutional/contactus";
        }
        else if(false)
        {
                contactUsURL += "/site/advisor/globalelements/contactus";
        }
        else
        {
                contactUsURL += "/content/UtilityBar/SiteHelp/SiteHelp/ContactUsPublicContent.jsp";
        }

        return contactUsURL;
}

//-->
</script>

<meta name="CBD_FULL_PAGE" content=""/>
</head>
<body>
<div id="gh">
        <div id="header" class="dis">
                <div id="util">
                        <div id="segment"><b></b></div>
                </div>
                <div id="brand">
                        <img src="https://static.vgcontent.info/ret/hnw/web/images/gh/vgi_lockup.gif" alt="Vanguard" width="148" height="37" border="0" />
                </div>
        </div>
<a name="cbd_top"></a>
</div>

<table id="columnContainer" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" id="colL">
        <div id="colLcontent">&nbsp;</div>
</td>
<td valign="top" id="colM">
        <div id="colMcontent">
                <table width="100%" cellpadding="0" cellspacing="0">
                <tr>
                        <td>
                                <p style="font: bold 80% Verdana, Arial, Helvetica, sans-serif">
                                The page you're trying to reach is currently unavailable. This
                                may be a temporary error, so please try again. If the problem persists,
                                <a href="#" onclick="javascript:jsCBDopenStdWin(getContactUsURL(),CBD_MODAL_POP,'yes','yes',POPUP_SIZE1);">contact us</a>.
                                </p>
                                </td>
                </tr>
                </table>
        </div>
</td>
</tr>
</table>

</body>
</html>

@aclindsa
Copy link

Interesting. What HTTP status code are you receiving? At first glance, this seems like it may be a different issue than the one I was facing - I was receiving 500.

Are you able to fetch OFX for your Vanguard accounts with any other libraries/software?

ankurdave added a commit to ankurdave/ofxclient that referenced this issue Feb 25, 2022
ankurdave added a commit to ankurdave/ofxclient that referenced this issue Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants