Recently I've been using in production this API for currency conversion.
http://economia.awesomeapi.com.br/USD-BRLT/1
In the past few days, had been working very well but today we have some time out in the request.
irb(main):018:0> response = RestClient.get "http://economia.awesomeapi.com.br/USD-BRLT/1"
RestClient::Exceptions::OpenTimeout: Timed out connecting to server
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:731:in `rescue in transmit'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:647:in `transmit'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/rest-client-2.0.2/lib/restclient.rb:67:in `get'
from (irb):18
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.0.6/lib/rails/commands/console.rb:65:in `start'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.0.6/lib/rails/commands/console_helper.rb:9:in `start'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.0.6/lib/rails/commands/commands_tasks.rb:78:in `console'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.0.6/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from /Users/alessandrostein/.rbenv/versions/2.3.5/lib/ruby/gems/2.3.0/gems/railties-5.0.6/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
In the same time, using the webpage, I have the result expected.
Hi guys,
Recently I've been using in production this API for currency conversion.
http://economia.awesomeapi.com.br/USD-BRLT/1
In the past few days, had been working very well but today we have some time out in the request.
In the same time, using the webpage, I have the result expected.
Someone can help me?