Comments (18)
I have the same issue
from ghunt.
Only time I had this error recently was when I was "connected" at multiple accounts on the same browser (you know, when you switch between accounts etc, Google makes you easily to switch between them), so I cleared cookies, re-tried and it worked.
Can someone who have this error try this ?
from ghunt.
@mxrch You're right. I removed the other gmail accounts leaving only one and it worked.
I might do a pull request soon to fix this. Thank you.
from ghunt.
Confirmed also for me, that having a browser with multiple accounts caused this issue. Switching to a browser with only one account attached to it resolved the issue for me.
from ghunt.
I start to get the issue too, so I can investigate
For a temporary workaround, go on https://accounts.google.com/robots.txt, clear your cookies and retry to login with the extension
from ghunt.
idem for me... :-(
from ghunt.
This is not an error of which I know how to reproduce 100% of the time, so it makes it difficult to fix.
from ghunt.
And hopefully, that's soon.
from ghunt.
I start to get the issue too, so I can investigate For a temporary workaround, go on https://accounts.google.com/robots.txt, clear your cookies and retry to login with the extension
Just get firefox or other browser, install the extension, login with google then use it. Simple as that and u don't have to login again on ur main browser !
from ghunt.
I start to get the issue too, so I can investigate For a temporary workaround, go on https://accounts.google.com/robots.txt, clear your cookies and retry to login with the extension
Just get firefox or other browser, install the extension, login with google then use it. Simple as that and u don't have to login again on ur main browser !
Ok thanks I will try it (joking I'm the developer)
from ghunt.
I was have same issue, use Firefox instead of Chrome helps me
from ghunt.
Likewise, it did in fact help.
from ghunt.
same, latest firefox
from ghunt.
Only time I had this error recently was when I was "connected" at multiple accounts on the same browser (you know, when you switch between accounts etc, Google makes you easily to switch between them), so I cleared cookies, re-tried and it worked. Can someone who have this error try this ?
bingo! worked here.
from ghunt.
I have a slightly different issue, and it's not related to where I obtain cookies. I'm using the Mozilla browser, and the cookies have been cleared. They are valid on the second server but not on the first one. I've tried various options, but the result is zero. Below, I'm providing information from the terminal. As you can see, it says, "The cookies seem valid" and "Got OAuth2 token." I've established a connection with the account, and I've received the name and email address. However, then some magic happens, and I end up with a KeyError: 'SIDCC.' What could be the cause?
Linux 6.1.42
Python 3.10.0
PS: The email address, account name, servers, and token mentioned below have been altered)
[+] The cookies seems valid !
[+] Got OAuth2 token => oauth2_4/0AfJohXn76B6brtOCpK6udfP7FL-Lxim0OL7oQTxX_KrtoI3UNrWNMc9aqDEP5Vyb_PHYtg
[Connected account]
Name : Sergo Danse
Email : [email protected]
🔑 A master token has been generated for your account and saved in the credentials file, please keep it safe as if it were your password, because it gives access to a lot of Google services, and with that, your personal
information.
Master token services access : mail, youtube, hist, cl
Generating OSIDs ...
Traceback (most recent call last):
File "/home/bond007/.local/bin/ghunt", line 8, in
sys.exit(main())
File "/home/bond007/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/ghunt.py", line 15, in main
parse_and_run()
File "/home/bond007/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/cli.py", line 31, in parse_and_run
process_args(args)
File "/home/bond007/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/cli.py", line 38, in process_args
trio.run(login.check_and_login, None, args.clean)
File "/home/bond007/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/trio/_core/_run.py", line 1946, in run
raise runner.main_task_outcome.error
File "/home/bond007/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/modules/login.py", line 90, in check_and_login
ghunt_creds.osids = await gen_osids(cookies, osids)
File "/home/bond007/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/ghunt/helpers/auth.py", line 77, in gen_osids
sample_cookies[cookie] = req.cookies[cookie]
File "/home/bond007/.local/pipx/venvs/ghunt/lib/python3.10/site-packages/httpx/_models.py", line 1144, in getitem
raise KeyError(name)
KeyError: 'SIDCC'
from ghunt.
Can confirm that this worked for me as well. Initially tried both ways, got invalid cookie error, clearing cookies generated a valid cookie!
from ghunt.
Related Issues (20)
- Cant install Ghunt HOT 1
- Having issues starting this up after install HOT 4
- Getting error
- gaia search not working HOT 1
- Sapisidhash & Clients6 endpoints HOT 3
- error with pipx install
- search youtube channel HOT 1
- Some organization email queries is causing KeyError: 'people' HOT 9
- is the firefox or chrome extention also open source? HOT 1
- Gaia ID not showing up in page source HOT 1
- Python Crash on Mac OS
- Error: httpx.ConnectTimeout
- Stuck when synchronizing Ghunt Companion HOT 2
- KeyError: 'people' when searching by email HOT 2
- Got a question HOT 2
- httpx.RemoteProtocolError
- Bug founded HOT 3
- bug when using email option HOT 3
- No OSID header detected, exiting - while trying to login HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghunt.