Open RayNawara opened 4 years ago
Oh, man. I would downgrade to the version that it was working before because using Ruby v1.8 is already exposed to many exploits... 😞
It wasn't working before. It has been failing off and on. This version of paperclip is working faster and better, so I'd like to try and stay here at least.
Thanks...
Hi! I know the software is old but I have a problem where almost every other time when saving images I get this error.
`Processing SerialNumberAssetsController#create (for 69.46.250.185 at 2020-10-28 17:46:07) [PUT] Parameters: {"authenticity_token"=>"v/IIahCzoLacZONd7+ZK/bMFL8156YJXgqMW6UlIXr8=", "controller"=>"serial_number_assets", "action"=>"create", "_method"=>"put", "serial_number"=>"[FILTERED]", "id"=>"75842"} [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0.jpg[0]' [paperclip] /usr/bin/convert '/tmp/stream,416,0.jpg[0]' -resize '108x108>' '/tmp/stream,416,0,416,0' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0,416,0[0]' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0.jpg[0]' [paperclip] /usr/bin/convert '/tmp/stream,416,0.jpg[0]' -resize '180x180>' '/tmp/stream,416,0,416,1' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0,416,1[0]' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0.jpg[0]' [paperclip] /usr/bin/convert '/tmp/stream,416,0.jpg[0]' -resize '504x504>' '/tmp/stream,416,0,416,2' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0,416,2[0]' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0.jpg[0]' [paperclip] /usr/bin/convert '/tmp/stream,416,0.jpg[0]' -resize '72x72>' '/tmp/stream,416,0,416,3' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0,416,3[0]' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0.jpg[0]' [paperclip] /usr/bin/convert '/tmp/stream,416,0.jpg[0]' -resize '1200x1200>' '/tmp/stream,416,0,416,4' [paperclip] /usr/bin/identify -format %wx%h '/tmp/stream,416,0,416,4[0]' [paperclip] Saving attachments.
OpenSSL::SSL::SSLError (SSL_read:: shutdown while in init): /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/protocol.rb:135:in
sysread' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/protocol.rb:135:in
rbuf_fill' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/timeout.rb:67:intimeout' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/timeout.rb:101:in
timeout' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/protocol.rb:134:inrbuf_fill' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/protocol.rb:116:in
readuntil' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/protocol.rb:126:inreadline' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/http.rb:2028:in
read_status_line' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/http.rb:2017:inread_new' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/1.8/net/http.rb:1051:in
request' cloudfiles (1.4.8) lib/cloudfiles/connection.rb:271:incfreq' cloudfiles (1.4.8) lib/cloudfiles/connection.rb:150:in
containers' lib/paperclip/storage/cloudfiles.rb:61:incloudfiles_container' lib/paperclip/storage/cloudfiles.rb:82:in
flush_writes' lib/paperclip/storage/cloudfiles.rb:81:ineach' lib/paperclip/storage/cloudfiles.rb:81:in
flush_writes' /home/globalauth/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/after_commit-1.0.10/lib/after_commit/connection_adapters.rb:14:intransaction' app/controllers/attachables_controller.rb:17:in
create_assets' app/controllers/attachables_controller.rb:15:ineach' app/controllers/attachables_controller.rb:15:in
create_assets' compass (0.10.6) lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:inprocess' haml (3.0.4) rails/./lib/sass/plugin/rack.rb:41:in
call' haml (3.0.4) rails/./lib/sass/plugin/rack.rb:41:incall' pdfkit (0.4.6) lib/pdfkit/middleware.rb:14:in
call' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:inprocess_request' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:160:in
accept_and_process_next_request' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:113:inmain_loop' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler.rb:416:in
start_threads' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/utils.rb:113:increate_thread_and_abort_on_exception' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/utils.rb:110:in
initialize' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/utils.rb:110:innew' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/utils.rb:110:in
create_thread_and_abort_on_exception' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler.rb:411:instart_threads' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler.rb:410:in
times' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler.rb:410:instart_threads' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler.rb:409:in
synchronize' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler.rb:409:instart_threads' passenger (5.1.10) src/ruby_supportlib/phusion_passenger/request_handler.rb:201:in
main_loop' passenger (5.1.10) src/helper-scripts/rack-preloader.rb:159Rendering template within layouts/application Rendering errors/500 (500) [Hoptoad] Success: Net::HTTPOK [Hoptoad] Environment Info: [Ruby: 1.8.7] [Rails: 2.3.10] [Env: production] ** [Hoptoad] Response from Hoptoad: <?xml version="1.0" encoding="UTF-8"?>0005b2be-bd45-56b2-c25a-ca8946216184 https://globalauth.airbrake.io/locate/0005b2be-bd45-56b2-c25a-ca8946216184
`
Any Ideas? I've updated OpenSSL to 1.0.2t. I upgraded paperclip from 2.3.1 to 2.8. I'd love to upgrade the system but I can't just yet. My client doesn't have the time or money yet.
I would appreciate any ideas. Thank you in advance for your help.
Ray