Open LucasSPanaro opened 2 years ago
Related to #598
I am experiencing the same problem. The exeption is "interface conversion: interface {} is nil, not map[string]interface {}".
This exception is caused by Whatsapp beta which is not sending the expected session information in lines 266 to 272 of the Login function in the session.go file.
For standard mobile apps, the line 266 (info := resp2[1].(map[string]interface{})) return the session information, but for Whatsapp beta this line is returning "map[type:upgrade_md_prod version:2.2126.11]". The problem continues even forcing the client version to "2.2126.11".
Any sugestion????
Unfortunately, we need to rewrite the API from the scratch. which unlikely will be in the near future.
On Wed, Aug 11, 2021 at 11:58 PM josergm86 @.***> wrote:
I am experiencing the same problem. The exeption is "interface conversion: interface {} is nil, not map[string]interface {}".
This exception is caused by Whatsapp beta which is not sending the expected session information in lines 266 to 272 of the Login function in the session.go file.
For standard mobile apps, the line 266 (info := resp2[1].(map[string]interface{})) return the session information, but for Whatsapp beta this line is returning "map[type:upgrade_md_prod version:2.2126.11]". The problem continues even forcing the client version to "2.2126.11".
Any sugestion????
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/601#issuecomment-897147476, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT245WNQD2ZZL64DIKT3T4LP6XANCNFSM5AYQ2DRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Anyone working on multi device or any working repo for go yet ?
Anyone working on multi device or any working repo for go yet ?
There is a work for WMD, but not on GO lang, they are coding it on Javascript TS/node
Any plan to fix this ?
Unfortunately, no
On Tue, Jan 4, 2022, 11:20 PM Abbas mkhzomi @.***> wrote:
Any plan to fix this ?
— Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/601#issuecomment-1005178908, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT22I6Q7BKANND3F3XMTUUNQCRANCNFSM5AYQ2DRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>
Any plan to fix this ?
@llabbasmkhll You probably should see https://github.com/Rhymen/go-whatsapp/issues/622 too
Updated today my Whatsapp to the latest beta version and tried to connect it. Every time I scan the QR code, the session is not recorded, and I get the following error:
"interface conversion: interface {} is nil, not map[string]interface {}"
once the error was: "server closed connection,code: 1000,text: "