Open Adelabdelaziz opened 10 years ago
When i open bug
tx
rx
rx stream:features/stream:features
rx
tx
Even i am experiencing the same.
You are blocked or login in with wrong data.
I experiance same on many valid accounts: all of my accounts are used on different servers and different client are blocked about exactly 4 hours ago. I have received this error from whats app servers:
19:37:34, SENT: stream:features>/stream:features> 19:37:34, SENT: auth passive="false" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" m echanism="WAUTH-2" user="==i removed my number==">/auth> 19:37:35, RECVD: start from="s.whatsapp.net">/start> 19:37:36, RECVD: stream:features>/stream:features 19:37:36, RECVD:challenge>"6K?↓(5??F??"7a♫)? 19:37:37, SENT: response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">?\????Dj+→?\? ?/response>I??8h 19:37:38, RECVD: failure> 19:37:38, RECVD: not-authorized>/not-authorized> 19:37:38, RECVD: /failure>
Any ideas?
Instead of multiple comments, edit the first one and update it. Your number is blocked.
I have 3 unused numbers that can't be blocked (cos i don't use them about 3 month), i tried to connect them and they are failed too. I tried chage ip addr and nothing changes.
I know where the problem is. By now you cant access the service. Will update soon (its happening for all of us)
Oughhh, you really encourage me. :)
If you take my latest pull request, will work. You will need to generate a new password or register a new number, but it will work.
Regards.
Ok. I'll make same chages to my code and test it after few hour's. I reviewd your pull request it's version and token changes only. Thank you for your great work.
Any body know how to regenerate password for new version knowing password for old version? How original app doing this?
If you have identity and number, request code. You will get a new password
What you mean "identity"? Pin code that sent to me by sms?
Ok. I have tried to register new number - all is ok. Now i'm trying to generate new passwords for old accounts. Please, tell me what you mean "identity"?
Identity its a string like this: %19%40%17%9ed%cdv..... associated to your number when registering the number.
If you set this:
<?php
require_once('../src/whatsprot.class.php');
$debug = true;
$username = ''; // Your number with country code
$identity = '%f6%3c%da%.....'; // Your identity
$nickname = 'WhatsAPI'; // This is the username displayed by WhatsApp clients.
// Create a instance of WhastPort.
$w = new WhatsProt($username, $identity, $nickname, $debug);
$w->codeRequest('sms');
Output will be a new password for your number.
Regards.
Thank you for your answer. I'll try to do this for my old numbers.
I'm having the same problem
tx stream:features/stream:features
tx
my number is blocked? not used to span has only responded when receiving a message, and only about 20 times.
Thank you for your help.
@domingopa read whole issue, answer is here
@domingopa obtain new password and work with a new one.
@teleavtomatika I followed the steps above. using wart tells me blocked. Not to do. Thank you for your help
Why i am not affected? My Client works like a charm :) but for caution i have updated the two files with the new strings...
@domingopa use latest token, user agent and version from the latest pull request i made or in my website here Once you have the latest data, try generating a new password using identity (thats why you need the latest token). If that doesnt work you will need another number to register and now it will work fine for you.
@dennobaby lets say WhatsApp supports for example 10 versions, when i new one comes out, the oldest become outdated and no longer supported. So if someone is using and unsupported version it will be blocked. Thats what i think at this moment. Anyway seems that now its working fine.
Hi @mgp25 i have one question and one remark that might require attention, Remark : Latest Whatsapp version from their website while downloading shows build : WhatsApp/2.11.609 for nokia and WhatsApp/2.11.8 for iphone.
Question: I tried your new pull modifications (build .378) registering a new number (WART) But got blocked after sending the first message as the users above, and giving that my client is still working well using the old configuration and version (Also was registered through WART so i don't have ID to request a new password) , what should be the steps i should do now to avoid getting the number blocked?
Thanks & Appreciated,
@Osmanbakri im not using nokia or iphone releases. Im using android ones the one showing in Play Store..
Did you updated WART with the latest data? Also you need to update your whatsprot.class when you want to login, changing version and user agent. If you spam or send bulk messages you will get blocked anyway. Im not going to tell how to avoid blocking, the main reason is i dont want people to spam. If people doesnt send spam they dont get blocked. I am using a number from last year and still running, so no.
In the WhatsAPINet repo, check the buildIdentity or generateIdentity function, from there you can make a utility or something.
@mgp25 What you consider spam? To send a message only to the numbers that we have in your contacts and only after receiving a message from them is considered spam? Thanks for your work
@domingopa if you use the latest pull request i made, it should work fine for you. Spam is considered when sending messages to random/semi random users, also is considered spam sending huge amount of messages in a short period of time. You can send 10000 messages to yourself and whatsapp will block you, is not spam but you are abusing the system.
Anyway, with the latest data everything is working fine.
Regards.
@mgp25 Thank you very much for your answer. Never sending messages randomly, only numbers from which I received a message (straight from the box). The message number was 20 for 1 hour. And the number was updated and the last update. I have 4 other numbers working ok with enterior version without problems. greetings
I have the same problem but only when I use the linux server, on windows server it doesn't happens. Why ?
Thats shouldn`t be a problem, make sure you have the same source in both server, it should work the same.
With latest pull requests from mpg25, I request a new code with
$w->codeRequest('sms')
and get
[status] => fail
[reason] => blocked
I suppose the reason why my number is blocked is the whatsapp version update. Since all my users have already register that number, is it possible to unblock the number?
Blocks are usually temporal, maybe hours, days, weeks, or months. So you can try requesting Code with your identity and if it retrieve a password then is unblocked. Unfortunately you will have to wait. You can try with other numbers (not blocked) will work fine.
It's the same source but the linux server is on EUA, and windows is on BRASIL. it can be a problem ?
In theory shouldnt be any problem, maybe the "no_routes" problem, fix is coming soon. Try to register other numbers as the one you try is already blocked.
Hi @mgp25 , Android version in whatsapp website is : Version 2.11.380 what will happen if we updated the code and version with the latest pull , but didn't re-register the number . will it work fine?
blocked is blocked. you have to email wa and explain them you are using this API. hope you luck!
Its because it was already blocked, try with new numbers using latest token. Yes, blocks are temporal
Maybe your number was already blocked. With latest is working fine. Block is temporal
my number is not blocked , the version is updated in the store, from reading the issues i can see others getting blocked after updating the version. my concerns are below:
1) what will happen if i didn't update the version and kept sending? 2) if update is required , changing to recent pull modifications, is re-registering required?
@mgp25 Today I am not getting the codes when registering, using the 2.11.378 token & useragent version in whatsapi
@Osmanbakri people were blocked because of the spam and outdated versions. Also ip are been blocked
@Gitstepn thats because of the token generation and the way api do it. I have a fix. Ill do some request via skype i can send code request without problems. Not sharing the method because of many spammers in this repo. If you need to register a number i can send you a code request for you (sms or voice) both works. You can contact with me via mail
Hi guys,
I am using whatsapp app oficial
I used it one week everything was going good but today when i try to log in it is only connected but the login failur
please explain the raeson and how can i solve this problem
@Davit21 ask it in WhatsAPI Official
Regards
@Davit21 and remember to post debug log
I WROTE TO YOU https://github.com/mgp25/WhatsAPI-Official/issues/398
After get PW i am try login but Display this error ?? Fatal error: Uncaught exception 'Exception' with message 'Login Failure' in /home/whatsapp/public_html/Test/src/whatsprot.class.php:1641 Stack trace: #0 /home/whatsapp/public_html/Test/src/whatsprot.class.php(475): WhatsProt->doLogin() #1 /home/whatsapp/public_html/Test/examples/exampleFunctional.php(70): WhatsProt->loginWithPassword('UaJ**...') #2 {main} thrown in /home/whatsapp/public_html/Test/src/whatsprot.class.php on line 1641