Google Colaboratory ServiceWorker Error On Chrome

后端 未结 3 1652
小鲜肉
小鲜肉 2021-01-17 16:06

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

NotSupportedError: Failed to register a ServiceWorker: The user denied p

相关标签:
3条回答
  • 2021-01-17 16:49

    Usually there are two causes for this error:

    1- you didn't allow cookies on colab domain, so you need to change you browser settings

    2- you are using an adblocker

    0 讨论(0)
  • 2021-01-17 16:55

    I tried white-listing in chrome link (chrome://settings/content/cookies) the following:

    https://[*.]googleusercontent.com:443
    [*.]colab.research.google.com
    

    Here it was the best approach, better than simply liberatin the 3rd part cookies Seems to work so on.

    0 讨论(0)
  • 2021-01-17 17:06

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

    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.

    0 讨论(0)
提交回复
热议问题