404 for sidekiq/stylesheets-scheduler/recurring_jobs.css
RobsonKing opened this issue · comments
Using:
sidekiq (6.5.8)
sidekiq-pro (5.5.8)
sidekiq-scheduler (4.0.3)
When I try and view Sidekiq Web UI, the Recurring Jobs tab loads, but the css file 404s
I found this pr #394 where the path was renamed to sidekiq/stylesheets-scheduler/recurring_jobs.css and that is what I am trying to fetch.
I tried serving some of my own css out of my own asset directory and found:
It seems like any path that starts with /stylesheets
will not work?
I think this has something to do with your application, if you clone this repo https://github.com/sidekiq-scheduler/sample-rails locally and run
bundle install
yarn install
and then run
bin/rails s
and access localhost:3000/sidekiq/recurring-jobs
, does it load the stylesheets? At least for me, it works
Thanks so much for the sample project! I was able to modify it and reproduce my problem on an older version of rails (5.1.6.2🤮 ). If anyone else runs into this, the problem was an old version of rack
rack 2.1.4 exhibits this behaviour
rack 2.2.4 works
Happy to know you were able to find out the root of the problem!