wa-tunnel
wa-tunnel copied to clipboard
"405 Method not Allowed" while launching server
When I attempt to execute npm run server localhost 8123 1XXXXXXXXXX
, I receive the following:
> [email protected] server
> node src/server.js localhost 8123 1XXXXXXXXXX
[20:09:46.801] INFO (2300): connection update {"connection":"connecting","receivedPendingNotifications":false}
[20:09:51.414] INFO (2300): connection update {"connection":"close","lastDisconnect":{"error":{"data":{"reason":"405","location":"odn"},"isBoom":true,"isServer":false,"output":{"statusCode":405,"payload":{"statusCode":405,"error":"Method Not Allowed","message":"Connection Failure"},"headers":{}}},"date":"2023-10-10T20:09:51.400Z"}}
The phone number is registered with WhatsApp, and I can send messages to it via a different WhatsApp address.
I expected to see a QR code during the first run. Did I do something wrong? Any other thoughts about how to debug the issue?
Same here: Maybe it has something to to with this bug? https://github.com/WhiskeySockets/Baileys/issues/353
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
# npm -v
10.2.4
# node -v
v20.11.1