Code Monkey home page Code Monkey logo

Comments (6)

phaticusthiccy avatar phaticusthiccy commented on July 18, 2024 1

A Remind for This Topic.
Are you still able to get this issue?

To @Huguitis

from whatsasenaduplicated.

phaticusthiccy avatar phaticusthiccy commented on July 18, 2024 1

Hello. Many people encounter the error in the photo you sent. Let me explain this.

A long time ago, WhatsApp made a system that can work without an internet connection. In short, multi-device support. While this update was very good for users, it turned into a nightmare for developers and API services.

We, the developers, want a system or server to work fast and stable, but the multi-device feature of whatsapp works very differently.

WhatsAsena uses web sockets to connect to whatsapp web. It does this with the Baileys framework.
Whatsapp API systems that were stable before have become experimental with this new feature. The version currently in use is really old, I have to rewrite about 50,000 lines of code to update it. Moreover, I need to convert the previously used NodeJS language to Typescript. New sockets unfortunately run very slowly in NodeJS programs.

I tested the new version locally and came to the conclusion that:

Pluses:

  • Sockets have really fast connections within themselves.
  • CommonJS module works with 100% performance.
  • Messages are transmitted instantly even when the mobile device is disabled.

Cons:

  • Sockets are refreshed every 10 seconds or every message.
  • After scanning the QR codes, the whatsapp connection must be closed in order for the sockets to remain open.
  • Installation time is very long for connections in opened sockets, it can take up to 20 minutes if you have a lot of chat bubbles
  • User ID uploaded to any server expires before a socket connection can be established.

Since WhatsAsena is an open-source project, the development stages may differ. I will not give any update for this in this case. As we said before, it's hard to tell the next update date. If you are looking for our alternatives, check out Nurutomo's original bot. Remember, except the bot I mentioned above and WhatsAsena, other projects you can find are 95% likely stolen.

Have a nice day

from whatsasenaduplicated.

phaticusthiccy avatar phaticusthiccy commented on July 18, 2024

Hi @Huguitis

This error can be caused by several things. Here are some of them:

  1. Wrong Session
  2. Unstable Connection
  3. Inactive WA Web Device

And the solutions to these errors:

  1. Please, check your ASENA_SESSION it must start with ASENA;;;
  2. Please, check your ethernet speed and connection.
  3. Please, check your WA Web devices. You must see Baileys. If you cannot see it, you should redeploy the WhatsAsena.

from whatsasenaduplicated.

github-actions avatar github-actions commented on July 18, 2024

This issue is stale Because it has been open 5 days with no activity. Remove the stale label or comment or this will be closed in 2 days

from whatsasenaduplicated.

david-lev avatar david-lev commented on July 18, 2024

I have the same problem.
Trying to scan the qr code in this link and getting this error:

image

from whatsasenaduplicated.

david-lev avatar david-lev commented on July 18, 2024

I suspected that these about linked devices .. Thanks for the detailed explanation and good luck!

from whatsasenaduplicated.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.