ejschmitt / delayed_job_web

Resque like web interface for delayed job
MIT License
479 stars 187 forks source link

DelayedJobWeb responds forbidden with Chrome Version 42.0 #78

Open eiked opened 9 years ago

eiked commented 9 years ago

routes.rb: mount DelayedJobWeb => '/admin/tools/delayed_jobs'

This used to work well.

But I now get back a page with status 403 and body: 'Forbidden' when using Chrome Version 42.0 (it did work with Chrome before) (fails both in development and production mode)

It still does work as expected when using Firefox v37.0.2

This somehow sounds like they changed something in Chrome that does trigger this bug. (As it did work before with Chrome and still works with Firefox)

using

sockmonk commented 9 years ago

I started getting Forbidden errors as soon as I upgraded to Firefox 41.0.1. Was working great until then. delayed_job_web 1.2.10 rails 4.2.4 ruby 2.2.2p95

mreinsch commented 8 years ago

having same issue; it's actually stranger than this, I'm using chrome with two profiles, and for my main profile I get 'Forbidden', but my developer profile can still access it fine. I've compared cookies and requests, but couldn't find any obvious issues there.

hallmatt commented 6 years ago

This still seems like an issue with Chrome 67. Works fine with Firefox. Strange! My issue only happens when authenticating the route...

authenticated :user, -> user { user.is_administrator? }  do
    mount DelayedJobWeb, at: "/delayed_job"
  end

Chrome seems to work fine without auth.

benSlaughter commented 4 years ago

I had this issue, I downloaded and chrome extension to clear my App Cache, Cache, and Cookies. This solved it for me. Best of luck!