wppconnect-team / wppconnect-server

Wppconnect Server is a ready-to-use API, just download, install, and start using, simple as that.
https://wppconnect.io/swagger/wppconnect-server/
Apache License 2.0
676 stars 396 forks source link

Qr Code - Null #2034

Closed mikelsgomez closed 1 week ago

mikelsgomez commented 1 month ago

Description,

It is not possible to generate the qrcode, null return

{ "status": "CLOSED", "qrcode": null, "version": "2.5.1" }

Environment

Docker

Steps to Reproduce

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

Log Output

info: 2024-10-02T10:00:44.406Z ID: oFOx-D04MJMjWbHBAAAD saiu
info: 2024-10-02T10:00:55.840Z ID: 8-Hn5BRU6Hl7TGozAAAF entrou
info: 2024-10-02T15:13:48.517Z ID: 8-Hn5BRU6Hl7TGozAAAF saiu
info: 2024-10-02T15:13:49.470Z ID: 6CHQVNCLdJmcNnpkAAAH entrou
info:     [noc:browser] Using browser folder './userDataDir/noc'
info:     [noc:browser] Initializing browser...
http:     [noc:browser] checking headless...
http:     [noc:browser] headless option is active, browser hidden
info:     [noc:client] Initializing...
verbose:  [noc:client] Setting WhatsApp WEB version to 2.3000.10139x
verbose:  [noc:client] Loading WhatsApp WEB
verbose:  [noc:page] Page loaded
verbose:  [noc:client] Injecting wapi.js
verbose:  [noc:client] WhatsApp WEB loaded
http:     [noc:client] Waiting page load
verbose:  [noc:client] wapi.js injected
debug:    [noc:client] Exposing onMessage function
info:     [noc:client] WA-JS version: 3.4.1
debug:    [noc:client] Exposing onAnyMessage function
debug:    [noc:client] Exposing onAck function
debug:    [noc:client] Exposing onNotificationMessage function
debug:    [noc:client] Exposing onParticipantsChanged function
debug:    [noc:client] Exposing onStateChange function
debug:    [noc:client] Exposing onStreamChange function
debug:    [noc:client] Exposing onIncomingCall function
debug:    [noc:client] Exposing onInterfaceChange function
debug:    [noc:client] Exposing onPresenceChanged function
debug:    [noc:client] Exposing onLiveLocation function
debug:    [noc:client] Exposing onAddedToGroup function
debug:    [noc:client] Exposing onRevokedMessage function
debug:    [noc:client] Exposing onReactionMessage function
debug:    [noc:client] Exposing onPollResponse function
debug:    [noc:client] Exposing onUpdateLabel function
debug:    [noc:client] Exposing onOrderStatusUpdate function
http:     [noc:client] Checking is logged...
info:     [noc:client] Auto close configured to 60s
info:     [noc:client] Closing the page
error:    [noc:client] Auto Close Called
error: 2024-10-02T15:15:26.726Z Auto Close Called
verbose:  [noc:page] Page Closed
info: 2024-10-02T15:15:26.750Z browserClose

info:     [noc:browser] Using browser folder './userDataDir/noc'
info:     [noc:browser] Initializing browser...
http:     [noc:browser] checking headless...
http:     [noc:browser] headless option is active, browser hidden
info:     [noc:client] Initializing...
verbose:  [noc:client] Setting WhatsApp WEB version to 2.3000.10139x
verbose:  [noc:client] Loading WhatsApp WEB
verbose:  [noc:page] Page loaded
verbose:  [noc:client] Injecting wapi.js
verbose:  [noc:client] WhatsApp WEB loaded
http:     [noc:client] Waiting page load

Your Code

If relevant, paste all of your challenge code in here

Additional context / Screenshot

psmcD2u053

renat473 commented 1 week ago

Install the operating system dependencies and also the Google Chrome browser.

Note: use node18 or version 18