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

Max retries exceeded. Maybe a bad cookie jar at 'cookies/autogenesis.jar'? Try deleting it! #7

Open
sla-te opened this issue Aug 13, 2021 · 5 comments

Comments

@sla-te
Copy link

sla-te commented Aug 13, 2021

Loading my own profile..
Invalid json result. Re-trying..
Invalid json result. Re-trying..
Invalid json result. Re-trying..
Invalid json result. Re-trying..
Max retries exceeded. Maybe a bad cookie jar at 'cookies/autogenesis.jar'? Try deleting it!

###
### BEGIN: configuration
###

# slack related variables
team_name="myworkspace"
team_id="TPHBDFSD"

cookie="copied_from_browser"

ims_ignored=""
mpims_ignored=""
channels_ignored=""

# local preferences
USER_AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0"
MAX_THREADS=5 # number of jobs to run at the same time
SKIP_ARCHIVED_CHANNELS=1 # whether to skip archived channels
SYNC_INCREMENTAL=0 # whether to do a full sync or just incremental one. default: 0

# these don't need to be changed
x_version_ts=$(date +%s)
x_id=$(echo $x_version_ts | md5sum | cut -c -8)

###
### END: configuration
###

Tried deleting the cookie file but can't get it to work.

@arpitBhalla
Copy link

arpitBhalla commented Mar 6, 2022

Search for api/client.boot in Network Devtool and copy cookie and token from there

@datayja
Copy link

datayja commented Mar 22, 2022

I’ve used cookie and token from the api/client.boot and it still caused the same error.

@zu2
Copy link

zu2 commented Jul 19, 2022

I had same problem on M1 Macbook Monterey 12.4.

@ArneZsng
Copy link

ArneZsng commented Aug 8, 2022

Did you wrap token and cookie in ""?

Also, remove the folders cookie before retrying.

@davidvasandani
Copy link

davidvasandani commented Jan 26, 2023

Here's how I got it working:

export cookie
cookie='b=.#x####x#x#####x###x#x######x##xx; d=xoxd-XXxxXXXXXxX#xXXXxxxXXxxXxX%#XXxXXXXxxxxxXXxXxxxxxxXXXxxxXXxxXxXx#XX#xxXxXxx##%#X%#XxxX%#XxxX#xX%#X%#XxXxXxxXXxxXXxxXX%#XXXx#xXxXXXXxXxxxxxxXx#Xxx##XXxxx##xXXx#XxxXx#XXxX##XXx#X%#XxXxXXxxXxxX#XXxxXXX%#X%#X;'
export token
token='xoxc-##########-############-#############-x########xx##xxx####x#x##x##x#x##xxxx##########x#x#xx#xx##x#xxx#'

NOTE: xoxd- and xoxc- do not match. It took me a while to notice these are different strings all together 🤦🏻

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

6 participants