RoutingError for service-worker.js

(Florian) #1

I’m getting lots of

Started GET "/service-worker.js" for <IP REMOVED> at 2018-02-18 19:28:32 +0000
ActionController::RoutingError (No route matches [GET] "/service-worker.js")
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/actionpack-5.1.4/lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
  Rendering exceptions/not_found.html.erb within layouts/no_ember
  Rendered exceptions/not_found.html.erb within layouts/no_ember (5.2ms)
  Rendered layouts/_head.html.erb (0.2ms)
  Rendered common/_special_font_face.html.erb (0.1ms)
  Rendered common/_discourse_stylesheet.html.erb (0.1ms)
  Rendered application/_header.html.erb (0.1ms)
  Rendering html template
  Rendered html template (0.0ms)

in production.log. Any idea why?

(David Taylor) #2

What version of discourse are you running?

(Florian) #3

It’s the latest version.

(Sam Saffron) #4

We renamed this file on latest, it is meant to unregister the old one

Is this causing issues?

cc @tgxworld

(Florian) #5

No, I’ve noticed a lot of 4xx’s in the detailed traffic report which made me curious.

I’m pretty new to Discourse, so I wasn’t sure whether I should do anything about it. If it’s supposed to be that way (at least temporary) all is fine.

(Alan Tan) #8

Fixed in

(Jeff Atwood) #9