tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.09k stars 2.23k forks source link

some time i receive error Login Failed, reason: 402 #3204

Open magnussolution opened 1 year ago

magnussolution commented 1 year ago

hello everyone. I sometime I receive error 402, after wait 1 or 2 hours it back working again without do anything, after 1 or 2 hours back to error 402 again.

Someone have a solution to it? or it is normal?

Best regards

D 2023-05-16 16:09:42,561 yowsup.layers.network.layer - Created asyncore dispatcher I 2023-05-16 16:09:42,561 yowsup.layers.network.layer - Connecting to g.whatsapp.net:443 D 2023-05-16 16:09:42,561 yowsup.layers.network.dispatcher.dispatcher_asyncore - connect(('g.whatsapp.net', 443)) D 2023-05-16 16:09:42,565 yowsup.layers.network.dispatcher.dispatcher_asyncore - handle_connect D 2023-05-16 16:09:42,566 yowsup.layers.network.layer - Connected D 2023-05-16 16:09:42,566 yowsup.axolotl.factory - get_manager(profile_name=5493425938556, username=5493425938556) D 2023-05-16 16:09:42,567 yowsup.axolotl.manager - Initialized AxolotlManager [username=5493425938556, db=/root/.config/yowsup/5493425938556/axolotl.db] D 2023-05-16 16:09:42,567 yowsup.axolotl.manager - level_prekeys(force=False) D 2023-05-16 16:09:42,571 yowsup.axolotl.manager - len(pending_prekeys) = 788 D 2023-05-16 16:09:42,571 yowsup.axolotl.manager - load_unsent_prekeys D 2023-05-16 16:09:42,571 yowsup.layers.noise.layer - Received auth event D 2023-05-16 16:09:42,572 yowsup.env.env - Env not set, setting it to android D 2023-05-16 16:09:42,572 yowsup.env.env - Current env changed to android D 2023-05-16 16:09:42,572 yowsup.layers.noise.layer - Performing handshake [username= 5493425938556, passive=False] D 2023-05-16 16:09:42,572 yowsup.layers.noise.layer - Starting handshake worker D 2023-05-16 16:09:42,750 yowsup.profile.profile - write_config for 5493425938556 D 2023-05-16 16:09:42,750 yowsup.common.tools - writeProfileData(profile_name=5493425938556, name=config.json, val=[omitted]) D 2023-05-16 16:09:42,751 yowsup.common.tools - Writing /root/.config/yowsup/5493425938556/config.json D 2023-05-16 16:09:42,751 yowsup.layers.logger.layer - rx:

general: Login Failed, reason: 402

is99zsq commented 1 year ago

402 is the temporary ban code