aleixrodriala / wa-tunnel

Tunneling Internet traffic over Whatsapp
MIT License
2.08k stars 96 forks source link

error 401 #16

Closed jacmey closed 1 year ago

jacmey commented 1 year ago

Why am I getting this error when I run the server.js script? [16:05:53.215] INFO (1271): connection update {"connection":"connecting","receivedPendingNotifications":false} [16:05:55.923] ERROR (1271): connection closed [16:05:55.925] INFO (1271): connection update {"connection":"close","lastDisconnect":{"error":{"data":{"reason":"401","location":"cln"},"isBoom":true,"isServer":false,"output":{"statusCode":401,"payload":{"statusCode":401,"error":"Unauthorized","message":"Connection Failure"},"headers":{}}},"date":"2022-12-08T16:05:55.922Z"}}

aleixrodriala commented 1 year ago

Was it the first time you were running the script? Usually fails first time and then you re run and works fine, it's a known Baileys bug.