Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the xterm launches into a "Google 403. That's an error" window #8

Open
prikarsartam opened this issue Oct 6, 2022 · 9 comments
Open

Comments

@prikarsartam
Copy link

the minimal commands to invoke xterm gives errors as follows

image

@gblpedia
Copy link

gblpedia commented Oct 7, 2022

Hi @prikarsartam

The error is not able to be produced in our demo colab at this point of time.

Do you mind trying it again to see if the error remains?
If so, pls provide some detail, such as what other installed pip packages are.

Thanks

@gblpedia
Copy link

gblpedia commented Oct 7, 2022

HI @prikarsartam

Certain ad-blocks extension could lead this kinda of error. You may try it again after disabling extensions.
Here is the finding by other users.

@fenopa
Copy link

fenopa commented Nov 30, 2022

I'm getting this error always, even with your demo colab. I tried with all extensions disabled including adblocker, still getting this error. I'm using Firefox.

@fenopa
Copy link

fenopa commented Dec 15, 2022

I'm getting this error always, even with your demo colab. I tried with all extensions disabled including adblocker, still getting this error. I'm using Firefox.

OK I found the issue, it doesn't work on Firefox's "Private Window" because Service Workers are disabled in Firefox Private Windows.

Also, third-party cookies should be enabled for it to work: https://research.google.com/colaboratory/faq.html#third-party-cookies

@Dmitry1987
Copy link

In my case it was Bitdefender antivirus plugin in Chrome blocking cookies even after enabled in Chrome settings 😅 . Same in Brave, the shields and the BD shields were both blocking it until turned off. And then it worked

@J4e6eR
Copy link

J4e6eR commented Sep 8, 2023

@prikarsartam I have employed reasonable amount of time on this and encountered a way to make it work!!
I hope this won't waste yours's time or anyone who encounters it from here on.
The issue arises when we try to launch xterm with magic keyword.
Instead we should try to load this with the help of a small python script.
I guess this solves the issue.

# These 2 lines allow te start of ngrok asynchronously. If you want information regarding it do let me know

# from ngrok_ import async_tasks
# async_tasks()

# Installation of colabxterm by !pip install colab-xterm
from colabxterm import notebook

# This would start off a local server on VM which should be tunneled through ngrok to access it in your browser tab
notebook._xterm_magic('')

image

@neeraj15022001
Copy link

Screenshot 2023-09-22 at 5 37 35 PM

receiving 403 when using colab-xterm

@kirmola
Copy link

kirmola commented Dec 7, 2023

I have tested and verified. Adblocker is indeed causing the issue, even there are only 2 tracking scripts. just disable adblocker and 403 would go away. I tested it and now is working. I am using brave browser btw.

@kirmola
Copy link

kirmola commented Dec 7, 2023

You may close the issue now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants