I installed mailcatcher on my rails app but i still have this issu when i try to send an email :
Net::SMTPFatalError: 554 5.7.1 <lfbn-nan-1-1744-85.w90-104.abo.wanadoo.fr[90.104.17.85]>: Client host rejected: Access denied
Already tryed different fix/config found on internet but nothing is working.
ruby 3.1.2
rails 7.0.3.1
Any idea ?
Thanks
Related
I successfully installed Heroku(3.99.1) in the terminal but then there was an error message that read:
ERROR: While executing gem ... (Errno::EACCES)
Permission denied # dir_s_mkdir -
/usr/local/lib/ruby/gems/2.4.0/doc/excon-0.59.0
I then tried to login to Heroku in the terminal and the Heroku CLI was installed. I entered my email and password that I registered on the Heroku website, but another message refers to the same error:
MODULE_NOT_FOUND: Cannot find module './lib/request'
I have no idea as to the cause of, or the solution to this problem. Any help would be much appreciated :-)
When I try to send emails using sidekiq, it fails with the error:
EOFError: end of file reached
If I send the email using ActionMailer, the email gets sent no problem.
This works just fin:
InfractionMailer.alert.deliver
This, however, fails:
InfractionMailer.delay.alert
I am using SMTP through Office 365.
Sidekiq: 3.1.4 (also happened with 2.17.7)
Rails: 3.2.13
Turns out it was an issue with the OpenSSL included in RVM's ruby-2.0.0-p353. Upgrading to ruby-2.1.1 solved the issue
In my rails application, I am using
Apache + ruby 1.9.2p180 + Rails 3.0.5 + Phusion Passenger version 3.0.13
Here is my error
This application process is currently running as user 'nobody' and group 'nobody' and must be able to access its application root directory '/home/mystore /mystore '. However the parent directory '/home/mystore ' has wrong permissions, thereby preventing this process from accessing its application root directory. Please fix the permissions of the directory '/home/mystore ' first.
and when i look into my app it's empty but my database got the sample from spree. whats seems to be the problem?
Please somebody help me
I am using
ruby 1.9.2p180
Rails 3.0.5
Phusion Passenger version 3.0.13
I found the solution on it.
It occured due to
PassengerUserSwitching on
In passenger config file.
I turn it to off and it works for me.
If you are facing this issue in Rails 5 + Apache2, then add the following 2 Passenger Security Option into your Apache config file:
PassengerDefaultUser username
PassengerDefaultGroup username
and then restart the Apache server.
I've spend some time trying to get information about users from my OenLDAP server. I have host OS Windows 7 and guest os Fedora 14 with OpenLDAP server installed and configured. On my guest os I installed ruby-ldap gem and managed to connect and search info however whenever I try to perform search in Windows (I have gem net-ldap installed) I get error OpenStruct code=2, message="Protocol Error" so I suppose it uses LDAP v2 and my server accepts only LDAP v3 So my question is -- is there any ruby gem/plugin to work with LDAP v3 on Windows?
I managed to build ruby-ldap on Windows platform with ruby 1.9.2
I've get an action in my Rails 3 app that I'm pw-protecting with authenticate_or_request_with_http_basic. Working fine on my development machine but it's not prompting for the http_basic user/password on the production server.
The entire production app runs over https/SSL on nginx.
Where do I look to resolve this? Does http basic auth not work over SSL? Or is there an nginx setting I need to look at?
TIA
Not sure if this related to Rails 3.
I just recently had problems running Mongrel 1.1.5 and Rails 2.3.8
Apparently, there is a bug in this set up where our production machine does not prompt for the user name and password (but works locally, because we are using web-brick).
In the mongrel.log we keep getting this error:
Error calling Dispatcher.dispatch #split' called for nil
:NilClass>
/usr/local/rvm/gems/ruby-1.8.7-p174/gems/actionpack-2.3.8/lib/action_controller/cgi_process.rb:52:indispatch_cgi'
/usr/local/rvm/gems/ruby-1.8.7-p174/gems/actionpack-2.3.8/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
...
Found the monkey patch needed to fix this Mongrel 1.1.5 and Rails 2.3.8 and it worked for me.
The german site that lead to the solution: http://railssprech.de/ with 2 links for 2.3.8 and 2.3.9.
Here is the 2.3.8 version: http://www.pcoder.net/error-calling-dispatcher-dispatch/#axzz1RknBQso2
The patch explains why this error was occurring. Check the Rails 3 CGIHandler.dispatch_cgi method and see if it the same bug. You may need to extract the Rails 3 out and monkey patch it.
Hope this helps.
BTW: Mongrel 1.1.5 and Rails 2.3.5 works!