Reputation: 883
I am using gem 'geocoder'
issue with this gem
My Gemfile.lock
geocoder (1.4.4)
Getting the below error:-
Completed 500 Internal Server Error in 485ms (ActiveRecord: 0.0ms)
OpenSSL::SSL::SSLError (hostname "freegeoip.io" does not match the server certificate):
Upvotes: 2
Views: 203
Reputation: 339
Freegeoip moved servers from http://freegeoip.io to http://freegeoip.net...
Updating the gem to gem geocoder '~> 1.4.5
fixed this for me.
Upvotes: 3