devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
813 stars 248 forks source link

[BUG][WEBJS] - QR scan issue #330

Closed RAKESHSUVIDYA closed 1 month ago

RAKESHSUVIDYA commented 1 month ago

Describe the bug

QR regenerating when I try to scan qr

Version "2024.5.6",

Environment: {
  version: '2024.5.6',
  engine: 'WEBJS',
  tier: 'PLUS',
  browser: '/usr/bin/chromium'
}

To Reproduce Steps to reproduce the behavior:

  1. I started session
  2. Generate qr

Expected behavior

QR should not change. When I try to scan.

Requests - Responses

Regenerating qr

Docker Logs

[Nest] 30 - 05/13/2024, 10:37:50 AM LOG [NestFactory] Starting Nest application... [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [InstanceLoader] PassportModule dependencies initialized +32ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [InstanceLoader] TerminusModule dependencies initialized +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [SessionManager] Using local storage for session info. [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [Storage] Directory '/tmp/whatsapp-files' created from scratch [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [InstanceLoader] ServeStaticModule dependencies initialized +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [InstanceLoader] AppModulePlus dependencies initialized +1ms Please set up both WHATSAPP_SWAGGER_USERNAME and WHATSAPP_SWAGGER_PASSWORD to enable swagger authentication. [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] AuthController {/api/:session/auth}: +73ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/auth/qr, GET} route +3ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/auth/request-code, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/auth/authorize-code, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, GET} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] SessionsController {/api/sessions}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sessions/start, POST} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sessions/stop, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sessions/logout, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sessions, GET} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sessions/:session, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] SessionController {/api/sessions/:session}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sessions/:session/me, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] ChattingController {/api}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/checkNumberStatus, GET} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendContactVcard, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendText, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendText, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendPoll, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendLocation, POST} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendLinkPreview, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendImage, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendFile, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendVoice, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendVideo, POST} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/reply, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/sendSeen, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/startTyping, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/stopTyping, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/reaction, PUT} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/star, PUT} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/messages, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] ChatsController {/api/:session/chats}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/chats, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId, DELETE} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, DELETE} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, DELETE} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, PUT} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] StatusController {/api/:session/status}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/status/text, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/status/image, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/status/voice, POST} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/status/video, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] ContactsController {/api/contacts}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/contacts, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/contacts/all, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/contacts/check-exists, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/contacts/about, GET} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/contacts/profile-picture, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/contacts/block, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/contacts/unblock, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] GroupsController {/api/:session/groups}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, GET} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, PUT} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, PUT} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, DELETE} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/leave, POST} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/description, PUT} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/subject, PUT} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code/revoke, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/add, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/remove, POST} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/promote, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/demote, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] PresenceController {/api/:session/presence}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/presence, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/presence, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId, GET} route +1ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId/subscribe, POST} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] ScreenshotController {/api}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/screenshot, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] VersionController {/api/version}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/api/version, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RoutesResolver] HealthController {/health}: +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [RouterExplorer] Mapped {/health, GET} route +0ms [Nest] 30 - 05/13/2024, 10:37:50 AM LOG [NestApplication] Nest application successfully started +4ms WhatsApp HTTP API is running on: http://[::1]:3000 Environment: { version: '2024.5.6', engine: 'WEBJS', tier: 'PLUS', browser: '/usr/bin/chromium' } [Nest] 30 - 05/13/2024, 10:38:54 AM LOG [SessionManager] 'rakesh' - starting session... [Nest] 30 - 05/13/2024, 10:38:54 AM LOG [Webhook - rakesh] Configuring webhooks for https://httpbin.org/post... [Nest] 30 - 05/13/2024, 10:38:54 AM LOG [Webhook - rakesh] Event 'session.status' is enabled for url: https://httpbin.org/post [Nest] 30 - 05/13/2024, 10:38:54 AM LOG [Webhook - rakesh] Webhooks were configured for https://httpbin.org/post. [Nest] 30 - 05/13/2024, 10:38:54 AM LOG [Webhook - rakesh] Event 'message' is enabled for url: https://httpbin.org/post [Nest] 30 - 05/13/2024, 10:38:54 AM LOG [Webhook - rakesh] Sending POST to https://httpbin.org/post... [Nest] 30 - 05/13/2024, 10:38:55 AM LOG [Webhook - rakesh] POST request was sent with status code: 200 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀ ▀▀ █ ▀ ▄▄▄▀▄▄▄▀ ▀ ▄▀▄▄ █ █ ▀██ ▄▄▄▄▄ █ █ █ █ █▄▀ ▀█▄▄▀ ▄████▄█ ▀▀█▄███▀▄█▄ █ █▄▀▄▀█ █ █ █ █ █▄▄▄█ █ █▄█▄█ █▄ █ ▄▄█ ▄▄▄ ▄▄█▀ ▀▀▄█▄▄▀ ███ █▄▄▄█ █ █▄▄▄▄▄▄▄█ █▄▀ █ █ █ █▄▀▄▀ █▄█ █ █ █ █▄█ █▄▀▄█ █▄▄▄▄▄▄▄█ █ ▀ █▀▄ ▀█ ██ ▄█ ▀▄ ▄ ▄▄ ▄▄ ▄▄█▄███▀▄▄██ █████▄ ▄█▄ ██ █ ▄▀█ ▄██▀███▄██ ▄ ▄▀▄▄█▀▀▄▀█ ▄ █▄▀█ █▀ █ ▀▀▀ █▀█▀▄▀█ █▀ ▄▄█▄ ▄█▄ █▀ ▄▀█ ▄ ▄▄▀▀ ▄ ▀ ▄ ▀█ █▄▀█▀▀ ▄ ▄█▄█ █▄▀▀ ▄▀▄▄ ▀█▀██▄▄ ▀█▄ █▄█ ▀█▄█ █ ▄██▀▀ ▄█▄▀█▄█▄█ █ ██▀▀█▀ ▄▄ █ ▀▄ █▄▄█▀ ▀ ▀ █▄▄█▄▄█ ▄▄▀▄▀ ▄▄ █▄▄▄ ▀▄ █ ██▀▀▀ █▄██ ▄▀▀▄▄ █▄▄▄▀▄▄▄ ▄ ▄ ▀█▄▄ ▄▄▄▀█▄▀▄█ █▀ ▀▀▄█▄█ █ ▄ ▄ ▀█▀▀█ ███▄ ▄█▄▄█▄▀ █▀▄▄▄▀▄██▄██ ▄█▄▄█▄▀▄█▄ ██ █▄▄▀█ ▀▄ █▄▄ ▀█▄█▄▄▀▀▀ ▄█▄▀▀▀▀▄▄█▀▀▀▀▀▀▄██▀▄▄█▀▄█▄ ▀█ █ ▄▀ ▄▄▄ ▀ █▄██▄ ▄ █ ▄ ▄▄▄ ▄█▄ ▄ █▄▄▄█ ▄▄▄ █ ▄█ █ ▄██ █▄█ ▄▀▀▀▀▄█▀▀ ▀▀▀▄█ █▄█ ▄▄ ▄ █▀ ▀▀ █▄█▀ █▄█ ▄█▀▄█ █▄██▄ ▄ ▄ ▄ █▄▄▄▄▄▀▀▄▀█ ▄▄▀▄ █ █ ████▄ ▄ ▄ ▀▀▀█ █▄ ▀▀▀▄▀ ▄▄ ▄▀▄▀▄███▀▀███ ▀█ ▀▀▄▄ ▀▀▄██ █▄▀ █▄▄▀ █▄ █ ██▄ ▀▀▄██ ▄████ ▄▄ ▄▄▄▄██▄▀██ █ ▀▄██▄▄▄▄ ▄▄█ ██ ██▄ ▄█ █ █ ██▄▄▀ ▀ ██ █ █ ▀▄▀█▀▀▀ ██ ▀ ▄▀ ▀ ▄█ █▄▄█▄ ▀ ▄▀ ▀█ █ █ ▀█▄ ▀▀ █ ▄ ▄ ▄█ ▄▄▄ █▄▄▄ █▄▄█▄▀ ▀▀▀█▀ ▀▄█ █▄▀ ▄ ▄▀▄█ █▀ ▄████▀ ▄▀ █▄███▄ █▀▄ ▀ ▄ ▄▀▀▄ ▄█ ▄█ ███▀▄█▄▄▀ ▄ ▄▀▀█▀█ █▀ ▀ ▀▀ ▄█ ██ ▄█ ▄▀▀ █▀█▄▀█ ▄█ █▄▀█ █▄ ▀▄▄▄▄▀ ▀▀ ▀▄███ ▄ ▄██▄▀██▀ ██▀▀▄█▄ █▄▄█ ▀ ▄ ▄█▄█ ████▄██▄▄ ▀▄ █▀ ███ █▄ ▀ ▄▄▄ █▄███▄▀▄██▄ █▄█ ▄▄▄ ▀▀███ █ ▄▄▄▄▄ █▄ ▄▄█▄▀ ▀▄███▄ ▄ █▄█ █▀██▀ ▀█ █▄▀▄▄▄ █▄█ █ ▀█ █ █ █ █▀▀▄▄▀▀ ▀ █ ▀▄█▄█ ▄▄▄ ██▄ ▄ ▄▄▀▄ ██ ▄ ▄▄ █▄ █ █ █▄▄▄█ █▀ ▄ ▀▀▀ ▄▄ ▀▀██▀█▀ ▄▀▄██ ▄▄ ▀▀█▀█ ▀███▄██ ██ █▄▄▄▄▄▄▄█▄█████▄▄█▄▄▄█▄█▄▄██▄█▄█▄▄▄▄▄▄██▄█▄▄▄██▄▄▄█▄▄██

[Nest] 30 - 05/13/2024, 10:39:01 AM LOG [Webhook - rakesh] Sending POST to https://httpbin.org/post... [Nest] 30 - 05/13/2024, 10:39:01 AM LOG [Webhook - rakesh] POST request was sent with status code: 200 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ █ ▄▄▄▄▄ █▀▄ ▀ ▀▄█ ▄█ ▄ ▄██ ▀▄▄ ▀███▀▄█ ▄▄▄▄▄ █ █ █ █ █▄████▀▄▀ ▄▄█ ▄█▄▀ ▄▄ █ ▄██ ▀█ █ █ █ █ █▄▄▄█ █ ▀▄▀██ ▀█ ▄▄▄ ▀ ▀▄▄▀▄▄▄▄▄█ █▄▄▄█ █ █▄▄▄▄▄▄▄█ ▀▄▀▄█ ▀ ▀▄█ █▄█ █ ▀ ▀▄█▄█ ▀ █▄▄▄▄▄▄▄█ █ ▄█ ▀▀▄▄▀█▄█▄ ▄ ██ ▄▄▄ █▄ ▄██▄▀█▄▄██▄ ▄▀ ▀█ █▄ ▀ ▄▄▄ ▀▄▄▄ █▀▀██▀█▄ ▄█▀ ▀ ▄▀ ▀ ▀▀█ ▀▀▄▀ █ █▄▀▄▀ █▄ ▄▀▀ ▄▄█ ▄ █ ▀▄ ▄ ▄ ▄█ █ ▄▄▄▄█▄▄█ █ ▄▄▀█▄▄▀▀▀ ▀ ██▀ ▄▄█▄▄█▀▄▄█ ▀ ▀▀▄▀▀▀▄ ▀█ █▄ ▀█ █▄▀ ▀██▄▄▄▄ ▀▀▄ ▀▄ ▄ ▀ ▀ ▄▀▄▀ ▄▀▄▀▄▀█▄ ▀██▀ ██ █▀▀▄██ ▄█ ▄█ ▀ █▄▄█▀▀▄▄ █▄▄ ▀▀█▀▄▄▄▀ ██▄█▄▄▄ █ █ ▄█▄ ▄▄▄ ▄▄█▀▄█▄█▀ ▀ ▄▄▄ █▄ ▀█▄▀ █ ▄▄▄ ▄█▄ █ █ ▄▀▀ █▄█ █▄█▀█ ▀██▄ █▄█ ▄▀▀▀▄██▄ ▄▄ █▄█ ▀█▀ █ █▄ ▄▄ ▄█ ▄▄█ ▀█ ▀ ▄▀▄▄▄▄▄▀▄▄▀▄ ▄ █▀▄ █ ███▄▀▀█▄▄▄█▄▀▄██ ▀▀▀▀▀█▄█ █ ▄██▄ ▄ ▄█████▄██ █▄▄▀▀ █▄▀▄▄▀ █▀ █▄ ▄█▀ ▀ █▀▀ ▀ ▄█▄ █▀▀ ▄▀▄▄ █▄█ █▄▀▄▄▄▀▄ ▄ ██▀▄▄ ▀▄▀▀ ▄▄▀█▀█▀▀▄▄▀▀▄█ ▄█ ▄▄▀▄█ ██▀ ▀ ▄ █▄█▄ ███▄▀▄▄█▄▄█▄▄█ ▄▄▄ ▀█▄ █▄▄▄█▄ █ ██▀▀▀ █▄█▀▀ ▀▀█▄██▀ █▀ ▄█▄█ █ █▀ █ ▀ █ ▀▀▀▄▀▄█ █▄██▄▄█▄▄ █▀█▄ ▄▀ ▄▄ ▄▄▄ █ ▄▄█ █ ▀ ▄▄▄ █▀█ █ █ ▄▄▄▄▄ █▄██▄ █ ▄▀▄ █▄█ █▄ ███▄▀█ █▄█ ▄█ ██ █ █ █ █▀ ▄▄▄▀▀██▄▄ ▄▄▄ ▄▀▄█ ▄▀▄▄██ █▀▄▀█ █ █▄▄▄█ █▀ █ ▄ ▀▀▄▀▀ ▄ ██ ▄▄████▄ ▄▀▄▄ ▄████ █▄▄▄▄▄▄▄█▄██▄▄▄████▄██▄▄█▄▄▄▄▄█▄▄███▄▄▄▄▄▄▄█▄██

[Nest] 30 - 05/13/2024, 10:39:14 AM LOG [Webhook - rakesh] Sending POST to https://httpbin.org/post... [Nest] 30 - 05/13/2024, 10:39:15 AM LOG [Webhook - rakesh] POST request was sent with status code: 200

Screenshots Screenshot (328) Screenshot (329)

Additional context It is not happening in Core module. I have checked. Core module is working fine. Core module version Environment: { version: '2024.5.4', engine: 'WEBJS', tier: 'CORE', browser: '/usr/bin/chromium' }

patron:PLUS

KKshitiz commented 1 month ago

Facing the same issue. Here's a related issue from Whatsapp web js library: https://github.com/pedroslopez/whatsapp-web.js/issues/3031

patron:ADVANCED

allburov commented 1 month ago

Hi! Could you try 2024.5.7 version? :pray: :crossed_fingers:

patron:PRO

RAKESHSUVIDYA commented 1 month ago

Hi! Could you try 2024.5.7 version? 🙏 🤞

patron:PRO

Just I tried. Issues are same

patron:PLUS

kumaraguru1735 commented 1 month ago

After 6th May update of whatsapp , its not working!

allburov commented 1 month ago

Do you see smth like this on the phone? image

patron:PRO

allburov commented 1 month ago

Try to setup proxy for Indian 🇮🇳 phone numbers: https://waha.devlike.pro/docs/how-to/proxy/

Overview

If you're experiencing issues scanning QR codes in WhatsApp, especially with Indian 🇮🇳 phone numbers, using a proxy located close to the phone number's location may help resolve the problem.

It affects both WEBJS and NOWEB engines.

Symptoms

  1. You start a new session in WhatsApp.
  2. Scan the QR code.
  3. Experience a long loading time.
  4. Face login failures or instant logout.
  5. Encounter a new QR code or enter a FAILED state immediately.

image

Configuration

There are two ways to set up proxies:

  1. Global Setting (for all sessions per container)
  2. Per Session Configuration (you can define a proxy for each session when you start it)

Global Proxy Configuration

To use a proxy, you can set the following environment variables:

Session Proxy Configuration

You can configure proxy for a session by setting config.proxy fields when you POST /api/sessions/start:

No authentication

{
  "name": "default",
  "config": {
    "proxy": {
      "server": "localhost:3128"
    }
  }
}

Proxy with authentication

{
  "name": "default",
  "config": {
    "proxy": {
      "server": "localhost:3128",
      "username": "username",
      "password": "P@ssw0rd"
    }
  }
}

The configuration is saved and will be applied if the docker container restarts, and you set WHATSAPP_RESTART_ALL_SESSIONS environment variables. Read more about it in Autostart section.

Recommended Proxies

Proxy6

We recommend using Proxy6 where you can get a DEDICATED proxy (only you'll use it) for $1.77 per month.

Apply the promocode get a 5% discount on your purchase.

9W9oVxx3UX

Geonode

Another option is Geonode.

patron:PRO

allburov commented 1 month ago

Let me know if proxy doesn't help in your case and we could dive deeper!

patron:PRO

bvivek77 commented 1 month ago

proxy not helping :(

devlikepro commented 1 month ago

@bvivek77 could you try running WAHA locally to test if it works (if you're in India or in any locaiton)? If it works - consider setting up a tunnel https://github.com/devlikeapro/whatsapp-http-api/issues/343#issuecomment-2130780175

patron:PRO

bvivek77 commented 1 month ago

@bvivek77 could you try running WAHA locally to test if it works (if you're in India or in any locaiton)? If it works - consider setting up a tunnel #343 (comment)

patron:PRO

not working :( I am in India

allburov commented 1 month ago

Could you to test the regular WhatsApp Web on the same laptop? https://web.whatsapp.com Didn't see the cases when WAHA would work on regular network (as long as you don't use proxies or vpn)

ср, 29 мая 2024 г., 18:17 Vivek Bansal @.***>:

@bvivek77 https://github.com/bvivek77 could you try running WAHA locally to test if it works (if you're in India or in any locaiton)? If it works - consider setting up a tunnel #343 (comment) https://github.com/devlikeapro/whatsapp-http-api/issues/343#issuecomment-2130780175

[image: patron:PRO] https://waha.devlike.pro/docs/how-to/plus-version/#tiers

not working :( I am in India

— Reply to this email directly, view it on GitHub https://github.com/devlikeapro/whatsapp-http-api/issues/330#issuecomment-2137165683, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBMR3SVJWIHJIPD55XD5K3ZEW2NXAVCNFSM6AAAAABHT63O2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXGE3DKNRYGM . You are receiving this because you modified the open/close state.Message ID: @.***>

patron:PRO