wpp-docker icon indicating copy to clipboard operation
wpp-docker copied to clipboard

The Session does not start

Open alexolmait opened this issue 2 years ago • 1 comments

The Session does not start

Wppconnect starts initializing a session but newer ends. No QR code is generated. This issue has started appearing since 28 Nov.

Environment

  • WPPConnect version(s): 1.16, 1.17 (Docker version)
  • Browser: Chromium XX
  • OS: Ubuntu 20.04

Running a few instances on different machines; and the issue started appearing on all of them.

Steps to Reproduce

  1. Generate token {{baseUrl}}/api/nova/:secretkey/generate-token
  2. start session {{baseUrl}}/nova/start-session
  3. {{baseUrl}}/nova/status-session

Updated wppconnect version 1.16 to 1.17 Rebuild docker images, but the issue persists

Log Output

{
    "status": "success",
    "session": "nova",
    "token": "$2b$10$M8BSLYBz5rh41MP7uo1LaelxvqoYC8a3OfKYS6_TnzYf6BFCBayLO",
    "full": "nova:$2b$10$M8BSLYBz5rh41MP7uo1LaelxvqoYC8a3OfKYS6_TnzYf6BFCBayLO"
}

{
    "status": "INITIALIZING",
    "session": "nova"
}

P.S.

Wondering if others are having the same problem?

alexolmait avatar Dec 02 '22 08:12 alexolmait

A change of package manager in DockerFile from yarn to npm helped. I also made some changes in config.json of server as redisHost configuration differed from the old one.

alexolmait avatar Dec 03 '22 06:12 alexolmait