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

Authentication Error: not-authorized #1636

Closed
josep112 opened this issue Jun 7, 2016 · 18 comments
Closed

Authentication Error: not-authorized #1636

josep112 opened this issue Jun 7, 2016 · 18 comments

Comments

@josep112
Copy link

josep112 commented Jun 7, 2016

Hello,
I am using the following line in cli to send:
./yowsup-cli demos -c / usr / src / yowsup-master / config -s "55179XXXXXXX" "OK"

The problem is that after a few messages I get the message Authentication Error: not-authorized and the chip is locked, any idea what can be?

@jlguardi
Copy link
Collaborator

jlguardi commented Jun 7, 2016

You need to generate your keys before sending any message.

Use "yowsup-cli ‎demos -y"‎ and type "/L" for first login and wait until reboot.

@josep112
Copy link
Author

josep112 commented Jun 7, 2016

I will be the keys, did this procedure, this happens after sending some messages

@schoerg
Copy link

schoerg commented Jun 8, 2016

Don't send messages to people who are not in your contact list and vice versa.

@josep112
Copy link
Author

josep112 commented Jun 8, 2016

It is possible to test whether the phone is in your contact list before sending the message?

@josep112
Copy link
Author

josep112 commented Jun 8, 2016

I use Whatsapp to send information from an automation system, the problem is that the message is always the same what are the steps to occur not blocking the number?

@thundergreen
Copy link

Use xmpp

Thorsten Fröhlich
Am 08.06.2016 13:19 schrieb "José Antonio" notifications@github.com:

I use Whatsapp to send information from an automation system, the problem
is that the message is always the same what are the steps to occur not
blocking the number?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1636 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AMtAfxt9vh3qs39BIU6grUbJE7BXlsEyks5qJqUmgaJpZM4Iv0LF
.

@josep112
Copy link
Author

josep112 commented Jun 8, 2016

Thank you, such as sending XMPP?

@jlguardi
Copy link
Collaborator

jlguardi commented Jun 8, 2016

Every encrypted message differs from the previous ones so, it shouldn't be a problem.

@josep112
Copy link
Author

josep112 commented Jun 8, 2016

Olá jlguardi,
It is possible in yowsup-cli already encrypted? Have any examples?

@schoerg
Copy link

schoerg commented Jun 8, 2016

It is encrypted by default. -M is the switch for UNencrypted messages.

@josep112
Copy link
Author

josep112 commented Jun 8, 2016

No success yet.
I am sending my messages with the command:
./yowsup-cli demos -c config -s "55179XXXXXXXX" "Message ok"
but I number is blocked mainly seemed that not by quantity but by message time after a 1-hour it is blocked. I put the number in the phone book that will receive and still blocks, any idea how to solve this?

@jlguardi
Copy link
Collaborator

jlguardi commented Jun 8, 2016

Don't use -s command but -y to be sure about correct acks, keys or other packages management.

@josep112
Copy link
Author

josep112 commented Jun 8, 2016

Hi Jiguardi,
With If the error below:

./yowsup-cli demos -c ./config -y "55179XXXXXXXX" "Message ok"
usage: demos [-h] [-v] [-d] [--help-config] [-l phone:b64password | -c CONFIG]
[-E {android,s40}] [-M] [-y] [-e] [-s phone message]
[-S contacts]
demos: error: unrecognized arguments: 55179XXXXXXX Message ok

@josep112
Copy link
Author

josep112 commented Jun 9, 2016

Hi
I looked all over google and not found the option -y my numbers CONTINUED blocking someone has some light?

@schoerg
Copy link

schoerg commented Jun 9, 2016

Command line interface demo:
-y, --yowsup Start the Yowsup command line client

@josep112
Copy link
Author

josep112 commented Jun 9, 2016

sorry ignorance but how do it?

@schoerg
Copy link

schoerg commented Jun 9, 2016

./yowsup-cli demos -y -l phone:pwd

Also second answer from the top.

@jlguardi
Copy link
Collaborator

I error persists, open a new issue.

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

4 participants