danielcardeenas / sulla

👩🏻‍🔬 Javascript Whatsapp api library for chatbots
MIT License
1.26k stars 272 forks source link

Cannot establish connection #711

Closed parzival-hub closed 11 months ago

parzival-hub commented 11 months ago

Using the minimal example:

const sulla = require('sulla');

sulla.create().then((client) => start(client));

function start(client) { client.onMessage((message) => { if (message.body === 'Hi') { client.sendText(message.from, '👋 Hello from sulla!'); } }); }

After scanning the qr-code my whatsapp shows the connection, but the bot can not establish a connection and keeps loading at "Authenticate to continue".