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

401 Unathorized #41

Open
piratx opened this issue Aug 11, 2021 · 3 comments
Open

401 Unathorized #41

piratx opened this issue Aug 11, 2021 · 3 comments

Comments

@piratx
Copy link

piratx commented Aug 11, 2021

Hello, I have some hours now, trying to make this work on my seedbox.
I have tried YDCMD_TOKEN on my bashrc I have tried the original config file, I have tried the code manually etc.

I have --debug on my command and I have this as result
--> Retry 1/3: HTTP-401: Unauthorized

Please let me know if I need some extra step I am missing.

Thank you for the script :)

@abbat
Copy link
Owner

abbat commented Aug 11, 2021

Check your OAuth token correctly copy-pasted or/and try to obtain new token.

@piratx
Copy link
Author

piratx commented Aug 11, 2021

I have already tried that. I am always having passed the 3 tries... it never gets the upload done... the first try manages to upload ⅓ of the file the 2nd try ⅔ and then it gives me error
--> Retry 2/3: <urlopen error The write operation timed out>

--> File: hammer.pkg
--> Connected to uploader12o.disk.yandex.net:443 (TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256)
--> Upload: 98M/163M (98M/s)

and finally

<urlopen error The write operation timed out>

I've useed this to get it working:
ydcmd put --debug --progress --verbose --token=AQAAAABW853xxxxxxxxxxxxxxxxxxxxxx hammer.pkg

I have added the ENV VAR in my bashrc

like this #ydcmd YDCMD_TOKEN="AQAAAABW853xxxxxxxxxxxxxxxxxxxxxx"

or tried to have the ydcmd.cfg into ~/
both options wont work only by typing the full code with options like the first example here, made it move but never upload a file.

Thanks in advance!

@piratx
Copy link
Author

piratx commented Aug 11, 2021

Update:

Installed it on local Mac and it works great.
Seems that my seedbox provider is having the issue. I'll let you know :)

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

2 participants