Ruby Gem carrierwave-ftp in Heroku returns Net error::Ftppermerror (500 I won’t open a Connection to

Asked

Viewed 12 times

-1

I am using Gem carrierwave-ftp and dev localhost works normal but in Heroku it resumes the error below: Net::Ftppermerror (500 I won’t open a Connection to xxx.xxx.xxx (only to zzz.zzz.zzz. ) Below is a sample of my configuaracao file.

CarrierWave.configure do |config|
  config.ftp_host = "ftp.meuhost.com"
  config.ftp_port = 21
  config.ftp_user = "meuusuario"
  config.ftp_passwd = "minhasenha"
  config.ftp_folder = "/public_html/meuhost/minhapasta"
  config.ftp_url = "https://meuhost.com/minhapasta"
  config.ftp_passive = false # false by default
  config.ftp_tls = false # false by default
  config.cache_storage = :file
end

I searched a lot, in Igles, Chines, Japones and etc but without success.

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.