Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project hangs after deploying to AWS server. #19

Closed
hmxa22 opened this issue Nov 12, 2021 · 1 comment
Closed

Project hangs after deploying to AWS server. #19

hmxa22 opened this issue Nov 12, 2021 · 1 comment

Comments

@hmxa22
Copy link

hmxa22 commented Nov 12, 2021

begin
pdf = FillablePDF.new(Rails.root.to_s + '/public/pdf_contracts/' + contract.template_name)
rescue Exception => e
Rails.logger.info('exception - ***')
Rails.logger.info(e.message)
ensure
Rails.logger.info('reached ensure block ')
end

So hang the server when i try to create the pdf from .new and didnt even through exception neither ensure msg displayed on production.log.

@hmxa22 hmxa22 changed the title Hang out when I deployed to aws server. Hang out after deployed to aws server. Nov 12, 2021
@vkononov
Copy link
Owner

@hmxa22 This is a duplicate of Issue 18. Please see this comment and Deployment with Phusion Passenger + Nginx for a workaround. If this solves your problem, please close the issue. Thanks.

@vkononov vkononov changed the title Hang out after deployed to aws server. Project hangs after deploying to AWS server. Nov 16, 2021
@hmxa22 hmxa22 closed this as completed Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants