Download not working
-
Good afternoon,
I hope this message finds you well.
We are experiencing an issue when attempting to download PDF files from Docuseal. Following the update to version 1.6.18, a pop-up window appears displaying the error message "Failed to download files." We would greatly appreciate your assistance in resolving this matter promptly.
Thank you for your attention and support.
Best regards,
-
N nebulon marked this topic as a question
-
Good morning:
Here are the logs that came out when the user tried to download the PDF file from Docuseal: https://drive.google.com/file/d/1IbcD_QXWY6Rr08iPWKWmxZ_YaAaKKQiL/view?usp=sharing
Thank you
-
Seems like an openssl issue within the app itself. Do you experience the same issue with the latest package? If so we have to maybe report this upstream as an issue in docuseal issue tracker.
@nebulon Yes Sir, I still have the same issue and it is the latest version from a while ago, still giving me "Failed to download files" and there the log:
Feb 11 08:26:53 I, [2025-02-11T13:26:53.269340 #1] INFO -- : [bad0cd38-ad71-40af-8ae4-26945fe93eaf] {"method":"GET","format":"html","controller":"TemplatesPreferencesController","action":"show","status":200,"allocations":18205,"duration":134.71,"view":102.61,"db":17.14,"fwd":"172.16.2.50","params":{"template_id":"27"},"host":"docuseal..net","uid":1}
Feb 11 08:26:54 13:M 11 Feb 2025 13:26:54.013 * 10 changes in 300 seconds. Saving...
Feb 11 08:26:54 13:M 11 Feb 2025 13:26:54.014 * Background saving started by pid 804
Feb 11 08:26:54 804:C 11 Feb 2025 13:26:54.041 * DB saved on disk
Feb 11 08:26:54 804:C 11 Feb 2025 13:26:54.043 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB
Feb 11 08:26:54 13:M 11 Feb 2025 13:26:54.115 * Background saving terminated with success
Feb 11 08:26:58 I, [2025-02-11T13:26:58.234611 #1] INFO -- : [7f75dc49-22c8-45f9-abf9-1eba0bc5e2ce] {"method":"GET","format":"html","controller":"TemplatesController","action":"show","status":200,"allocations":9035,"duration":72.43,"view":45.53,"db":10.03,"fwd":"172.16.2.50","params":{"id":"27"},"host":"docuseal..net","uid":1}
Feb 11 08:26:58 I, [2025-02-11T13:26:58.350468 #1] INFO -- : [70029a06-9da6-44ab-853d-89389fefadd5] {"method":"GET","format":"json","controller":"PwaController","action":"manifest","status":200,"allocations":314,"duration":1.8,"view":0.83,"db":0.0,"fwd":"172.16.2.50","params":{},"host":"docuseal..net","uid":null}
Feb 11 08:27:00 I, [2025-02-11T13:27:00.129446 #1] INFO -- : [016e8bae-88a8-4ac1-8d78-338944e4ec84] {"method":"GET","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1727,"duration":22.71,"view":15.0,"db":2.36,"fwd":"172.18.0.1","params":{},"host":"docuseal..net","uid":null}
Feb 11 08:27:00 I, [2025-02-11T13:27:00.449953 #1] INFO -- : [8406469c-4bb1-4752-a11b-b877897c079e] {"method":"GET","format":"html","controller":"SubmissionsController","action":"show","status":200,"allocations":7297,"duration":76.49,"view":25.56,"db":12.91,"fwd":"172.16.2.50","params":{"id":"59"},"host":"docuseal..net","uid":1}
Feb 11 08:27:01 E, [2025-02-11T13:27:01.763624 #1] ERROR -- : [d3a616ef-dc76-4da7-928d-c234416236db] Error when decoding the timestamp response: nested asn1 error (Type=TS_RESP)
Feb 11 08:27:01 I, [2025-02-11T13:27:01.775624 #1] INFO -- : [d3a616ef-dc76-4da7-928d-c234416236db] {"method":"GET","format":"/","controller":"SubmissionsDownloadController","action":"index","status":500,"allocations":50971,"duration":844.7,"view":0.0,"db":28.07,"fwd":"172.16.2.50","params":{"slug":"muG82"},"host":"docuseal..net","uid":1}
Feb 11 08:27:01 E, [2025-02-11T13:27:01.778332 #1] ERROR -- : [d3a616ef-dc76-4da7-928d-c234416236db]
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] OpenSSL::Timestamp::TimestampError (Error when decoding the timestamp response: nested asn1 error (Type=TS_RESP)):
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db]
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/timestamp_handler.rb:51:in 'OpenSSL::Timestamp::Response#initialize'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/timestamp_handler.rb:51:in 'Class#new'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/timestamp_handler.rb:51:in 'Submissions::TimestampHandler#sign'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] hexapdf (1.0.3) lib/hexapdf/digital_signature/signing/signed_data_creator.rb:158:in 'HexaPDF::DigitalSignature::Signing::SignedDataCreator#create_unsigned_attrs'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] hexapdf (1.0.3) lib/hexapdf/digital_signature/signing/signed_data_creator.rb:114:in 'HexaPDF::DigitalSignature::Signing::SignedDataCreator#create'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] hexapdf (1.0.3) lib/hexapdf/digital_signature/signing/signed_data_creator.rb:66:in 'HexaPDF::DigitalSignature::Signing::SignedDataCreator.create'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] hexapdf (1.0.3) lib/hexapdf/digital_signature/signing/default_handler.rb:319:in 'HexaPDF::DigitalSignature::Signing::DefaultHandler#sign'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] hexapdf (1.0.3) lib/hexapdf/digital_signature/signatures.rb:166:in 'HexaPDF::DigitalSignature::Signatures#add'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] hexapdf (1.0.3) lib/hexapdf/document.rb:688:in 'HexaPDF::Document#sign'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/generate_result_attachments.rb:507:in 'Submissions::GenerateResultAttachments.build_pdf_attachment'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/generate_result_attachments.rb:72:in 'block in Submissions::GenerateResultAttachments.call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/generate_result_attachments.rb:61:in 'Array#each'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/generate_result_attachments.rb:61:in 'Enumerable#filter_map'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/generate_result_attachments.rb:61:in 'Submissions::GenerateResultAttachments.call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/submissions/ensure_result_generated.rb:27:in 'Submissions::EnsureResultGenerated.call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] app/controllers/submissions_download_controller.rb:22:in 'SubmissionsDownloadController#index'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal/basic_implicit_render.rb:8:in 'ActionController::BasicImplicitRender#send_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/abstract_controller/base.rb:226:in 'AbstractController::Base#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal/rendering.rb:193:in 'ActionController::Rendering#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/abstract_controller/callbacks.rb:261:in 'block in AbstractController::Callbacks#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/callbacks.rb:120:in 'block in ActiveSupport::Callbacks#run_callbacks'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] i18n (1.14.6) lib/i18n.rb:353:in 'I18n::Base#with_locale'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] app/controllers/application_controller.rb:66:in 'ApplicationController#with_locale'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] turbo-rails (2.0.11) lib/turbo-rails.rb:24:in 'Turbo.with_request_id'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] turbo-rails (2.0.11) app/controllers/concerns/turbo/request_id_tracking.rb:10:in 'Turbo::RequestIdTracking#turbo_tracking_request_id'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/callbacks.rb:140:in 'ActiveSupport::Callbacks#run_callbacks'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/abstract_controller/callbacks.rb:260:in 'AbstractController::Callbacks#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal/rescue.rb:27:in 'ActionController::Rescue#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal/instrumentation.rb:76:in 'block in ActionController::Instrumentation#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/notifications.rb:210:in 'block in ActiveSupport::Notifications.instrument'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/notifications/instrumenter.rb:58:in 'ActiveSupport::Notifications::Instrumenter#instrument'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/notifications.rb:210:in 'ActiveSupport::Notifications.instrument'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal/instrumentation.rb:75:in 'ActionController::Instrumentation#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal/params_wrapper.rb:259:in 'ActionController::ParamsWrapper#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activerecord (8.0.1) lib/active_record/railties/controller_runtime.rb:39:in 'ActiveRecord::Railties::ControllerRuntime#process_action'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/abstract_controller/base.rb:163:in 'AbstractController::Base#process'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionview (8.0.1) lib/action_view/rendering.rb:40:in 'ActionView::Rendering#process'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal.rb:252:in 'ActionController::Metal#dispatch'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_controller/metal.rb:335:in 'ActionController::Metal.dispatch'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/routing/route_set.rb:67:in 'ActionDispatch::Routing::RouteSet::Dispatcher#dispatch'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/routing/route_set.rb:50:in 'ActionDispatch::Routing::RouteSet::Dispatcher#serve'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/journey/router.rb:53:in 'block in ActionDispatch::Journey::Router#serve'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/journey/router.rb:133:in 'block in ActionDispatch::Journey::Router#find_routes'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/journey/router.rb:126:in 'Array#each'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/journey/router.rb:126:in 'ActionDispatch::Journey::Router#find_routes'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/journey/router.rb:34:in 'ActionDispatch::Journey::Router#serve'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/routing/route_set.rb:908:in 'ActionDispatch::Routing::RouteSet#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] warden (1.2.9) lib/warden/manager.rb:36:in 'block in Warden::Manager#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] warden (1.2.9) lib/warden/manager.rb:34:in 'Kernel#catch'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] warden (1.2.9) lib/warden/manager.rb:34:in 'Warden::Manager#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/tempfile_reaper.rb:20:in 'Rack::TempfileReaper#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/etag.rb:29:in 'Rack::ETag#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/conditional_get.rb:31:in 'Rack::ConditionalGet#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/head.rb:15:in 'Rack::Head#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/http/permissions_policy.rb:38:in 'ActionDispatch::PermissionsPolicy::Middleware#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/http/content_security_policy.rb:38:in 'ActionDispatch::ContentSecurityPolicy::Middleware#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack-session (2.0.0) lib/rack/session/abstract/id.rb:272:in 'Rack::Session::Abstract::Persisted#context'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack-session (2.0.0) lib/rack/session/abstract/id.rb:266:in 'Rack::Session::Abstract::Persisted#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/cookies.rb:706:in 'ActionDispatch::Cookies#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/callbacks.rb:31:in 'block in ActionDispatch::Callbacks#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] activesupport (8.0.1) lib/active_support/callbacks.rbin 'ActiveSupport::Callbacks#run_callbacks'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/callbacks.rb:30:in 'ActionDispatch::Callbacks#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:31:in 'ActionDispatch::DebugExceptions#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/show_exceptions.rb:32:in 'ActionDispatch::ShowExceptions#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lograge (0.14.0) lib/lograge/rails_ext/rack/logger.rb:18:in 'Rails::Rack::Logger#call_app'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] railties (8.0.1) lib/rails/rack/logger.rb:29:in 'Rails::Rack::Logger#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/remote_ip.rb:96:in 'ActionDispatch::RemoteIp#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] request_store (1.7.0) lib/request_store/middleware.rb:19:in 'RequestStore::Middleware#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/request_id.rb:34:in 'ActionDispatch::RequestId#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/method_override.rb:28:in 'Rack::MethodOverride#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/runtime.rb:24:in 'Rack::Runtime#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/executor.rb:16:in 'ActionDispatch::Executor#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] actionpack (8.0.1) lib/action_dispatch/middleware/static.rb:27:in 'ActionDispatch::Static#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/api_path_consider_json_middleware.rb:15:in 'ApiPathConsiderJsonMiddleware#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] lib/normalize_client_ip_middleware.rb:14:in 'NormalizeClientIpMiddleware#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/deflater.rb:47:in 'Rack::Deflater#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] rack (3.1.8) lib/rack/sendfile.rb:114:in 'Rack::Sendfile#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] railties (8.0.1) lib/rails/engine.rb:535:in 'Rails::Engine#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] puma (6.5.0) lib/puma/configuration.rb:279:in 'Puma::Configuration::ConfigMiddleware#call'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] puma (6.5.0) lib/puma/request.rb:99:in 'block in Puma::Request#handle_request'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] puma (6.5.0) lib/puma/thread_pool.rb:389:in 'Puma::ThreadPool#with_force_shutdown'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] puma (6.5.0) lib/puma/request.rb:98:in 'Puma::Request#handle_request'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] puma (6.5.0) lib/puma/server.rb:468:in 'Puma::Server#process_client'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] puma (6.5.0) lib/puma/server.rb:249:in 'block in Puma::Server#run'
Feb 11 08:27:01 [d3a616ef-dc76-4da7-928d-c234416236db] puma (6.5.0) lib/puma/thread_pool.rb:166:in 'block in Puma::ThreadPool#spawn_thread'
Feb 11 08:27:01 I, [2025-02-11T13:27:01.784623 #1] INFO -- : [d3a616ef-dc76-4da7-928d-c234416236db] {"method":"GET","format":"/","controller":"ErrorsController","action":"show","status":500,"allocations":372,"duration":2.61,"view":0.33,"db":0.0,"fwd":"172.16.2.50","params":{"slug":"muG82"},"host":"docuseal..net","uid":null}
Feb 11 08:27:10 I, [2025-02-11T13:27:10.122098 #1] INFO -- : [55c2febc-6a77-4a34-93bd-8c82b86f5f29] {"method":"GET","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1727,"duration":32.28,"view":20.58,"db":5.97,"fwd":"172.18.0.1","params":{},"host":"docuseal..net","uid":null} -
@pavelalonso you have an invalid Timestamp URL provided - removing Timestamp server URL should fix the download/signing
-
@pavelalonso you have an invalid Timestamp URL provided - removing Timestamp server URL should fix the download/signing
@docuseal Problem solved, thank you!
-
N nebulon has marked this topic as solved