Has the Treasury Direct interface changed?

farleykj farleykj at gmail.com
Fri Dec 22 22:22:07 EST 2017


Further investigation seems to show that the site does not allow any
connections, at least not via Perl. I attempted a simple "probe" of the
price calculation site, via the following:

my $urlSite  = "https://www.treasurydirect.gov/BC/SBCPrice/" ;
my $userAgent = LWP::UserAgent->new ;
my $resData = $userAgent->get ( $urlSite ) ;
print $resData->content . "\n" ;

This yields the following:

  Can't connect to www.treasurydirect.gov:443 (Connection refused)

  LWP::Protocol::https::Socket: connect: Connection refused at
/Library/Perl/5.18/LWP/Protocol/http.pm line 49.

I really don't know where to go from here. 




-----
Ken Farley
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html


More information about the gnucash-user mailing list