nathankot / ledger-get-prices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to open TCP connection to ichart.finance.yahoo.com

engines-wafu opened this issue · comments

/usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/net/http.rb:906:in 'rescue in block in connect': Failed to open TCP connection to ichart.finance.yahoo.com:443 (getaddrinfo: nodename nor servname provided, or not known) (SocketError) from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/net/http.rb:903:in 'block in connect' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/timeout.rb:93:in 'block in timeout' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/timeout.rb:103:in 'timeout' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/net/http.rb:902:in 'connect' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/net/http.rb:887:in 'do_start' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/net/http.rb:876:in 'start' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:323:in 'open_http' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:741:in 'buffer_open' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:212:in 'block in open_loop' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:210:in 'catch' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:210:in 'open_loop' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:151:in 'open_uri' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:721:in 'open' from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/open-uri.rb:35:in 'open' from /usr/local/lib/ruby/gems/2.4.0/gems/yahoo-finance-1.1.0/lib/yahoo-finance.rb:190:in 'read_historical' from /usr/local/lib/ruby/gems/2.4.0/gems/yahoo-finance-1.1.0/lib/yahoo-finance.rb:142:in 'historical_quotes' from /usr/local/lib/ruby/gems/2.4.0/gems/ledger_get_prices-0.0.9/lib/ledger_get_prices.rb:83:in 'prices_for_symbol' from /usr/local/lib/ruby/gems/2.4.0/gems/ledger_get_prices-0.0.9/lib/ledger_get_prices.rb:60:in 'block in new_prices' from /usr/local/lib/ruby/gems/2.4.0/gems/ledger_get_prices-0.0.9/lib/ledger_get_prices.rb:58:in 'each' from /usr/local/lib/ruby/gems/2.4.0/gems/ledger_get_prices-0.0.9/lib/ledger_get_prices.rb:58:in 'reduce' from /usr/local/lib/ruby/gems/2.4.0/gems/ledger_get_prices-0.0.9/lib/ledger_get_prices.rb:58:in 'new_prices' from /usr/local/lib/ruby/gems/2.4.0/gems/ledger_get_prices-0.0.9/lib/ledger_get_prices.rb:40:in 'run!' from /usr/local/lib/ruby/gems/2.4.0/gems/ledger_get_prices-0.0.9/bin/getprices:3:in '<top (required)>' from /usr/local/bin/getprices:22:in 'load' from /usr/local/bin/getprices:22:in '<main>'

It looks like the ichart.finance.yahoo.com service is not provided, anymore. See fsprojects/FSharp.Data#1086.

Hey guys I have a fork that uses bloomberg: https://github.com/nathankot/ledger-get-prices/tree/bloomberg