Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RAKESHSUVIDYA opened this issue May 13, 2024 · 11 comments
Closed

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

RAKESHSUVIDYA opened this issue May 13, 2024 · 11 comments
Labels
bug Something isn't working patron:PLUS

Comments

@RAKESHSUVIDYA
Copy link

RAKESHSUVIDYA commented May 13, 2024

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

@RAKESHSUVIDYA RAKESHSUVIDYA added the bug Something isn't working label May 13, 2024
@KKshitiz
Copy link

KKshitiz commented May 14, 2024

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

patron:ADVANCED

@allburov
Copy link
Contributor

allburov commented May 15, 2024

Hi! Could you try 2024.5.7 version? 🙏 🤞

patron:PRO

@RAKESHSUVIDYA
Copy link
Author

RAKESHSUVIDYA commented May 15, 2024

Hi! Could you try 2024.5.7 version? 🙏 🤞

patron:PRO

Just I tried. Issues are same

patron:PLUS

@kumaraguru1735
Copy link

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

@allburov
Copy link
Contributor

allburov commented May 18, 2024

Do you see smth like this on the phone?
image

patron:PRO

@allburov
Copy link
Contributor

allburov commented May 18, 2024

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:

  • WHATSAPP_PROXY_SERVER=localhost:3128: Set the proxy server in the format host:port, without HTTP or HTTPS.
  • WHATSAPP_PROXY_SERVER_USERNAME=username and WHATSAPP_PROXY_SERVER_PASSWORD=password: Configure credentials for the proxy.
  • WHATSAPP_PROXY_SERVER_LIST=host1.example.com:3138,host2.example.com:3138: Specify a comma-separated list of addresses to use, utilizing a round-robin algorithm for server selection.
  • WHATSAPP_PROXY_SERVER_INDEX_PREFIX=proxy-: Define a session name prefix to choose the appropriate proxy from the list.

Session Proxy Configuration

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

  • server - proxy server address, without http:// or https:// prefixes
  • username and password - set this if the proxy requires authentication

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
Copy link
Contributor

allburov commented May 18, 2024

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

patron:PRO

@bvivek77
Copy link

proxy not helping :(

@devlikepro
Copy link
Contributor

devlikepro commented May 27, 2024

@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

@bvivek77
Copy link

@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
Copy link
Contributor

allburov commented May 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patron:PLUS
Projects
None yet
Development

No branches or pull requests

6 participants