devlikeapro / waha

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

[BUG][WEBJS] - if I start the container from our docker-compose.yaml session does not go from status: STARTING to status: SCAN_QR_CODE #357

Closed BrnzAi closed 3 weeks ago

BrnzAi commented 4 weeks ago

Describe the bug

When I run using command "docker run -it --rm ...." all works fine. But when we try to run same, but from our docker-compose.yaml using command "docker compose up -d" new session does not go from status: STARTING to status: SCAN_QR_CODE. We run -e WHATSAPP_RESTART_ALL_SESSIONS=true in session restart mode. And session with status: SCAN_QR_CODE will receive QR in logs after 5 sec, i.e. everything works and connects. And if session status: WORKING, then it also restarts and works.


Our command:

docker run -it --rm \ -v ./sessions:/app/.sessions \ -v ./media:/tmp/whatsapp-files \ -e WHATSAPP_RESTART_ALL_SESSIONS=true \ -e WHATSAPP_FILES_LIFETIME=3600 \ -e WHATSAPP_SWAGGER_USERNAME=dev \ -e WHATSAPP_SWAGGER_PASSWORD=test \ -e WAHA_DASHBOARD_USERNAME=dev \ -e WAHA_DASHBOARD_PASSWORD=test \ -e WHATSAPP_API_KEY=test \ -p 3005:3000/tcp \ --name whatsapp-http-api devlikeapro/whatsapp-http-api-plus

Session work fine - change status after 3-5 sec to SCAN_QR_CODE

изображение изображение изображение


Our docker-compose.yaml:

version: '3' services: whatsapp-http-api-plus: image: devlikeapro/whatsapp-http-api-plus container_name: whatsapp-http-api ports:

Our .env:

  WHATSAPP_RESTART_ALL_SESSIONS=true
  WHATSAPP_FILES_LIFETIME=3600
  WHATSAPP_SWAGGER_USERNAME=dev
  WHATSAPP_SWAGGER_PASSWORD=test
  WAHA_DASHBOARD_USERNAME=dev
  WAHA_DASHBOARD_PASSWORD=test
  WHATSAPP_API_KEY=test
  WHATSAPP_PORT=3005

Session does not go from status: STARTING to status: SCAN_QR_CODE As I understand, there was no response. изображение

I try devlikeapro/whatsapp-http-api-plus:chrome. Same result изображение

Here two session with status WORKING and SCAN_QR_CODE. When I start from compose they restarted and works fine. Session restart in "compose" takes longer than "docker run" in the Work status, some time about 30 seconds. изображение изображение

When session restart and with status Work, and start second new session some time it change status after 5-10 sec to SCAN_QR_CODE. One time all new session will work. изображение

Version

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

Expected behavior

We need to run WAHA devlikeapro/whatsapp-http-api-plus from docker-compose.yaml

Engine I'm using WEBJS engine.

allburov commented 4 weeks ago

Hi! Did you remove .sessions folder before running docker-compose? Could you try either removing it completely or using a different folder, like .sessions123?

patron:PRO

allburov commented 4 weeks ago

if it doesn't help - please add DEBUG=1 to docker-compose and run the session and if it stucks in STARTING - send the whole logs here please using https://gist.github.com

patron:PRO

BrnzAi commented 4 weeks ago

Hi! Did you remove .sessions folder before running docker-compose? Could you try either removing it completely or using a different folder, like .sessions123?

patron:PRO

I change to /session123, This not help. New session always STARTING. изображение

Now will run with DEBUG=1

BrnzAi commented 4 weeks ago

Add DEBUG=1 to environment docker-compose изображение

There is one session restarted with WORKING. I wait until it full restated status to WORKING. Then create new session. Wait 5 min. Session still STARTING

изображение

docker compose up [+] Running 2/2 ✔ Network whatsapp-http-api-test_default Created 0.2s ✔ Container whatsapp-http-api-second Created 0.9s Attaching to whatsapp-http-api-second whatsapp-http-api-second | yarn run v1.22.19 whatsapp-http-api-second | $ node --unhandled-rejections=none dist/main whatsapp-http-api-second | WAHA (WhatsApp HTTP API) - Running PLUS version... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [NestFactory] Starting Nest application... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [InstanceLoader] PassportModule dependencies initialized +34ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [InstanceLoader] TerminusModule dependencies initialized +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [SessionManager] Using local storage for session info. whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [InstanceLoader] ServeStaticModule dependencies initialized +10ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [InstanceLoader] AppModulePlus dependencies initialized +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] AuthController {/api/:session/auth}: +86ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/auth/qr, GET} route +3ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/auth/request-code, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/auth/authorize-code, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] SessionsController {/api/sessions}: +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sessions/start, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sessions/stop, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sessions/logout, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sessions, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sessions/:session, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] SessionController {/api/sessions/:session}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sessions/:session/me, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] ChattingController {/api}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/checkNumberStatus, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendContactVcard, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendText, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendText, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendPoll, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendLocation, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendLinkPreview, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendImage, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendFile, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendVoice, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendVideo, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/reply, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/sendSeen, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/startTyping, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/stopTyping, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/reaction, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/star, PUT} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/messages, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] ChatsController {/api/:session/chats}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/chats, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId, DELETE} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, DELETE} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, DELETE} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, PUT} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] StatusController {/api/:session/status}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/status/text, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/status/image, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/status/voice, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/status/video, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] ContactsController {/api/contacts}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/contacts, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/contacts/all, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/contacts/check-exists, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/contacts/about, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/contacts/profile-picture, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/contacts/block, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/contacts/unblock, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] GroupsController {/api/:session/groups}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, PUT} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, DELETE} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/leave, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/description, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/subject, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code/revoke, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/add, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/remove, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/promote, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/demote, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] PresenceController {/api/:session/presence}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/presence, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/presence, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId/subscribe, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] ScreenshotController {/api}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/screenshot, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] VersionController {/api/version}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/api/version, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RoutesResolver] HealthController {/health}: +1ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [RouterExplorer] Mapped {/health, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [NestApplication] Nest application successfully started +3ms whatsapp-http-api-second | WhatsApp HTTP API is running on: http://[::1]:3000 whatsapp-http-api-second | Environment: { whatsapp-http-api-second | version: '2024.5.9', whatsapp-http-api-second | engine: 'WEBJS', whatsapp-http-api-second | tier: 'PLUS', whatsapp-http-api-second | browser: '/usr/bin/chromium' whatsapp-http-api-second | } whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [SessionManager] Restarting STOPPED session - session_ay8g4h... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [SessionManager] 'session_ay8g4h' - starting session... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [Webhook - session_ay8g4h] Configuring webhooks for https://httpbin.org/post... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [Webhook - session_ay8g4h] Event 'session.status' is enabled for url: https://httpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [Webhook - session_ay8g4h] Webhooks were configured for https://httpbin.org/post. whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM DEBUG [WhatsappSession - session_ay8g4h] Using web version: '2.2412.54' whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [Webhook - session_ay8g4h] Event 'message' is enabled for url: https://httpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [Webhook - session_ay8g4h] Event 'message.reaction' is enabled for url: https://httpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM LOG [Webhook - session_ay8g4h] Sending POST to https://httpbin.org/post... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:09 PM VERBOSE [Webhook - session_ay8g4h] POST DATA: {"event":"session.status","session":"session_ay8g4h","me":null,"payload":{"name":"session_ay8g4h","status":"STARTING"},"engine":"WEBJS","environment":{"version":"2024.5.9","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/chromium"}} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:11 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS event: {"event":"loading_screen","data":[0,"WhatsApp"]} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:25:43 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS event: {"event":"loading_screen","data":[0,"Loading your chats"]} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:15 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS event: {"event":"loading_screen","data":[100,"Loading your chats"]} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:19 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS event: {"event":"authenticated","data":[null]} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:20 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS event: {"event":"ready","data":[]} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:20 PM LOG [WhatsappSession - session_ay8g4h] Session 'session_ay8g4h' has been authenticated! whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:20 PM DEBUG [WhatsappSession - session_ay8g4h] Logging 'console' event for web page whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:20 PM LOG [Webhook - session_ay8g4h] Sending POST to https://httpbin.org/post... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:20 PM VERBOSE [Webhook - session_ay8g4h] POST DATA: {"event":"session.status","session":"session_ay8g4h","me":{"id":"380954366593@c.us","pushName":null},"payload":{"name":"session_ay8g4h","status":"WORKING"},"engine":"WEBJS","environment":{"version":"2024.5.9","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/chromium"}} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:20 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS page log: url is https://web.whatsapp.com/ whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM LOG [SessionManager] 'session_u1wvfr' - starting session... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM LOG [Webhook - session_u1wvfr] Configuring webhooks for https://httpbin.org/post... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM LOG [Webhook - session_u1wvfr] Event 'session.status' is enabled for url: https://httpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM LOG [Webhook - session_u1wvfr] Webhooks were configured for https://httpbin.org/post. whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM DEBUG [WhatsappSession - session_u1wvfr] Using web version: '2.2412.54' whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM LOG [Webhook - session_u1wvfr] Event 'message' is enabled for url: https://httpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM LOG [Webhook - session_u1wvfr] Event 'message.reaction' is enabled for url: https://httpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM LOG [Webhook - session_u1wvfr] Sending POST to https://httpbin.org/post... whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:26:45 PM VERBOSE [Webhook - session_u1wvfr] POST DATA: {"event":"session.status","session":"session_u1wvfr","me":null,"payload":{"name":"session_u1wvfr","status":"STARTING"},"engine":"WEBJS","environment":{"version":"2024.5.9","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/chromium"}} whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:28:56 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS page log: Failed to load resource: net::ERR_CONNECTION_RESET whatsapp-http-api-second | [Nest] 30 - 06/03/2024, 2:31:44 PM DEBUG [WhatsappSession - session_ay8g4h] WEBJS page log: Failed to load resource: net::ERR_TIMED_OUT

BrnzAi commented 4 weeks ago

Change session folder to session124 изображение

docker compose up -d

yarn run v1.22.19 $ node --unhandled-rejections=none dist/main WAHA (WhatsApp HTTP API) - Running PLUS version... [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [NestFactory] Starting Nest application... [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [InstanceLoader] PassportModule dependencies initialized +34ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [InstanceLoader] TerminusModule dependencies initialized +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [SessionManager] Using local storage for session info. [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [InstanceLoader] ServeStaticModule dependencies initialized +10ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [InstanceLoader] AppModulePlus dependencies initialized +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] AuthController {/api/:session/auth}: +81ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/auth/qr, GET} route +3ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/auth/request-code, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/auth/authorize-code, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, GET} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] SessionsController {/api/sessions}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sessions/start, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sessions/stop, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sessions/logout, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sessions, GET} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sessions/:session, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] SessionController {/api/sessions/:session}: +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sessions/:session/me, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] ChattingController {/api}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/checkNumberStatus, GET} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendContactVcard, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendText, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendText, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendPoll, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendLocation, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendLinkPreview, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendImage, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendFile, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendVoice, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendVideo, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/reply, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/sendSeen, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/startTyping, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/stopTyping, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/reaction, PUT} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/star, PUT} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/messages, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] ChatsController {/api/:session/chats}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/chats, GET} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId, DELETE} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, DELETE} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, DELETE} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, PUT} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] StatusController {/api/:session/status}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/status/text, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/status/image, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/status/voice, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/status/video, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] ContactsController {/api/contacts}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/contacts, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/contacts/all, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/contacts/check-exists, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/contacts/about, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/contacts/profile-picture, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/contacts/block, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/contacts/unblock, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] GroupsController {/api/:session/groups}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, PUT} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, PUT} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, DELETE} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/leave, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/description, PUT} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/subject, PUT} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code/revoke, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/add, POST} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/remove, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/promote, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/demote, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] PresenceController {/api/:session/presence}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/presence, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/presence, GET} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId/subscribe, POST} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] ScreenshotController {/api}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/screenshot, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] VersionController {/api/version}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/api/version, GET} route +1ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RoutesResolver] HealthController {/health}: +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [RouterExplorer] Mapped {/health, GET} route +0ms [Nest] 29 - 06/03/2024, 2:41:35 PM LOG [NestApplication] Nest application successfully started +4ms WhatsApp HTTP API is running on: http://[::1]:3000 Environment: { version: '2024.5.9', engine: 'WEBJS', tier: 'PLUS', browser: '/usr/bin/chromium' } [Nest] 29 - 06/03/2024, 2:42:05 PM LOG [SessionManager] 'session_ms48m' - starting session... [Nest] 29 - 06/03/2024, 2:42:05 PM LOG [Webhook - session_ms48m] Configuring webhooks for https://httpbin.org/post... [Nest] 29 - 06/03/2024, 2:42:05 PM LOG [Webhook - session_ms48m] Event 'session.status' is enabled for url: https://httpbin.org/post [Nest] 29 - 06/03/2024, 2:42:05 PM LOG [Webhook - session_ms48m] Webhooks were configured for https://httpbin.org/post. [Nest] 29 - 06/03/2024, 2:42:05 PM DEBUG [WhatsappSession - session_ms48m] Using web version: '2.2412.54' [Nest] 29 - 06/03/2024, 2:42:05 PM LOG [Webhook - session_ms48m] Event 'message' is enabled for url: https://httpbin.org/post [Nest] 29 - 06/03/2024, 2:42:05 PM LOG [Webhook - session_ms48m] Event 'message.reaction' is enabled for url: https://httpbin.org/post [Nest] 29 - 06/03/2024, 2:42:05 PM LOG [Webhook - session_ms48m] Sending POST to https://httpbin.org/post... [Nest] 29 - 06/03/2024, 2:42:05 PM VERBOSE [Webhook - session_ms48m] POST DATA: {"event":"session.status","session":"session_ms48m","me":null,"payload":{"name":"session_ms48m","status":"STARTING"},"engine":"WEBJS","environment":{"version":"2024.5.9","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/chromium"}}

logs created at 2:47:00 PM

devlikepro commented 4 weeks ago

@BrnzAi

  1. What does the screenshot show for that STARTING session? GET /api/screenshot
  2. What OS do you use (name/version)?
  3. Is it a a new clean server? It's better to setup it on clean VPS one (Ubuntu 22.04 is ideal candidate)
  4. What docker version do you use? docker --version
  5. What docker compose version do you use? docker compose version

WEBJS page log: Failed to load resource: net::ERR_CONNECTION_RESET WEBJS page log: Failed to load resource: net::ERR_TIMED_OUT

Right now it looks like some network errors, docker compose works fine with clean VPS setup and both engines.

patron:PRO

devlikepro commented 4 weeks ago

Here's config from stability testing servers we're using for release testing (it's working right now with no issues) Try simplifying using this one (remove everything but webjs-files service and change the dir name to .sessions99 or similar

https://gist.github.com/devlikepro/afd2c1c9d3331197dc3c02051e7f3604

patron:PRO

BrnzAi commented 3 weeks ago

Try our compose from other server. Almost the same, only there is a response from the first request, but no further for QR (WEBJS Event, QR Received)

GET /api/screenshot изображение

lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal

Docker version 24.0.7, build afdd53b Docker Compose version v2.21.0

parser@selenoid:~/parsers/whatsapp-html-api$ docker compose up [+] Running 1/0 ✔ Container whatsapp-http-api-second Created 0.0s Attaching to whatsapp-http-api-second whatsapp-http-api-second | yarn run v1.22.19 whatsapp-http-api-second | $ node --unhandled-rejections=none dist/main whatsapp-http-api-second | WAHA (WhatsApp HTTP API) - Running PLUS version... whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [NestFactory] Starting Nest application... whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [InstanceLoader] PassportModule dependencies initialized +28ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [InstanceLoader] ConfigHostModule dependencies initialized +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [InstanceLoader] TerminusModule dependencies initialized +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [SessionManager] Using local storage for session info. whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [InstanceLoader] ServeStaticModule dependencies initialized +11ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [InstanceLoader] AppModulePlus dependencies initialized +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] AuthController {/api/:session/auth}: +95ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/auth/qr, GET} route +2ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/auth/request-code, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/auth/authorize-code, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] SessionsController {/api/sessions}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sessions/start, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sessions/stop, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sessions/logout, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sessions, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sessions/:session, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] SessionController {/api/sessions/:session}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sessions/:session/me, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] ChattingController {/api}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/checkNumberStatus, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendContactVcard, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendText, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendText, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendPoll, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendLocation, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendLinkPreview, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendImage, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendFile, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendVoice, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendVideo, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/reply, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/sendSeen, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/startTyping, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/stopTyping, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/reaction, PUT} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/star, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/messages, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] ChatsController {/api/:session/chats}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/chats, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId, DELETE} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, DELETE} route + 0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, DELE TE} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] StatusController {/api/:session/status}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/status/text, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/status/image, POST} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/status/voice, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/status/video, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] ContactsController {/api/contacts}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/contacts, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/contacts/all, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/contacts/check-exists, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/contacts/about, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/contacts/profile-picture, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/contacts/block, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/contacts/unblock, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] GroupsController {/api/:session/groups}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin -only, PUT} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin -only, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-a dmin-only, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-a dmin-only, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, DELETE} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/leave, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/description, PUT} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/subject, PUT} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code/revoke, POST} ro ute +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants, GET} route +0m s whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/add, POST} rout e +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/remove, POST} r oute +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/promote, POST} route + 1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/demote, POST} route +0 ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] PresenceController {/api/:session/presence}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/presence, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/presence, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId/subscribe, POST} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] ScreenshotController {/api}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/screenshot, GET} route +1ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] VersionController {/api/version}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/api/version, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RoutesResolver] HealthController {/health}: +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [RouterExplorer] Mapped {/health, GET} route +0ms whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:20:18 PM LOG [NestApplication] Nest application successfully started +3ms whatsapp-http-api-second | WhatsApp HTTP API is running on: http://[::1]:3000 whatsapp-http-api-second | Environment: { whatsapp-http-api-second | version: '2024.5.9', whatsapp-http-api-second | engine: 'WEBJS', whatsapp-http-api-second | tier: 'PLUS', whatsapp-http-api-second | browser: '/usr/bin/chromium' whatsapp-http-api-second | } whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM LOG [SessionManager] 'session_ltce5' - starting session... whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM LOG [Webhook - session_ltce5] Configuring webhooks for https://httpbin.org/post... whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM LOG [Webhook - session_ltce5] Event 'session.status' is enabled for url: https://h ttpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM LOG [Webhook - session_ltce5] Webhooks were configured for https://httpbin.org/pos t. whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM DEBUG [WhatsappSession - session_ltce5] Using web version: '2.2412.54' whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM LOG [Webhook - session_ltce5] Event 'message' is enabled for url: https://httpbin. org/post whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM LOG [Webhook - session_ltce5] Event 'message.reaction' is enabled for url: https:/ /httpbin.org/post whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM LOG [Webhook - session_ltce5] Sending POST to https://httpbin.org/post... whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:02 PM VERBOSE [Webhook - session_ltce5] POST DATA: {"event":"session.status","session":"sess ion_ltce5","me":null,"payload":{"name":"session_ltce5","status":"STARTING"},"engine":"WEBJS","environment":{"version":"2024.5.9","engine":"WEBJS","tie r":"PLUS","browser":"/usr/bin/chromium"}} whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:03 PM LOG [Webhook - session_ltce5] POST request was sent with status code: 200 whatsapp-http-api-second | [Nest] 30 - 06/05/2024, 3:21:03 PM DEBUG [Webhook - session_ltce5] Response: { whatsapp-http-api-second | "args": {}, whatsapp-http-api-second | "data": "{\"event\":\"session.status\",\"session\":\"session_ltce5\",\"me\":null,\"payload\":{\"name\":\"session_ltce5\" ,\"status\":\"STARTING\"},\"engine\":\"WEBJS\",\"environment\":{\"version\":\"2024.5.9\",\"engine\":\"WEBJS\",\"tier\":\"PLUS\",\"browser\":\"/usr/bin /chromium\"}}", whatsapp-http-api-second | "files": {}, whatsapp-http-api-second | "form": {}, whatsapp-http-api-second | "headers": { whatsapp-http-api-second | "Content-Length": "232", whatsapp-http-api-second | "Content-Type": "application/json", whatsapp-http-api-second | "Host": "httpbin.org", whatsapp-http-api-second | "X-Amzn-Trace-Id": "Root=1-6660825e-2b3f61b259022186236d71bb" whatsapp-http-api-second | }, whatsapp-http-api-second | "json": { whatsapp-http-api-second | "engine": "WEBJS", whatsapp-http-api-second | "environment": { whatsapp-http-api-second | "browser": "/usr/bin/chromium", whatsapp-http-api-second | "engine": "WEBJS", whatsapp-http-api-second | "tier": "PLUS", whatsapp-http-api-second | "version": "2024.5.9" whatsapp-http-api-second | }, whatsapp-http-api-second | "event": "session.status", whatsapp-http-api-second | "me": null, whatsapp-http-api-second | "payload": { whatsapp-http-api-second | "name": "session_ltce5", whatsapp-http-api-second | "status": "STARTING" whatsapp-http-api-second | }, whatsapp-http-api-second | "session": "session_ltce5" whatsapp-http-api-second | }, whatsapp-http-api-second | "origin": "188.34.146.187", whatsapp-http-api-second | "url": "https://httpbin.org/post" whatsapp-http-api-second | } whatsapp-http-api-second |

BrnzAi commented 3 weeks ago

@BrnzAi

1. What does the screenshot show for that STARTING session? `GET /api/screenshot`

2. What OS do you use (name/version)?

3. Is it a a new clean server? It's better to setup it on clean VPS one (Ubuntu 22.04 is ideal candidate)

4. What docker version do you use? `docker --version`

5. What docker compose version do you use? `docker compose version`

WEBJS page log: Failed to load resource: net::ERR_CONNECTION_RESET WEBJS page log: Failed to load resource: net::ERR_TIMED_OUT

Right now it looks like some network errors, docker compose works fine with clean VPS setup and both engines.

patron:PRO

On our server

lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal

Is it a a new clean server? No

Docker version 25.0.3, build 4debf41

Docker Compose version v2.24.5

devlikepro commented 3 weeks ago

Is it a a new clean server? No

Could you try using a new VPS just to test docker-compose? You can buy something like 2CPU+4GB ram digital ocean Ubuntu 22 and test it there :pray:

If that works with no issue - likely there's some misconfiguration or environment related issue, IDK how why it's happening...

patron:PRO

BrnzAi commented 3 weeks ago

From https://gist.github.com/devlikepro/afd2c1c9d3331197dc3c02051e7f3604 I create another docker-compose.yaml

version: '3' services: webjs-files: image: devlikeapro/whatsapp-http-api-plus:chrome ports:

First session change to SCAN_QR_CODE. Then I delete session from dashboard and start new. New session receive response from the first request, but no further for QR (WEBJS Event, QR Received).

parser@selenoid:~/parsers/whatsapp-html-api$ docker compose up [+] Running 2/2 ✔ Network whatsapp-html-api_default Created 0.1s ✔ Container whatsapp-html-api-webjs-files-1 Created 0.6s Attaching to whatsapp-html-api-webjs-files-1 whatsapp-html-api-webjs-files-1 | yarn run v1.22.19 whatsapp-html-api-webjs-files-1 | $ node dist/main whatsapp-html-api-webjs-files-1 | NODE - Catching unhandled exceptions enabled whatsapp-html-api-webjs-files-1 | WAHA (WhatsApp HTTP API) - Running PLUS version... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [NestFactory] Starting Nest application... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [InstanceLoader] PassportModule dependencies initialized +20ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [InstanceLoader] ConfigHostModule dependencies initialized +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [InstanceLoader] TerminusModule dependencies initialized +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [SessionManager] Using local storage for session info. whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [Storage] Directory '/tmp/whatsapp-files' created from scratch whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [InstanceLoader] ServeStaticModule dependencies initialized +2ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [InstanceLoader] AppModulePlus dependencies initialized +1ms whatsapp-html-api-webjs-files-1 | Please set up both WHATSAPP_SWAGGER_USERNAME and WHATSAPP_SWAGGER_PASSWORD to enable swagger authentication. whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] AuthController {/api/:session/auth}: +60ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/auth/qr, GET} route +3ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/auth/request-code, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/auth/authorize-code, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] SessionsController {/api/sessions}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sessions/start, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sessions/stop, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sessions/logout, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sessions, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sessions/:session, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] SessionController {/api/sessions/:session}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sessions/:session/me, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] ChattingController {/api}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/checkNumberStatus, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendContactVcard, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendText, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendText, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendPoll, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendLocation, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendLinkPreview, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendImage, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendFile, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendVoice, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendVideo, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/reply, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/sendSeen, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/startTyping, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/stopTyping, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/reaction, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/star, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/messages, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] ChatsController {/api/:session/chats}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/chats, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId, DELETE} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, DELETE} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, DELETE} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, PUT} ro ute +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] StatusController {/api/:session/status}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/status/text, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/status/image, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/status/voice, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/status/video, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] ContactsController {/api/contacts}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/contacts, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/contacts/all, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/contacts/check-exists, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/contacts/about, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/contacts/profile-picture, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/contacts/block, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/contacts/unblock, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] GroupsController {/api/:session/groups}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-on ly, PUT} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-on ly, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admi n-only, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admi n-only, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, DELETE} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/leave, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/description, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/subject, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code/revoke, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/add, POST} route + 0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/remove, POST} rout e +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/promote, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/demote, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] PresenceController {/api/:session/presence}: +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/presence, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/presence, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId/subscribe, POST} route +0 ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] ScreenshotController {/api}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/screenshot, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] VersionController {/api/version}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/api/version, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RoutesResolver] HealthController {/health}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [RouterExplorer] Mapped {/health, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:22:21 AM LOG [NestApplication] Nest application successfully started +4ms whatsapp-html-api-webjs-files-1 | WhatsApp HTTP API is running on: http://[::1]:3002 whatsapp-html-api-webjs-files-1 | Environment: { whatsapp-html-api-webjs-files-1 | version: '2024.6.1', whatsapp-html-api-webjs-files-1 | engine: 'WEBJS', whatsapp-html-api-webjs-files-1 | tier: 'PLUS', whatsapp-html-api-webjs-files-1 | browser: '/usr/bin/google-chrome-stable' whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [SessionManager] 'session_829fb9' - starting session... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [Webhook - session_829fb9] Configuring webhooks for https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [Webhook - session_829fb9] Event 'session.status' is enabled for url: https://htt pbin.org/post whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [Webhook - session_829fb9] Webhooks were configured for https://httpbin.org/post. whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM DEBUG [WhatsappSession - session_829fb9] Using web version: '2.2412.54' whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [Webhook - session_829fb9] Sending POST to https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM VERBOSE [Webhook - session_829fb9] POST DATA: {"event":"session.status","session":"sessio n_829fb9","me":null,"payload":{"name":"session_829fb9","status":"STARTING"},"engine":"WEBJS","environment":{"version":"2024.6.1","engine":"WEBJS","tier":"PLUS"," browser":"/usr/bin/google-chrome-stable"}} whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [Webhook - session_829fb9] Event 'message' is enabled for url: https://httpbin.or g/post whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [Webhook - session_829fb9] Event 'message.reaction' is enabled for url: https://h ttpbin.org/post whatsapp-html-api-webjs-files-1 | [0606/102402.557169:WARNING:discardable_shared_memory_manager.cc(193)] Less than 64MB of free space in temporary directory for shared memory files: 0 whatsapp-html-api-webjs-files-1 | [0606/102402.557235:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/102402.593763:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/102402.593825:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/102402.595773:WARNING:audio_manager_linux.cc(53)] Falling back to ALSA for audio output. PulseAudio is not available or could not be initialized. whatsapp-html-api-webjs-files-1 | [0606/102402.596368:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping manda tory platform policies because no policy file was found at: /etc/opt/chrome/policies/managed whatsapp-html-api-webjs-files-1 | [0606/102402.596423:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping recom mended platform policies because no policy file was found at: /etc/opt/chrome/policies/recommended whatsapp-html-api-webjs-files-1 | [0606/102402.608914:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | DevTools listening on ws://127.0.0.1:42629/devtools/browser/4ecf3775-1ea7-43f0-ba76-a1fe7c7efc41 whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM LOG [Webhook - session_829fb9] POST request was sent with status code: 200 whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:02 AM DEBUG [Webhook - session_829fb9] Response: { whatsapp-html-api-webjs-files-1 | "args": {}, whatsapp-html-api-webjs-files-1 | "data": "{\"event\":\"session.status\",\"session\":\"session_829fb9\",\"me\":null,\"payload\":{\"name\":\"session_829fb9\",\ "status\":\"STARTING\"},\"engine\":\"WEBJS\",\"environment\":{\"version\":\"2024.6.1\",\"engine\":\"WEBJS\",\"tier\":\"PLUS\",\"browser\":\"/usr/bin/google-chrom e-stable\"}}", whatsapp-html-api-webjs-files-1 | "files": {}, whatsapp-html-api-webjs-files-1 | "form": {}, whatsapp-html-api-webjs-files-1 | "headers": { whatsapp-html-api-webjs-files-1 | "Content-Length": "246", whatsapp-html-api-webjs-files-1 | "Content-Type": "application/json", whatsapp-html-api-webjs-files-1 | "Host": "httpbin.org", whatsapp-html-api-webjs-files-1 | "X-Amzn-Trace-Id": "Root=1-66618e42-51d11aef33ff3c5a54776a73" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "json": { whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "environment": { whatsapp-html-api-webjs-files-1 | "browser": "/usr/bin/google-chrome-stable", whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "tier": "PLUS", whatsapp-html-api-webjs-files-1 | "version": "2024.6.1" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "event": "session.status", whatsapp-html-api-webjs-files-1 | "me": null, whatsapp-html-api-webjs-files-1 | "payload": { whatsapp-html-api-webjs-files-1 | "name": "session_829fb9", whatsapp-html-api-webjs-files-1 | "status": "STARTING" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "session": "session_829fb9" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "origin": "188.34.146.187", whatsapp-html-api-webjs-files-1 | "url": "https://httpbin.org/post" whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | ALSA lib confmisc.c:767:(parse_card) cannot find card '0' whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default whatsapp-html-api-webjs-files-1 | [0606/102403.819476:ERROR:alsa_util.cc(204)] PcmOpen: default,No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib confmisc.c:767:(parse_card) cannot find card '0' whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:4745:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib conf.c:5233:(snd_config_expand) Evaluate error: No such file or directory whatsapp-html-api-webjs-files-1 | ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default whatsapp-html-api-webjs-files-1 | [0606/102403.819601:ERROR:alsa_util.cc(204)] PcmOpen: plug:default,No such file or directory whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:06 AM DEBUG [WhatsappSession - session_829fb9] WEBJS event: {"event":"qr","data":["2@ojzQT7U1 gWNJ6r7YfSOF5skVY0qWqGdMjvXBtoLVNo40lE15bSjiFEBmFNEqkC/71Knx4me+8pyf/A==,tUOjI86mR8QW/1jnanuCFjlWtSbFGhmN5t6paDt5OhU=,ZbGCcqKYYFp4M39MXszEqWLrpk2JkEBnI+IIb/OeX2E =,gDu0yuLE5OMj4xQ5yo9QxcYPxpmqJVXkCiF3n/qhfEI=,1"]} whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:06 AM DEBUG [WhatsappSession - session_829fb9] QR received whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:06 AM LOG [WhatsappSession - session_829fb9] You can disable QR in console by setting 'WAHA _PRINT_QR=false' in your environment variables. whatsapp-html-api-webjs-files-1 | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ whatsapp-html-api-webjs-files-1 | █ ▄▄▄▄▄ █▄▀▀▀▄▀ ▄▄▀█ ██ █ ▄██▄▀ █ █ █▄ ▀██ ▄▄▄▄▄ █ whatsapp-html-api-webjs-files-1 | █ █ █ ███ ██ ▄▄ █ ▀▄▀█▀ ▀▀▀ ▄▄▀▀▄█▀▀█▀▄▀█ █ █ █ whatsapp-html-api-webjs-files-1 | █ █▄▄▄█ ████▄▄▀ ▀█ █▀ ▀█▀ ▄▄▄ █▄█▄▄█▀▄ ██ ███ █▄▄▄█ █ whatsapp-html-api-webjs-files-1 | █▄▄▄▄▄▄▄█ █▄█ ▀▄█▄█ █▄▀▄█ █▄█ █▄█▄▀▄▀▄▀▄▀ █ ▀ █▄▄▄▄▄▄▄█ whatsapp-html-api-webjs-files-1 | █▄ ▀ ▄▀▄▀▀▄▀█▄█ ▄▄▄▀ ▀▄▀▄▄▄ ▄ ▀▀▀▀ ▀ ▀█▄ ▀▀ █ ███▀▀▄█ whatsapp-html-api-webjs-files-1 | █ █▄▀ ▀▄▀██▄ █▄ ▄ █ ▀▀▀█▀▄█ ▀▄ ▄▀ █▄▄ ▄▀ ▄█ █ ▄███ whatsapp-html-api-webjs-files-1 | █ ██ █▄█ ▄ ▄█▀ ▀▄█▄ ▀█▄▄▄▀█▄ ▀ ▄ ▀█▀ ▄ ▀ █▀ ██▄ ▄▄▀█ whatsapp-html-api-webjs-files-1 | ██▀█ ▄█▄█ ▄ ▀ ▄▄▀ █▀▀▀▀ █ █▀▄ █▀▄ █▄█▄ █▀ █ █ whatsapp-html-api-webjs-files-1 | ██▀ ▀▀ ▄█ █▀█▀▄█▀▀ ███▀█▄█▀▀ ▀▀▄ ▀ ▀█▀▀█▀▄█ ▀▄ ▄▄██ whatsapp-html-api-webjs-files-1 | ██▄▄▄▀▀▄▄▄ █▄▀█▄█▄██▄█▀▀▀▀▄ █▄ ███▀ █▀▀█▀█▀▄▄▀▀█▀▀▄ ▀ █ whatsapp-html-api-webjs-files-1 | █▄▄ ▄ ▄ █▀█▀██▀▀▄▄▀▀█▄█ ▀▄▄█▀ █▀▀▀ ▄█ ▀ ▄ ▀▀▀▄ █ ▀██ whatsapp-html-api-webjs-files-1 | █ ▀▀█▀ ▄▀ ▀▄█▄▀▀ █ ▄▄▄▄▀▀▄██▀▄▄▄▄▄ █ █▄▀█▀▄ ▄▀▀▀ ▄███ whatsapp-html-api-webjs-files-1 | ██ ▄▀ ▄▄▄ ██▀▄▀▀ █ ▄▀▀▄█ ▄▄▄ █▀▀▄▀██ ▄ █▄ ▀ ▄▄▄ █ █ █ whatsapp-html-api-webjs-files-1 | █ ██ █▄█ ▄█▄▀▄ █▀ █ ▄█ █▄█ ▀█▀ ▀█▄▄ ▀▄▄ █ █▄█ ▄▀█ █ whatsapp-html-api-webjs-files-1 | █▀██▀▄▄▄▄▄▀█▀█▄ ▀▀▀▄ ▄█▀▀▄ ▀ ▀▀▄ ▀█▀▀▀▀ ▄▄▄ █ ██ whatsapp-html-api-webjs-files-1 | ██▄▀█▀█▄▀█▄ █▄▄ ▀ ▄█ ▄▀ ▀█▀▀▀ █ █▄▄█ ██▀█ ▀▀ ▄▄█ whatsapp-html-api-webjs-files-1 | ██ ▀█ ▀▄▀ █ ▄ ▀█ ▀▄█ ▀ ▀▀█ ▄▀▀▀ ▀█ ▀ ▀▄▄ ▄ ▄█▀▀ █ █ whatsapp-html-api-webjs-files-1 | █ ██▄ ▄▄▀▀ █ ██▀▀█▀█ ▀▀██ █▀▄▀▄▄▀ █ █▀▀█▄ ███▄ ▄███ whatsapp-html-api-webjs-files-1 | █ ▄▀▄ ▄ ▄█▀█▀▀ █▀▄▀▀ ▄██ ▄ ▀ ▀ ▄▄█▄▄▀█ ▀ ▄▀▀ ▀ ▄ █ whatsapp-html-api-webjs-files-1 | ██ ██▄ ▄█▀█▄ ██▄▄█ ▀▄ ▄▀▀▀ █▀█ █▄██ █ ▄▄▀█ ▄▄▀ ▀▀ ▀ █ whatsapp-html-api-webjs-files-1 | █▀ █ ▄ ▄▀▄▀▀██▄█ █ ▄▀▄██ ▄▄ ▄▄█ ▄ ▀▀▄▄▀▄▀▀▄ ▀█ █▀▀ ▀██ whatsapp-html-api-webjs-files-1 | █▄ ▀▄▄▄▄ ▀ ▄▀▀▀ ▀▀ ▀▄▄█ █▄ ▀█ ▄ ▄▄▄██▀▄ ▀█▀█▀ ▀ █▀ █ whatsapp-html-api-webjs-files-1 | ████▄██▄▄ ██▀█▄▀ ▀▄ ▀▀ ▄▄ ▄▄▄ ▀ ▀ ▀▄▄▀ ▀▄ ▄ ▄▄▄ ██ whatsapp-html-api-webjs-files-1 | █ ▄▄▄▄▄ ███▀▄▀▄▄ ▀▀ ▄█ █▄█ ▄▄█ ▀ ▄▀▄ █▀ █▄█ ▄▄▄██ whatsapp-html-api-webjs-files-1 | █ █ █ █ ▄▀ ▄▀█▄▄ ▄▄▀█▄▄ ▄ ▄ ▀▀█ ██▄▄▀▀ ▀ ▄ ▄▄▀█▀██ whatsapp-html-api-webjs-files-1 | █ █▄▄▄█ █▀ ▄█ ██ ▀▄█ █▄██▀ ██▀█▀█ ▄▀ ▀▀▄▄▄▀▀▀ ▀█▀█ whatsapp-html-api-webjs-files-1 | █▄▄▄▄▄▄▄█▄█▄█▄▄█▄██▄████▄▄█████▄█▄███▄▄▄██▄▄█▄▄▄▄▄▄▄███ whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:06 AM LOG [Webhook - session_829fb9] Sending POST to https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:06 AM VERBOSE [Webhook - session_829fb9] POST DATA: {"event":"session.status","session":"sessio n_829fb9","me":null,"payload":{"name":"session_829fb9","status":"SCAN_QR_CODE"},"engine":"WEBJS","environment":{"version":"2024.6.1","engine":"WEBJS","tier":"PLU S","browser":"/usr/bin/google-chrome-stable"}} whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:06 AM LOG [Webhook - session_829fb9] POST request was sent with status code: 200 whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:06 AM DEBUG [Webhook - session_829fb9] Response: { whatsapp-html-api-webjs-files-1 | "args": {}, whatsapp-html-api-webjs-files-1 | "data": "{\"event\":\"session.status\",\"session\":\"session_829fb9\",\"me\":null,\"payload\":{\"name\":\"session_829fb9\",\ "status\":\"SCAN_QR_CODE\"},\"engine\":\"WEBJS\",\"environment\":{\"version\":\"2024.6.1\",\"engine\":\"WEBJS\",\"tier\":\"PLUS\",\"browser\":\"/usr/bin/google-c hrome-stable\"}}", whatsapp-html-api-webjs-files-1 | "files": {}, whatsapp-html-api-webjs-files-1 | "form": {}, whatsapp-html-api-webjs-files-1 | "headers": { whatsapp-html-api-webjs-files-1 | "Content-Length": "250", whatsapp-html-api-webjs-files-1 | "Content-Type": "application/json", whatsapp-html-api-webjs-files-1 | "Host": "httpbin.org", whatsapp-html-api-webjs-files-1 | "X-Amzn-Trace-Id": "Root=1-66618e46-4781db23523b79455878746e" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "json": { whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "environment": { whatsapp-html-api-webjs-files-1 | "browser": "/usr/bin/google-chrome-stable", whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "tier": "PLUS", whatsapp-html-api-webjs-files-1 | "version": "2024.6.1" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "event": "session.status", whatsapp-html-api-webjs-files-1 | "me": null, whatsapp-html-api-webjs-files-1 | "payload": { whatsapp-html-api-webjs-files-1 | "name": "session_829fb9", whatsapp-html-api-webjs-files-1 | "status": "SCAN_QR_CODE" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "session": "session_829fb9" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "origin": "188.34.146.187", whatsapp-html-api-webjs-files-1 | "url": "https://httpbin.org/post" whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM LOG [SessionManager] Stopping session_829fb9 session... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM LOG [Webhook - session_829fb9] Sending POST to https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM VERBOSE [Webhook - session_829fb9] POST DATA: {"event":"session.status","session":"session_829fb9","me":null,"payload":{"name":"session_829fb9","status":"STOPPED"},"engine":"WEBJS","environment":{"version":"2024.6.1","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/google-chrome-stable"}} whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM LOG [SessionManager] "session_829fb9" has been stopped. whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM LOG [SessionManager] Session 'session_829fb9' has been stopped. whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM DEBUG [WhatsappSession - session_829fb9] Logging 'console' event for web page whatsapp-html-api-webjs-files-1 | Unhandled Rejection at: Promise { whatsapp-html-api-webjs-files-1 | Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. whatsapp-html-api-webjs-files-1 | at CDPSessionImpl.send (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:316:35) whatsapp-html-api-webjs-files-1 | at ExecutionContext._ExecutionContext_evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:211:46) whatsapp-html-api-webjs-files-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) whatsapp-html-api-webjs-files-1 | at async ExecutionContext.evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16) whatsapp-html-api-webjs-files-1 | } reason: Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. whatsapp-html-api-webjs-files-1 | at CDPSessionImpl.send (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:316:35) whatsapp-html-api-webjs-files-1 | at ExecutionContext._ExecutionContext_evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:211:46) whatsapp-html-api-webjs-files-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) whatsapp-html-api-webjs-files-1 | at async ExecutionContext.evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16) whatsapp-html-api-webjs-files-1 | Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed. whatsapp-html-api-webjs-files-1 | at CDPSessionImpl.send (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:316:35) whatsapp-html-api-webjs-files-1 | at ExecutionContext._ExecutionContext_evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:211:46) whatsapp-html-api-webjs-files-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) whatsapp-html-api-webjs-files-1 | at async ExecutionContext.evaluate (/app/node_modules/whatsapp-web.js/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:107:16) whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM ERROR [WhatsappSession - session_829fb9] The browser has been disconnected whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM DEBUG [WhatsappSession - session_829fb9] Shouldn't restart the client, ignoring restart request whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM LOG [Webhook - session_829fb9] Sending POST to https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM VERBOSE [Webhook - session_829fb9] POST DATA: {"event":"session.status","session":"session_829fb9","me":null,"payload":{"name":"session_829fb9","status":"FAILED"},"engine":"WEBJS","environment":{"version":"2024.6.1","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/google-chrome-stable"}} whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM LOG [Webhook - session_829fb9] POST request was sent with status code: 200 whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:44 AM DEBUG [Webhook - session_829fb9] Response: { whatsapp-html-api-webjs-files-1 | "args": {}, whatsapp-html-api-webjs-files-1 | "data": "{\"event\":\"session.status\",\"session\":\"session_829fb9\",\"me\":null,\"payload\":{\"name\":\"session_829fb9\",\"status\":\"FAILED\"},\"engine\":\"WEBJS\",\"environment\":{\"version\":\"2024.6.1\",\"engine\":\"WEBJS\",\"tier\":\"PLUS\",\"browser\":\"/usr/bin/google-chrome-stable\"}}", whatsapp-html-api-webjs-files-1 | "files": {}, whatsapp-html-api-webjs-files-1 | "form": {}, whatsapp-html-api-webjs-files-1 | "headers": { whatsapp-html-api-webjs-files-1 | "Content-Length": "244", whatsapp-html-api-webjs-files-1 | "Content-Type": "application/json", whatsapp-html-api-webjs-files-1 | "Host": "httpbin.org", whatsapp-html-api-webjs-files-1 | "X-Amzn-Trace-Id": "Root=1-66618e6c-33dc19ee0a4693495196afef" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "json": { whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "environment": { whatsapp-html-api-webjs-files-1 | "browser": "/usr/bin/google-chrome-stable", whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "tier": "PLUS", whatsapp-html-api-webjs-files-1 | "version": "2024.6.1" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "event": "session.status", whatsapp-html-api-webjs-files-1 | "me": null, whatsapp-html-api-webjs-files-1 | "payload": { whatsapp-html-api-webjs-files-1 | "name": "session_829fb9", whatsapp-html-api-webjs-files-1 | "status": "FAILED" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "session": "session_829fb9" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "origin": "188.34.146.187", whatsapp-html-api-webjs-files-1 | "url": "https://httpbin.org/post" whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:45 AM LOG [Webhook - session_829fb9] POST request was sent with status code: 200 whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:45 AM DEBUG [Webhook - session_829fb9] Response: { whatsapp-html-api-webjs-files-1 | "args": {}, whatsapp-html-api-webjs-files-1 | "data": "{\"event\":\"session.status\",\"session\":\"session_829fb9\",\"me\":null,\"payload\":{\"name\":\"session_829fb9\",\"status\":\"STOPPED\"},\"engine\":\"WEBJS\",\"environment\":{\"version\":\"2024.6.1\",\"engine\":\"WEBJS\",\"tier\":\"PLUS\",\"browser\":\"/usr/bin/google-chrome-stable\"}}", whatsapp-html-api-webjs-files-1 | "files": {}, whatsapp-html-api-webjs-files-1 | "form": {}, whatsapp-html-api-webjs-files-1 | "headers": { whatsapp-html-api-webjs-files-1 | "Content-Length": "245", whatsapp-html-api-webjs-files-1 | "Content-Type": "application/json", whatsapp-html-api-webjs-files-1 | "Host": "httpbin.org", whatsapp-html-api-webjs-files-1 | "X-Amzn-Trace-Id": "Root=1-66618e6d-148cf40537942d3212ce3779" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "json": { whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "environment": { whatsapp-html-api-webjs-files-1 | "browser": "/usr/bin/google-chrome-stable", whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "tier": "PLUS", whatsapp-html-api-webjs-files-1 | "version": "2024.6.1" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "event": "session.status", whatsapp-html-api-webjs-files-1 | "me": null, whatsapp-html-api-webjs-files-1 | "payload": { whatsapp-html-api-webjs-files-1 | "name": "session_829fb9", whatsapp-html-api-webjs-files-1 | "status": "STOPPED" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "session": "session_829fb9" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "origin": "188.34.146.187", whatsapp-html-api-webjs-files-1 | "url": "https://httpbin.org/post" whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [SessionManager] 'session_6606q' - starting session... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [Webhook - session_6606q] Configuring webhooks for https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [Webhook - session_6606q] Event 'session.status' is enabled for url: https://httpbin.org/post whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [Webhook - session_6606q] Webhooks were configured for https://httpbin.org/post. whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM DEBUG [WhatsappSession - session_6606q] Using web version: '2.2412.54' whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [Webhook - session_6606q] Sending POST to https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM VERBOSE [Webhook - session_6606q] POST DATA: {"event":"session.status","session":"session_6606q","me":null,"payload":{"name":"session_6606q","status":"STARTING"},"engine":"WEBJS","environment":{"version":"2024.6.1","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/google-chrome-stable"}} whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [Webhook - session_6606q] Event 'message' is enabled for url: https://httpbin.org/post whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [Webhook - session_6606q] Event 'message.reaction' is enabled for url: https://httpbin.org/post whatsapp-html-api-webjs-files-1 | [0606/102448.693802:WARNING:discardable_shared_memory_manager.cc(193)] Less than 64MB of free space in temporary directory for shared memory files: 0 whatsapp-html-api-webjs-files-1 | [0606/102448.693961:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/102448.704179:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/102448.704233:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/102448.705585:WARNING:audio_manager_linux.cc(53)] Falling back to ALSA for audio output. PulseAudio is not available or could not be initialized. whatsapp-html-api-webjs-files-1 | [0606/102448.706316:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping mandatory platform policies because no policy file was found at: /etc/opt/chrome/policies/managed whatsapp-html-api-webjs-files-1 | [0606/102448.706334:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping recommended platform policies because no policy file was found at: /etc/opt/chrome/policies/recommended whatsapp-html-api-webjs-files-1 | [0606/102448.715591:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | DevTools listening on ws://127.0.0.1:40389/devtools/browser/c40fa34f-f726-4907-8b30-e0fdbdcab553 whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM LOG [Webhook - session_6606q] POST request was sent with status code: 200 whatsapp-html-api-webjs-files-1 | [Nest] 29 - 06/06/2024, 10:24:48 AM DEBUG [Webhook - session_6606q] Response: { whatsapp-html-api-webjs-files-1 | "args": {}, whatsapp-html-api-webjs-files-1 | "data": "{\"event\":\"session.status\",\"session\":\"session_6606q\",\"me\":null,\"payload\":{\"name\":\"session_6606q\",\"status\":\"STARTING\"},\"engine\":\"WEBJS\",\"environment\":{\"version\":\"2024.6.1\",\"engine\":\"WEBJS\",\"tier\":\"PLUS\",\"browser\":\"/usr/bin/google-chrome-stable\"}}", whatsapp-html-api-webjs-files-1 | "files": {}, whatsapp-html-api-webjs-files-1 | "form": {}, whatsapp-html-api-webjs-files-1 | "headers": { whatsapp-html-api-webjs-files-1 | "Content-Length": "244", whatsapp-html-api-webjs-files-1 | "Content-Type": "application/json", whatsapp-html-api-webjs-files-1 | "Host": "httpbin.org", whatsapp-html-api-webjs-files-1 | "X-Amzn-Trace-Id": "Root=1-66618e70-6c46b97533c3cc030952bb9b" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "json": { whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "environment": { whatsapp-html-api-webjs-files-1 | "browser": "/usr/bin/google-chrome-stable", whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "tier": "PLUS", whatsapp-html-api-webjs-files-1 | "version": "2024.6.1" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "event": "session.status", whatsapp-html-api-webjs-files-1 | "me": null, whatsapp-html-api-webjs-files-1 | "payload": { whatsapp-html-api-webjs-files-1 | "name": "session_6606q", whatsapp-html-api-webjs-files-1 | "status": "STARTING" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "session": "session_6606q" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "origin": "188.34.146.187", whatsapp-html-api-webjs-files-1 | "url": "https://httpbin.org/post" whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 |

BrnzAi commented 3 weeks ago

I change session dir to ./sessions98. But new session again receive response from the first request, but no further for QR (WEBJS Event, QR Received).

[+] Running 1/1 ✔ Container whatsapp-html-api-webjs-files-1 Recreated 10.3s Attaching to whatsapp-html-api-webjs-files-1 whatsapp-html-api-webjs-files-1 | yarn run v1.22.19 whatsapp-html-api-webjs-files-1 | $ node dist/main whatsapp-html-api-webjs-files-1 | NODE - Catching unhandled exceptions enabled whatsapp-html-api-webjs-files-1 | WAHA (WhatsApp HTTP API) - Running PLUS version... whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [NestFactory] Starting Nest application... whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [InstanceLoader] PassportModule dependencies initialized +37ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [InstanceLoader] ConfigHostModule dependencies initialized +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [InstanceLoader] TerminusModule dependencies initialized +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [InstanceLoader] ConfigModule dependencies initialized +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [SessionManager] Using local storage for session info. whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [Storage] Directory '/tmp/whatsapp-files' created from scratch whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [InstanceLoader] ServeStaticModule dependencies initialized +2ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [InstanceLoader] AppModulePlus dependencies initialized +1ms whatsapp-html-api-webjs-files-1 | Please set up both WHATSAPP_SWAGGER_USERNAME and WHATSAPP_SWAGGER_PASSWORD to enable swagger authentication. whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] AuthController {/api/:session/auth}: +66ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/auth/qr, GET} route +2ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/auth/request-code, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/auth/authorize-code, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/auth/captcha, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] SessionsController {/api/sessions}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sessions/start, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sessions/stop, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sessions/logout, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sessions, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sessions/:session, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] SessionController {/api/sessions/:session}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sessions/:session/me, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] ChattingController {/api}: +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/checkNumberStatus, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendContactVcard, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendText, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendText, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendPoll, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendLocation, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendLinkPreview, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendImage, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendFile, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendVoice, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendVideo, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/reply, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/sendSeen, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/startTyping, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/stopTyping, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/reaction, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/star, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/messages, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] ChatsController {/api/:session/chats}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/chats, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId, DELETE} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages, DELETE} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, DELETE} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/chats/:chatId/messages/:messageId, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] StatusController {/api/:session/status}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/status/text, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/status/image, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/status/voice, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/status/video, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] ContactsController {/api/contacts}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/contacts, GET} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/contacts/all, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/contacts/check-exists, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/contacts/about, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/contacts/profile-picture, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/contacts/block, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/contacts/unblock, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] GroupsController {/api/:session/groups}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups, POST} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/info-admin-only, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/settings/security/messages-admin-only, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id, DELETE} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/leave, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/description, PUT} route +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/subject, PUT} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/invite-code/revoke, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/add, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/participants/remove, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/promote, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/groups/:id/admin/demote, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] PresenceController {/api/:session/presence}: +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/presence, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/presence, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/:session/presence/:chatId/subscribe, POST} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] ScreenshotController {/api}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/screenshot, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] VersionController {/api/version}: +1ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/api/version, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RoutesResolver] HealthController {/health}: +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [RouterExplorer] Mapped {/health, GET} route +0ms whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:14 AM LOG [NestApplication] Nest application successfully started +4ms whatsapp-html-api-webjs-files-1 | WhatsApp HTTP API is running on: http://[::1]:3002 whatsapp-html-api-webjs-files-1 | Environment: { whatsapp-html-api-webjs-files-1 | version: '2024.6.1', whatsapp-html-api-webjs-files-1 | engine: 'WEBJS', whatsapp-html-api-webjs-files-1 | tier: 'PLUS', whatsapp-html-api-webjs-files-1 | browser: '/usr/bin/google-chrome-stable' whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM LOG [SessionManager] 'session_6dyyyzz' - starting session... whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM LOG [Webhook - session_6dyyyzz] Configuring webhooks for https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM LOG [Webhook - session_6dyyyzz] Event 'session.status' is enabled for url: https://httpbin.org/post whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM LOG [Webhook - session_6dyyyzz] Webhooks were configured for https://httpbin.org/post. whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM DEBUG [WhatsappSession - session_6dyyyzz] Using web version: '2.2412.54' whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM LOG [Webhook - session_6dyyyzz] Sending POST to https://httpbin.org/post... whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM VERBOSE [Webhook - session_6dyyyzz] POST DATA: {"event":"session.status","session":"session_6dyyyzz","me":null,"payload":{"name":"session_6dyyyzz","status":"STARTING"},"engine":"WEBJS","environment":{"version":"2024.6.1","engine":"WEBJS","tier":"PLUS","browser":"/usr/bin/google-chrome-stable"}} whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM LOG [Webhook - session_6dyyyzz] Event 'message' is enabled for url: https://httpbin.org/post whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:30 AM LOG [Webhook - session_6dyyyzz] Event 'message.reaction' is enabled for url: https://httpbin.org/post whatsapp-html-api-webjs-files-1 | [0606/103630.810053:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/103630.893638:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/103630.893682:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory whatsapp-html-api-webjs-files-1 | [0606/103630.895363:WARNING:audio_manager_linux.cc(53)] Falling back to ALSA for audio output. PulseAudio is not available or could not be initialized. whatsapp-html-api-webjs-files-1 | [0606/103630.896010:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping mandatory platform policies because no policy file was found at: /etc/opt/chrome/policies/managed whatsapp-html-api-webjs-files-1 | [0606/103630.896033:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping recommended platform policies because no policy file was found at: /etc/opt/chrome/policies/recommended whatsapp-html-api-webjs-files-1 | [0606/103630.913597:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. whatsapp-html-api-webjs-files-1 | whatsapp-html-api-webjs-files-1 | DevTools listening on ws://127.0.0.1:41093/devtools/browser/a6c4edd6-9d51-40b5-8efd-34422f35f891 whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:31 AM LOG [Webhook - session_6dyyyzz] POST request was sent with status code: 200 whatsapp-html-api-webjs-files-1 | [Nest] 30 - 06/06/2024, 10:36:31 AM DEBUG [Webhook - session_6dyyyzz] Response: { whatsapp-html-api-webjs-files-1 | "args": {}, whatsapp-html-api-webjs-files-1 | "data": "{\"event\":\"session.status\",\"session\":\"session_6dyyyzz\",\"me\":null,\"payload\":{\"name\":\"session_6dyyyzz\",\"status\":\"STARTING\"},\"engine\":\"WEBJS\",\"environment\":{\"version\":\"2024.6.1\",\"engine\":\"WEBJS\",\"tier\":\"PLUS\",\"browser\":\"/usr/bin/google-chrome-stable\"}}", whatsapp-html-api-webjs-files-1 | "files": {}, whatsapp-html-api-webjs-files-1 | "form": {}, whatsapp-html-api-webjs-files-1 | "headers": { whatsapp-html-api-webjs-files-1 | "Content-Length": "248", whatsapp-html-api-webjs-files-1 | "Content-Type": "application/json", whatsapp-html-api-webjs-files-1 | "Host": "httpbin.org", whatsapp-html-api-webjs-files-1 | "X-Amzn-Trace-Id": "Root=1-6661912f-726c24b71ef052ec1f277e35" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "json": { whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "environment": { whatsapp-html-api-webjs-files-1 | "browser": "/usr/bin/google-chrome-stable", whatsapp-html-api-webjs-files-1 | "engine": "WEBJS", whatsapp-html-api-webjs-files-1 | "tier": "PLUS", whatsapp-html-api-webjs-files-1 | "version": "2024.6.1" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "event": "session.status", whatsapp-html-api-webjs-files-1 | "me": null, whatsapp-html-api-webjs-files-1 | "payload": { whatsapp-html-api-webjs-files-1 | "name": "session_6dyyyzz", whatsapp-html-api-webjs-files-1 | "status": "STARTING" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "session": "session_6dyyyzz" whatsapp-html-api-webjs-files-1 | }, whatsapp-html-api-webjs-files-1 | "origin": "188.34.146.187", whatsapp-html-api-webjs-files-1 | "url": "https://httpbin.org/post" whatsapp-html-api-webjs-files-1 | } whatsapp-html-api-webjs-files-1 |

devlikepro commented 3 weeks ago

I change session dir to ./sessions98.

try Ubuntu22 on clean VPS server, that should help.

Ш - кириллица детектед ;)

patron:PRO

BrnzAi commented 3 weeks ago

Is it a a new clean server? No

Could you try using a new VPS just to test docker-compose? You can buy something like 2CPU+4GB ram digital ocean Ubuntu 22 and test it there 🙏

If that works with no issue - likely there's some misconfiguration or environment related issue, IDK how why it's happening...

patron:PRO

Will try

BrnzAi commented 3 weeks ago

I change session dir to ./sessions98.

try Ubuntu22 on clean VPS server, that should help.

Ш - кириллица детектед ;)

patron:PRO

Yes, but it must be in English for others

BrnzAi commented 3 weeks ago

We deployed in the cuber (Kubernetes) and everything works well in it. Thanks for advice

devlikepro commented 3 weeks ago

@BrnzAi that's great news! Do you use mongodb for storage or which persistent storage? https://waha.devlike.pro/docs/how-to/storages/

patron:PRO

BrnzAi commented 2 weeks ago

We launched without storage. All sessions are in the WAHA container now. We want to store it in a local storage (files), folder we specify associated with the container.

A database running in a container will also not help if the container needs to be restarted. It's best to use mongo running separately from cuber

We try to use NFS