簡體   English   中英

OpenSSL :: SSL :: SSLError:主機名“ freegeoip.io”與ruby geocoder gem中的服務器證書不匹配

[英]OpenSSL::SSL::SSLError: hostname “freegeoip.io” does not match the server certificate in ruby geocoder gem

我與此寶石一起使用gem 'geocoder'問題

我的Gemfile.lock

geocoder (1.4.4)

出現以下錯誤:

Completed 500 Internal Server Error in 485ms (ActiveRecord: 0.0ms)

OpenSSL::SSL::SSLError (hostname "freegeoip.io" does not match the server certificate):

Freegeoip將服務器從http://freegeoip.io移到了http://freegeoip.net ...
將gem更新為gem geocoder '~> 1.4.5為我修復了此問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM