Chrome服务工作进程在端口3000上运行? [英] Chrome service-worker process running on port 3000?
问题描述
以下错误显示在我的Rails应用程序日志和我的Chrome浏览器JavaScript控制台中,但仅在Chrome浏览器中显示,并且只有当应用程序在端口3000上的localhost上运行时:
开始GET/service-worker.js为127.0.0.1于2015-12-15 09:31:04 -0800
ActionController :: RoutingError(No route匹配[GET]/service-worker.js):
显然有这个相同的问题,但通过重新安装操作系统(!)解决了这个问题。这不是我的选择。
根据 lsof
,还有其他一些其他进程正在运行端口3000:
命令PID类型节点名称
Google 49368 174u IPv4 TCP localhost:55612-> localhost: hbci(CLOSE_WAIT)
ruby 57985 17u IPv4 TCP *:hbci(LISTEN)
注意:
chrome:// flags /
中的内容已被重置为默认值
这个不请自来的过程是什么?
访问 点击取消注册按钮以取消注册违法者。 Google Web Starter Kit安装了一个服务工作者,在使用其本地开发服务器后可以继续运行。 此答案的所有信用转至 Jeff Posnick 。只是觉得这个问题应该有一个正式的答案,很容易找到,因为它在我遇到这个页面之前让我发疯了) The following error shows up in my Rails app logs and in my Chrome JavaScript console, but only on Chrome, and only when the app is running on localhost on port 3000: Apparently someone else has had this same problem, but solved it by reinstalling the OS (!). This isn't an option for me. According to Other things of note: What is this uninvited process? Visit Click the "Unregister" button to remove the registration of the offender. The Google Web Starter Kit installs a service worker that may continue running after using its local development server. ALL CREDIT for this answer goes to Jeff Posnick. Just thought this question should have a formal answer that's easy to find since it was driving me to madness before I came across this page :) 这篇关于Chrome服务工作进程在端口3000上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! chrome:// serviceworker-internals / b
Started GET "/service-worker.js" for 127.0.0.1 at 2015-12-15 09:31:04 -0800
ActionController::RoutingError (No route matches [GET] "/service-worker.js"):
lsof
, there is some other some other process running on port 3000:COMMAND PID FD TYPE NODE NAME
Google 49368 174u IPv4 TCP localhost:55612->localhost:hbci (CLOSE_WAIT)
ruby 57985 17u IPv4 TCP *:hbci (LISTEN)
chrome://flags/
has been reset to defaultchrome://serviceworker-internals/
to view a list of service workers.