Chrome上的Google Colaboratory ServiceWorker错误 [英] Google Colaboratory ServiceWorker Error On Chrome

查看:74
本文介绍了Chrome上的Google Colaboratory ServiceWorker错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我打开合作文档时,我总是收到相同的错误消息:

Whenever I open a Colaboratory Document I always get the same error message:

NotSupportedError:无法注册ServiceWorker:用户拒绝了使用Service Worker的权限.

NotSupportedError: Failed to register a ServiceWorker: The user denied permission to use Service Worker.

这是在chrome上发生的,我的浏览器允许使用ServiceWorkers(chrome://serviceworker-internals/),这是怎么回事?因为问题是所有代码仍在运行.

This is happening on chrome and my browser allows for ServiceWorkers (chrome://serviceworker-internals/), what's going on? Because the thing is all the code still runs.

推荐答案

Colab的输出框架使用服务程序来支持某些功能,例如显示更丰富的图形(Altair和Plot.ly).

Colab's output frames use service workers to support some functionality such as displaying richer graphs (Altair and Plot.ly).

错误消息表明您的浏览器中禁用了第三方Cookie ,这将阻止浏览器服务工作者正常工作.该选项应在chrome://settings/content/cookies下进行配置.

The error message indicates that third-party cookies are disabled in your browser, this will prevent the browser service workers from working. The option should be configured under chrome://settings/content/cookies.

这篇关于Chrome上的Google Colaboratory ServiceWorker错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆