karnov / htmltoword

Ruby html to word gem
MIT License
177 stars 70 forks source link

Getting sporadic Net::OpenTimeout when rendering #83

Open hgcode opened 4 years ago

hgcode commented 4 years ago

Current Setup:


   htmltoword (1.1.0)
   actionpack
   nokogiri
   rubyzip (>= 1.0)
    rails (5.2.4.3)
      actioncable (= 5.2.4.3)
      actionmailer (= 5.2.4.3)
      actionpack (= 5.2.4.3)
      actionview (= 5.2.4.3)
      activejob (= 5.2.4.3)
      activemodel (= 5.2.4.3)
      activerecord (= 5.2.4.3)
      activestorage (= 5.2.4.3)
      activesupport (= 5.2.4.3)
      bundler (>= 1.3.0)
      railties (= 5.2.4.3)
      sprockets-rails (>= 2.0.0)

Getting these errors every now and then.

Is there a setting to increase the timeout used by this gem? I can't figure it out, current setting might be too aggressive?... because the word document contains images generated by other services.