Re: [GNC] Access problems fetching shares prices from Australian Stock Exchange

Peter Lamb via gnucash-user <[email protected]> Sat, 11 Jul 2026 16:22:43 +1000
Newsgroups gmane.comp.gnome.apps.gnucash.user
Message-ID <[email protected]>
On 11/7/2026 14:36, John Ralls wrote:
> That suggests you have a network problem rather than something wrong with F::Q 1.70.

Hi, John. Thanks for responding. I disagree about it being network 
problem, because the error seems to me to be originating from the server 
- it seems to be refusing the SSL protocol handshake because it is 
proposing a protocol version that the server does not accept:

    SSL connect attempt failed error:14077410:SSL
    routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

I also disagree about the networking problem suggestion because Firefox 
can successfully retrieve the QAN data using the same 
https://asx.api.markitdigital.com/asx-research/1.0/companies/QAN/header 
link that fails in F::Q.

When I do the query on ASX:QAN using gnucash-cli, I get the same result 
as when I do the query using Perl directly and when I try to fetch share 
prices in the Gnucash Price Database GUI:

    % /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -V -Q dump
    asx QAN
    Application Path /Applications/Gnucash.app/Contents/MacOS/gnucash-cli
    Finance::Quote reported a failure for symbol QAN: Unable to fetch
    data from the ASX server
    'https://asx.api.markitdigital.com/asx-research/1.0/companies/QAN/header'.
    Status: 500 Can't connect to asx.api.markitdigital.com:443 (SSL
    connect attempt failed error:14077410:SSL
    routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure)
    %

Curl is able to fetch the JSON data from that URL:

    % curl
    https://asx.api.markitdigital.com/asx-research/1.0/companies/QAN/header;
    echo ''{"data":{"dateListed":"1995-07-31","displayName":"QANTAS
    AIRWAYS
    LIMITED","priceAsk":10.43,"priceBid":10.33,"priceChange":0.019999999999999574,
    "priceChangePercent":0.19249278152068885,"priceLast":10.41,"sector":"Industrials",
    "industryGroup":"Transportation","securityType":1,"symbol":"QAN","volume":3729869,
    "xid":"237135","marketCap":15964252393,"statusCode":""}}
    %

That also suggests to me that a protocol issue in Perl's SSL libraries 
(rather than necessarily in F::Q itself) is the cause of the failure.

Cheers,
Peter
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.