How to test if Litespeed work with Ruby

Discussion in 'Ruby/Rails' started by cevo, Jan 3, 2015.

  1. cevo

    cevo Active Member

  2. NiteWave

    NiteWave Administrator

    I think 2nd link is good enough. redmine is a popular application and complicated enough.
    I know some users has run redmine + litespeed + ruby-lsapi for years smoothly.
    but might be not latest redmine and latest ruby-lsapi
     
  3. cevo

    cevo Active Member

  4. cevo

    cevo Active Member

    This is my directory structure
    /var/www/mywebsite/public/rubyappfolder

    where should I put "ls_rails_config" ?

    at /var/www/mywebsite/public/

    or

    at /var/www/mywebsite/


    Note: inside /rubyappfolder I got

    Code:
    .env
    .env.example
    .git
    .gitignore
    .irbrc
    .ruby-version
    .travis.yml
    CONTRIBUTING.md
    Gemfile
    Gemfile.lock
    MIT-LICENSE
    Procfile
    README.md
    Rakefile
    app
    bin
    config
    config.ru
    db
    lib
    log
    public
    spec
    tmp
    vendor
    
     
  5. cevo

    cevo Active Member

    I have retry again with the same instruction provided here
    https://www.litespeedtech.com/suppo...wiki:other-ext-apps:ruby-on-rails-easy-config
    and
    https://www.geekstorage.com/blog/in...p-ruby-on-rails-with-litespeed-at-geekstorage

    But still endup with this error

    Here is the log of my virtualhost ./logs/error.log


    Code:
    
    2015-01-04 14:26:41.938 [INFO] [123.345.22.22:36232] connection to [/tmp/lshttpd/mywebsite:_.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: Connection reset by peer!
    
    
    2015-01-04 14:26:42.049 [INFO] [123.345.22.22:36232] connection to [/tmp/lshttpd/mywebsite:_.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: Connection reset by peer!
    
    
    2015-01-04 14:26:42.192 [INFO] [123.345.22.22:36232] connection to [/tmp/lshttpd/mywebsite:_.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: Connection reset by peer!
    
    
    2015-01-04 14:26:42.192 [NOTICE] [123.345.22.22:36232] Max retries has been reached, 503!
    
    
    2015-01-04 14:26:42.192 [NOTICE] [123.345.22.22:36232] oops! 03 Service Unavailable
    
    
    2015-01-04 14:26:42.192 [NOTICE] [123.345.22.22:36232] Content len: 0, Request line: 'GET / HTTP/1.1'
    
    
     

Share This Page