wppconnect-server icon indicating copy to clipboard operation
wppconnect-server copied to clipboard

Some time qrcode not generate . How to solve ?

Open Akash-Rathore opened this issue 3 years ago • 2 comments

Description

[Description of the bug, When Issue Happens]

Environment

  • Wppconnect-server version(s): [e.g. 2.0.27, 2.2.1]
  • Browser: [e.g. Chrome 87, Chromium 85]
  • OS: [e.g. OSX 10.13.4, Windows 10]
  • Node version: [e.g. Node 8, Node 14]
  • WhatsApp version: [e.g. 2.2126.14]
  • MultiDevice (BETA): yes/no
  • config.json: [Your src/config.json file content]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Log Output

If relevant, paste all of your Log Output

Your Code

If relevant, paste all of your challenge code in here

Additional context / Screenshot

Add any other context about the problem here. If applicable, add screenshots to help explain.

Akash-Rathore avatar Aug 19 '22 12:08 Akash-Rathore

When I try to close the session, I get:

error: 2022-08-24T23:16:23.661Z req.client.close is not a function - TypeError: req.client.close is not a function
    at closeSession (/var/local/apps/wppconnect-server/src/controller/sessionController.js:161:24)
    at Layer.handle [as handle_request] (/var/local/apps/wppconnect-server/node_modules/express/lib/router/layer.js:95:5)
    at next (/var/local/apps/wppconnect-server/node_modules/express/lib/router/route.js:144:13)
    at /var/local/apps/wppconnect-server/src/middleware/auth.js:57:9

After closing the session and removing the user data folder, the QR generates again.

dcrec1 avatar Aug 24 '22 23:08 dcrec1

I have the same problem. Eu estou com o mesmo problema, ao executar o servidor para testes localmente no Windows 10.

RodrigoCesarCoelho avatar Oct 03 '22 20:10 RodrigoCesarCoelho

Can you post here the step by step you are doing to connect?

icleitoncosta avatar Oct 22 '22 01:10 icleitoncosta