wppconnect-team / wpp-docker

Crie facilmente imagens do Docker com diferentes versões/combinações de linguagens e dependências comuns, para uso no WPPConnect.
Apache License 2.0
124 stars 63 forks source link

The Session does not start #18

Open alexolmait opened 1 year ago

alexolmait commented 1 year ago

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

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 commented 1 year ago

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.