tensorboard: Error when trying to start Tensorboard in Colab

I’m trying to start Tensorboard in Google Colab, by running the basic tutorial. Unfortunately, running this tutorial on my Macbook Pro in Google Chrome only gives me the message “403. That’s an error. That’s all we know”. It happens when running %tensorboard --logdir logs. After re-running this command, I still get the 403 error together with the message "Reusing TensorBoard on port 6006 (pid 228), started 0:00:07 ago. (Use '!kill 228' to kill it.)".

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Figured it out. It had to do with third-party cookies that are disabled in my Google Chrome settings. I went to chrome://settings/content/cookies and had to unable the “block indirect cookies” setting.

However, what’s weird is that I cannot enable this setting and put colab.research.google.com on the list of websites which are allowed to have cookies. Shouldn’t this work?

Small note for Brave browser users: Similar issue to Google Chrome as the browser will block required functionality by default. Turn shields off and it should work

Hi @rjtp5670. For the latest problems of TensorBoard running in Colab in Chrome, the Colab team have been investigating. We expect them to comment here with updates:

https://github.com/googlecolab/colabtools/issues/3990

Make sure third party cookies are allowed.

Fascinating. Thanks for sharing that.

Does putting googleusercontent.com on the list help? The ServiceWorker uses that URL.