Comments (8)
It looks like https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml is down
from eu_central_bank.
try https://github.com/spk/money-open-exchange-rates
from eu_central_bank.
Same thing here
from eu_central_bank.
Maybe there's some way to make sure this gem doesn't crash the whole site?
from eu_central_bank.
Until there's a better solution, you can do this
- Download latest eurofxref-daily.txt and rename extension to
.xml
(can't upload XML files to GitHub) - Add it to your
/config/initializers
or somewhere similar - In
money.rb
, replaceconfig.default_bank.update_rates
withconfig.default_bank.update_rates(Rails.root.join('config', 'initializers', 'eurofxref-daily.xml'))
At least that'll start your project. I tried the code below in money.rb
but the timeout is really long, so it doesn't work
begin
config.default_bank.update_rates
rescue
config.default_bank.update_rates(Rails.root.join('config', 'initializers', 'eurofxref-daily.xml'))
end
from eu_central_bank.
https://github.com/rmustafin/russian_central_bank - This also works, if you're looking for a quick fix.
from eu_central_bank.
The feed is not down there has been a CAPTCHA check added:
Security Check
Our systems have detected unusual traffic from your computer network.
This page checks to see if it is really you sending the requests and not a bot.
Please click here to verify that you are not a bot.
from eu_central_bank.
Any alternative sources? Don't really trust a Russian bank.. Could download https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml with curl after filling in the captcha but
the eu_central_bank gem fails to do so.
from eu_central_bank.
Related Issues (20)
- an option to pass read_timeout for rates updates HOT 1
- `options` removed from Money 6.13.5 HOT 10
- No rates available for ARS HOT 2
- update_rates fails to connect to server
- Calling `update_rates` without a cache file on a `puma` cluster pins CPU threads to 100%. HOT 5
- ArgumentError: wrong number of arguments (given 3, expected 2)
- RUB is missing from exchange rates HOT 2
- Unexpected conversion on rates_updated_at (Time is suddenly Date )
- Function that checks if the currency is supported
- Update gem on rubygems HOT 1
- Loosen dependency on money gem HOT 1
- Does not resolve with Money 6.10.1 HOT 1
- Please update the dependency on the money gem to v6.11.0 HOT 1
- Missing ISK conversion support HOT 3
- EU Central Bank Gem redirection forbidden HOT 3
- ecb rates url and 90 days url httpS
- Update to Money 6.13.1
- export_rates with :json and :yaml format issue HOT 1
- Update gemspec to support latest nokogiri ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eu_central_bank.