Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Error 403 in Google Colab with Tensorboard with Firefox

I have a tfevent file already present on my Drive and I have successfully connected it to Google Colab. After searching within the issues of Tensorboard Github, I found that I had to set dom.serviceWorkers.enabled to True which I have done. But on Google Colab after performing the two steps:

  1. %load_ext tensorboard
  2. %tensorboard --logdir path/to/logs

I am getting a Error 403 on the second step cell:Error 403: google colab

I am using Firefox version 81.0.1 (64-bit) and my default mode is Private Window, so history and cache are cleared after I close all browser window.

Can someone help me with this?

like image 672
CagesThrottleUs Avatar asked Oct 06 '20 03:10

CagesThrottleUs


2 Answers

It seems that Tensorboard needs you to enable third party cookies to run without returning a HTTP 403 (Forbidden) error.

I had the same issue using Chrome and fixed it by just allowing everything:

screenshot cookies chrome

You can do the same on Firefox like so:

screenshot firefox tracking protection

You could also find out which exact cookie is needed and then just allow that one.

like image 197
themenace Avatar answered Oct 18 '22 04:10

themenace


For me, it worked on Firefox deactivating the Enhanced Tracking Protection.

enter image description here

like image 7
Rafael Toledo Avatar answered Oct 18 '22 04:10

Rafael Toledo