Coder Social home page Coder Social logo

tulir / whatsmeow Goto Github PK

View Code? Open in Web Editor NEW
1.9K 75.0 363.0 4.35 MB

Go library for the WhatsApp web multidevice API

Home Page: https://go.mau.fi/whatsmeow

License: Mozilla Public License 2.0

Go 97.92% JavaScript 1.79% Shell 0.05% Python 0.24%
go golang whatsapp whatsapp-web

whatsmeow's Introduction

whatsmeow

Go Reference

whatsmeow is a Go library for the WhatsApp web multidevice API.

Discussion

Matrix room: #whatsmeow:maunium.net

For questions about the WhatsApp protocol (like how to send a specific type of message), you can also use the WhatsApp protocol Q&A section on GitHub discussions.

Usage

The godoc includes docs for all methods and event types. There's also a simple example at the top.

Also see mdtest for a CLI tool you can easily try out whatsmeow with.

Features

Most core features are already present:

  • Sending messages to private chats and groups (both text and media)
  • Receiving all messages
  • Managing groups and receiving group change events
  • Joining via invite messages, using and creating invite links
  • Sending and receiving typing notifications
  • Sending and receiving delivery and read receipts
  • Reading and writing app state (contact list, chat pin/mute status, etc)
  • Sending and handling retry receipts if message decryption fails
  • Sending status messages (experimental, may not work for large contact lists)

Things that are not yet implemented:

  • Sending broadcast list messages (this is not supported on WhatsApp web either)
  • Calls

whatsmeow's People

Contributors

adiwajshing avatar almogbaku avatar artem-webdev avatar arugaz avatar b-1000 avatar beshoo avatar brunoferreiras avatar burstfreeze avatar code8525 avatar deewai avatar gabstv avatar herpiko avatar houstondapaz avatar ii64 avatar jeremia49 avatar joaopaulosr95 avatar jwm947 avatar kaxap avatar krombel avatar mfalfaruqi avatar necatican avatar punneetmehta avatar rhsobr avatar rhymen avatar schultemk avatar sthales avatar sumnerevans avatar tulir avatar x00b avatar yg0x01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whatsmeow's Issues

Multisocket support

Hello.

The package multidevice socket use once.Do in ConsumeNextFrame() method.

Is it intended that this library support multiple sockets/sessions?

Thanks.

Multiple sessions

good afternoon, is this lib already prepared for multiple sessions? what bank is used in it, too?

SubscribePresence Not Work

Hello, I was able to use this function to capture and use events using data. But at the moment, there is no availability information. This happened after the last update, how can we fix this problem?

Support retrieving chat history?

Hi @tulir - your library looks very promising, thanks for building this!

I develop a minimalistic terminal-based chat client (nchat) and I'm currently looking to support whatsapp multi-device (I'm using go-whatsapp today for "legacy" whatsapp).

I see that your feature list contains most relevant functionalities already. One thing I did not find in the list, nor in the code, is support for retrieving chat history. Do you have any plans to add that eventually?

Live location not updating

Hi,
Ime using the example in mdtest (main.go) to test this package.
I get the message when a user sends his current location to the application however when he sends the live location I only get the message when he starts and no updates after that. Is there a way to get the location updates while the user is moving?

Button Message

Is it possible to send button message like te image below?

image

Sending Image Message

Hi, I'm having an issue when sending image message. Can anybody help me?

Here's what i've tried:

	newMessage := &waProto.Message{
		ImageMessage: &waProto.ImageMessage{
			Url:     proto.String("https://someurl.com/image.jpg"),
			Caption: proto.String("Test Kirim image"),
		},
	}

	_, err = client.SendMessage(newJid, newMessageId, newMessage)
	if err != nil {
		panic(err)
	}

Group names?

First of all congrats! Group names are not supported yet, right?

SubscribePresence

Hello, I am using the SubscribePresence function as in the documentation. Before this I create normal jid with phone number

// Already logged in, just connect
err = client.Connect()
if err != nil {
	panic(err)
}
tmpJid := types.NewJID("number", types.DefaultUserServer)
fmt.Println(tmpJid.String()) // look right
err = client.SubscribePresence(tmpJid)
if err != nil {
	fmt.Println(err)
}

Event Listener

func eventHandler(evt interface{}) {
	switch v := evt.(type) {
	case *events.Presence:
		fmt.Println("[+] Presenceee", v)
	}
}

Debug output

11:26:53.534 [Client/Send DEBUG] <presence to="[email protected]" type="subscribe"/>←[0m

As a result, I can't get any information, is this function working? Or am I doing something wrong.

How to reply a message?

Hi Guys, do you know the correct way to reply a message? (QuotedMessage)

How I did:

	msg := &waProto.Message{
		ExtendedTextMessage: &waProto.ExtendedTextMessage{
			Text: &reply,
			ContextInfo: &waProto.ContextInfo{
				StanzaId:      &evt.Info.ID,
				QuotedMessage: message.Message,
			},
		},
	}
	cli.SendMessage(message.Info.Chat, "", msg)

It's working if I read the answer on my cell phone, but on WhatsApp web it shows an empty message

Thank you in advanced

keepalive timeouts handling

maybe we should count errors, disconnect the socket, or maybe dispatch them as an event?
At least, to store them to use in client.IsConnected()

Message does not always arrive on whatsapp web

the message "Waiting for this message. Check your phone. Learn more" sometimes is seen on WhatsApp web cliente, instead of the actual message. Message arrives correctly on phone.
Why does this happen?

Chat history

Hi! I'd like to get all unread messages from joined chat. How can I do it? Thanks

failed to verify ciphertext MAC: mismatching MAC in signal message

[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:25.452←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:25.576←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:25.584←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:25.724←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:25-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:25-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:25.901←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:26.096←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:26.204←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:26.267←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:26.445←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:26.637←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:26.646←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:26.820←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:27.006←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
[ERROR] 2022-02-19T04:31:27-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:27-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:27-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:27-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:27.195←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
[ERROR] 2022-02-19T04:31:27-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:27-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:27-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:27-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:27.378←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
[ERROR] 2022-02-19T04:31:27-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:27-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:27-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:27-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:27.561←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:27.565←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:27.575←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:27.763←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
04:31:27.950←[33m [Client WARN] Handler queue is full, message ordering is no longer guaranteed←[0m
[ERROR] 2022-02-19T04:31:27-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:27-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:45-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:45-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:46-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:46-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:47.571←[31m [Client ERROR] Failed to do initial fetch of app state critical_unblock_low: failed to decode app state critical_unblock_low patches: failed to decode snapshot of v69: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m
[ERROR] 2022-02-19T04:31:48-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:48-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:48-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:48-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:48-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:48-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:48-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:48-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:48.976←[31m [Client ERROR] Failed to do initial fetch of app state critical_unblock_low: failed to decode app state critical_unblock_low patches: failed to decode snapshot of v69: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:49-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:49-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:50.089←[31m [Client ERROR] Failed to do initial fetch of app state critical_unblock_low: failed to decode app state critical_unblock_low patches: failed to decode snapshot of v69: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:50.433←[31m [Client ERROR] Failed to do initial fetch of app state critical_unblock_low: failed to decode app state critical_unblock_low patches: failed to decode snapshot of v69: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:50.804←[31m [Client ERROR] Failed to do initial fetch of app state regular_low: failed to decode app state regular_low patches: failed to decode snapshot of v65: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:50-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:50-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:51.179←[31m [Client ERROR] Failed to do initial fetch of app state regular_low: failed to decode app state regular_low patches: failed to decode snapshot of v65: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
[ERROR] 2022-02-19T04:31:51-03:00 SessionCipher.go:268 ▶  Unable to verify ciphertext mac: mismatching MAC in signal message
[WARNING] 2022-02-19T04:31:51-03:00 SessionCipher.go:214 ▶  failed to verify ciphertext MAC: mismatching MAC in signal message
04:31:51.605←[31m [Client ERROR] Failed to do initial fetch of app state regular_low: failed to decode app state regular_low patches: failed to decode snapshot of v65: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m
04:31:52.321←[31m [Client ERROR] Failed to do initial fetch of app state regular_low: failed to decode app state regular_low patches: failed to decode snapshot of v65: failed to get key 000000004E8D to decode mutation: didn't find app state key←[0m

Unknown stream error

Hi Guys,

I got this sometimes in my logs:

2022-01-30T10:29:40.216-0300	Received stream end frame
2022-01-30T10:29:40.216-0300	Unknown stream error: [<stream:error><xml-not-well-formed/></stream:error>]
2022-01-30T10:29:40.346-0300	Error reading from websocket: [websocket: close 1006 (abnormal closure): unexpected EOF]
ERRO[30/01 10:29:40] Error sending message: websocket disconnected before message send returned response
2022-01-30T10:29:43.485-0300	Successfully authenticated

Stciker Message not sent to Mobile App

Here my code to create a sticker message.

imageByte, err := qrcode.Encode(text, qrcode.Medium, 256)
uploadImage, err := waClient.Upload(context.Background(), imageByte, whatsmeow.MediaImage)

result = &waProto.Message{
  StickerMessage: &waProto.StickerMessage{
    Url:               proto.String(uploadImage.URL),
    FileSha256:        uploadImage.FileSHA256,
    FileEncSha256:     uploadImage.FileEncSHA256,
    MediaKey:          uploadImage.MediaKey,
    Mimetype:          proto.String(http.DetectContentType(imageByte)),
    Height:            proto.Uint32(100),
    Width:             proto.Uint32(100),
    DirectPath:        proto.String(uploadImage.DirectPath),
    FileLength:        proto.Uint64(uint64(len(imageByte))),
    MediaKeyTimestamp: new(int64),
    FirstFrameLength:  proto.Uint32(1),
    FirstFrameSidecar: imageByte,
    IsAnimated:        proto.Bool(true),
    PngThumbnail:      imageByte,
    ContextInfo:       &waProto.ContextInfo{StanzaId: &message.Info.ID, Participant: proto.String(message.Info.MessageSource.Sender.String()), QuotedMessage: message.Message},
  },
}

Result on my Web Wa. :
drawing

Result on my Mobile App :
drawing

Sending messages in group chats fails if group name was set by unknown user

Hi!
Whenever I try sending a message to a group chat where the group name (aka. 'topic' in WA) was set by an unknown user, sending fails with this message:

didn't find required JID attribute 's_o'

I would guess this is a similar issue as the one fixed by commit 0ae4001.

I also changed the name of the group that was affected which solved the problem. But it seems like this attribute is in fact optional.

SetProfilePicture?

Hi folks,

I am using WhatsMeow to manage a fairly large number of groups, and would like to be able to set the group pictures programmatically. I have found methods to retrieve the Profile Picture Info, but nothing that would allow setting the profile picture of the group.

Any suggestions? Have I missed something?

How to Reply to Message

I'm trying to reply to the messages, but I can't create the context correctly, how can I do it?

image

Get Sender Alias Name in Groups

How can I get the Name of a person sending a message in a group chat?
(The one they defined when setting up WhatsApp eg: +012345678 ~UserName)

go-whatsapp REST API

Dear Tulir.
I would like to share with you my previous work on the go-WhatsApp, I made a restful API that supports MySQL, webhooks, but it is all around go-whatsapp which it is not supporting (MD)

I would like to see my work along with your work which will help others to start their WhatsApp bot right away. but I have some health problems which prevent me to work and update the lib.

https://github.com/beshoo/go-whatsapp-rest-api

Please have a look..

Regards

Invalid information

Hi everyone I test this example 4 times and give me the same result.
some times data come with the information right but some times does not.

**from a samsung phone with WhatsApp updated **

16:42:01.830 [Client/Recv DEBUG]
16:42:01.830 [Client DEBUG] Decrypting 1 messages from [email protected]
[WARNING] 2021-10-21T16:42:01-04:00 Session.go:118 ▶ We've already setup a session for this V3 message, letting bundled message fall through...

from phone number -> 18X9X4X3X8X -------> here
Timestamp -> 1634848921
Message -> Yeah

16:42:01.834 [Main INFO] Received message: &{Info:{MessageSource:{Chat:[email protected] Sender:[email protected] IsFromMe:false IsGroup:false} ID:DC89E3C9A9BCA3EE99B99DF5F8FACBB2 Type: Notify:Victor Medrano Timestamp:1634848921 Category: DeviceSentMeta:} Message:conversation:"Yeah" messageContextInfo:{deviceListMetadata:{recipientKeyHash:"9\xac\xcaI:\xad\xca\xcc\xc1\x93" recipientTimestamp:1634832216} deviceListMetadataVersion:2} IsEphemeral:false IsViewOnce:false RawMessage:conversation:"Yeah" messageContextInfo:{deviceListMetadata:{recipientKeyHash:"9\xac\xcaI:\xad\xca\xcc\xc1\x93" recipientTimestamp:1634832216} deviceListMetadataVersion:2}}
16:42:01.834 [Client/Send DEBUG]
16:42:01.834 [Client/Send DEBUG]
16:42:02.117 [Client/Recv DEBUG]
16:42:02.117 [Client/Send DEBUG]
16:42:02.117 [Main INFO] Received receipt: &{MessageSource:{Chat:[email protected] Sender:[email protected] IsFromMe:true IsGroup:false} MessageID:DC89E3C9A9BCA3EE99B99DF5F8FACBB2 Timestamp:2021-10-21 16:42:02 -0400 AST Type: PreviousIDs:[]}

but with another phone Chinese with no update whatsapp came this
16:39:21.082 [Client DEBUG] Decrypting 1 messages from [email protected] in status@broadcast
[WARNING] 2021-10-21T16:39:21-04:00 Session.go:118 ▶ We've already setup a session for this V3 message, letting bundled message fall through...

from phone number -> status -------> here suppose to come the phone number
Timestamp -> 1634848760
Message ->

16:39:21.086 [Main INFO] Received message: &{Info:{MessageSource:{Chat:status@broadcast Sender:[email protected] IsFromMe:false IsGroup:true} ID:3A98213C0043E943F06A Type: Notify:Elianny♥️ Timestamp:1634848760 Category: DeviceSentMeta:} Message:protocolMessage:{key:{remoteJid:"status@broadcast" fromMe:true id:"3AAD9A96B2E5EB2FF96E"} type:REVOKE} messageContextInfo:{deviceListMetadata:{recipientKeyHash:"9\xac\xcaI:\xad\xca\xcc\xc1\x93"} deviceListMetadataVersion:2} IsEphemeral:false IsViewOnce:false RawMessage:protocolMessage:{key:{remoteJid:"status@broadcast" fromMe:true id:"3AAD9A96B2E5EB2FF96E"} type:REVOKE} messageContextInfo:{deviceListMetadata:{recipientKeyHash:"9\xac\xcaI:\xad\xca\xcc\xc1\x93"} deviceListMetadataVersion:2}}

the name it's not the name of the Chinese phone, and in the phone number came the message. I haven't change anything in the example just run the main.go I will think that this is for beta test from whatsapp. but the contact that is displaying is not he original sender is different , but the message text message is real.

and in the whatsapp application the message is not display, I saw the notification but no display the message.

I will upload basic logs file

example.log

Victor

Can't download stickers

I'm trying to download stickers but it's not working. I'm getting hash of media ciphertext doesn't match


if v.Message.GetStickerMessage() != nil {
			data, err := cli.Download(v.Message.GetStickerMessage())
			if err != nil {
				fmt.Printf("Failed to download image: %v\n", err)
				return

			}
			log.Printf("GetStickerMessage:- %v", len(data))
		}

[Client DEBUG] Didn't handle WhatsApp node

Hi, i just update de whatsapp cliente on the phone.
try the mdtest, but can read the qr code.

its said

10:22:24.036 [Client/Recv DEBUG] <downgrade_webclient/>
10:22:24.036 [Client DEBUG] Didn't handle WhatsApp node
10:22:40.865 [Client/Send DEBUG]
10:22:40.918 [Client/Recv DEBUG]

and create a new qrcode, and so on.

Victor

Logout after scan QRcode

When I read the QR Code, it appears in the logs that authentication was performed successfully, so I get some acks and logout. On the cell phone the text "logging in.." appears and after a few seconds a message appears from whatsapp saying to try again.

Any ideia?

15:51:20.893 [Database INFO] Successfully authenticated
....
15:52:04.888 [Database DEBUG] Received devices update
15:52:10.613 [Database/Send DEBUG] <iq id="240.105-6" to="s.whatsapp.net" type="get" xmlns="w:p"><ping/></iq>
15:52:10.742 [Database/Recv DEBUG] <iq from="s.whatsapp.net" id="240.105-6" t="1639065130" type="result"/>
15:52:21.949 [Database/Recv DEBUG] <stream:error code="401"><conflict type="device_removed"/></stream:error>
15:52:21.949 [Database/Recv DEBUG] <xmlstreamend/>
15:52:21.949 [Database WARN] Received stream end frame
15:52:21.949 [Database INFO] Got device removed stream error, sending LoggedOut event and deleting session
15:52:22.055 [Database/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF
15:52:22.055 [Database/Socket DEBUG] Frame websocket read pump exiting 0xc001047ce0
15:52:22.055 [Database DEBUG] OnDisconnect() called, but it was expected, so not emitting event

Keep getting banned

I've been doing more tests, creating numbers, chatting via my phone, getting replies etc, etc...

But as soon as I try to send a message via the API the first message is sent as: waiting for this message this may take a while

And whenever I send another one it bans the number.

This time the IP I'm using is residential and the same one where the phone is at. (sending via the phone works just fine)

This are the logs I see when sending via the api:

[Client/Send DEBUG] <iq id="67.158-13" to="s.whatsapp.net" type="get" xmlns="usync"><usync context="message" index="0" last="true" mode="query" sid="67.158-12"><query><devices version="2"/></query><list><user jid="[email protected]"/><user jid="[email protected]"/></list></usync></iq>

[Client/Send DEBUG] <iq id="67.158-14" to="s.whatsapp.net" type="get" xmlns="encrypt"><key><user jid="receiver_number.0:[email protected]" reason="identity"/><user jid="receiver_number.0:[email protected]" reason="identity"/><user jid="receiver_number.0:[email protected]" reason="identity"/></key></iq>

[Client/Recv DEBUG] <iq from="s.whatsapp.net" id="67.158-13" type="result"><usync context="message" index="0" last="true" mode="query" sid="67.158-12"><result><devices/></result><list><user jid="[email protected]"><devices><device-list><device id="0"/><device id="1" key-index="1"/></device-list><key-index-list ts="1635943982">0a1208ac8588c50610ae8c8a8c061801220201001240d91b7d1c2cc841db4886379fd1d483b5ca9d04179b96cf7c70269290b343aa1aee6f605ae5d6dff8a177e93d902270231199dd9ec7b7ef42a953ab14453cc60d</key-index-list></devices></user><user jid="[email protected]"><devices><device-list><device id="0"/><device id="2" key-index="1"/><device id="3" key-index="3"/></device-list><key-index-list ts="1635866815">0a13089b91c7fa0610bfb1858c061803220300010312409d9dbc9d80b49b1a8d248736b08e70d60341a51418f59fa18581101345cfc982b127b2e55ca2b5cde1bce1a6b2b44263969de75e9a47bd7c3bb61bf267138e06</key-index-list></devices></user></list></usync></iq>

[Client/Recv DEBUG] <iq from="s.whatsapp.net" id="67.158-14" type="result"><list><user jid="receiver_number.0:[email protected]" t="1635152159"><device-identity><!-- 148 bytes --></device-identity><registration>000017c4</registration><type>05</type><identity>b0e3a13ad13f87b6c98ebdfe63b24d235929eb9fb07ad3915b6edb2a8d4be166</identity><skey><id>000001</id><value>5507914be61671b2bff67d411751a85bd7dd37f6a3fe428a880bf330223e073b</value><signature>0e59d66dfab79cf28827d29d7e757c25be60a0594278e611b19262d7c1905e0105e53cdae8a317da05f6456512f8e411e0d38bca00a99ad1cfd146e64e17b201</signature></skey><key><id>00008d</id><value>58ef228b0b9b4470eaec5a31532b481ba7f8cc489112f434d5418a1664beb57f</value></key></user><user jid="receiver_number.0:[email protected]" t="1635866819"><device-identity><!-- 148 bytes --></device-identity><registration>00001a7c</registration><type>05</type><identity>1574d3ed8153b9f1f3be1262c3fe69a2173ee22fd532410bd0aae4f4a4ba137a</identity><skey><id>000001</id><value>038c711f6b8d2eec92534c8297b2b98ba7cb5f7b9cd03bf92f24aee5dbd9175b</value><signature>d3c3ec6997fc491ebb479c6604d38f2e97e917b4534bbb03ea8a7030479829918747afc78e9be704c59ca769b08437f965e1cc7792faac65250141f3ba71990c</signature></skey><key><id>00000c</id><value>4f8666095da22589d93806a653289ba59bf04b6e5c2c25813cf1ddc7f832a566</value></key></user><user jid="[email protected]" t="1633882725"><registration>10644b18</registration><type>05</type><identity>0d95eabdf750d14e09b26504e6e4750db97218b04482c7e4e3a9daaed1e3506e</identity><skey><id>1e109f</id><value>cf41a5212aa5830f2bf80e88d94cd3717c16d9da075f8a6c98f7814a0b7e6212</value><signature>2066983fad1c568738d3aabb535973ae6cc79ff1d3f1e438040154aa8f5c68d7dcf002dd2bdf07c25962922ea1555fbdc6215688b3a22d99c812a838bd944b0a</signature></skey><key><id>000177</id><value>658064e06c2f2b2f0ddac73abbb3339315438941cee573c0254158f332866a42</value></key></user></list></iq>

[Client DEBUG] Processing prekey bundle for receiver_number.0:[email protected]

[Client DEBUG] Processing prekey bundle for receiver_number.0:[email protected]

[Client DEBUG] Processing prekey bundle for receiver_number.0:[email protected]

[Client/Send DEBUG] <message id="8929688A91F10EBEEC631AD2B2E65331" to="[email protected]" type="text"><participants><to jid="sender_number.0:[email protected]"><enc type="msg" v="2"><!-- 146 bytes --></enc></to><to jid="receiver_number.0:[email protected]"><enc type="pkmsg" v="2"><!-- 184 bytes --></enc></to><to jid="receiver_number.0:[email protected]"><enc type="pkmsg" v="2"><!-- 182 bytes --></enc></to><to jid="receiver_number.0:[email protected]"><enc type="pkmsg" v="2"><!-- 181 bytes --></enc></to></participants><device-identity><!-- 148 bytes --></device-identity></message>

[Client/Recv DEBUG] <ack class="message" from="[email protected]" id="8929688A91F10EBEEC631AD2B2E65331" t="1635944692"/>

[Client/Recv DEBUG] <stream:error code="503"/>

[Client/Recv DEBUG] <xmlstreamend/>

[Client WARN] Received stream end frame

[Client WARN] Got 503 stream error, assuming automatic reconnect will handle it

[Client/Socket ERROR] Error reading from websocket: websocket: close 1006 (abnormal closure): unexpected EOF

[Client/Socket DEBUG] Frame websocket read pump exiting 0x1af1740

[Client DEBUG] Emitting Disconnected event

I'm using the version go.mau.fi/whatsmeow v0.0.0-20211103085107-c2cda88e7160

Disable logs

Is there anyway to disable debug logs? I can't seems to find it.

How to RevokeMessage just for Me, not Everyone ?

Hi Guys, i want to know is there a way to delete/revoke message just for me not everyone ?

func (cli *Client) RevokeMessage(chat types.JID, id types.MessageID) (time.Time, error)

i have read the docs, and there is no option to revoke just for me, I want to know is there any workaround for this case.

Thanks,

panic: unaligned 64-bit atomic operation when running on raspberry pi 4

Following your advice I'm trying to host the service from my home network using my raspberrypi but since its using an arm32 it throws this error:

panic: unaligned 64-bit atomic operation

goroutine 6 [running]:
runtime/internal/atomic.panicUnaligned()
/usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Xadd64(0x1907c0c, 0x1)
/usr/local/go/src/runtime/internal/atomic/atomic_arm.s:256 +0x14
go.mau.fi/whatsmeow.(*Client).generateRequestID(0x1907b30)
/home/pi/go/pkg/mod/go.mau.fi/[email protected]/request.go:20 +0x34
go.mau.fi/whatsmeow.(*Client).sendIQAsync(0x1907b30, {{0x7f3410, 0x3}, {0x7f32b4, 0x3}, {{0x0, 0x0}, 0x0, 0x0, {0x7fce12, ...}, ...}, ...})
/home/pi/go/pkg/mod/go.mau.fi/[email protected]/request.go:83 +0x28
go.mau.fi/whatsmeow.(*Client).sendKeepAlive(0x1907b30, {0x8fdb6c, 0x1901b00})
/home/pi/go/pkg/mod/go.mau.fi/[email protected]/keepalive.go:42 +0xa4
go.mau.fi/whatsmeow.(*Client).keepAliveLoop(0x1907b30, {0x8fdb6c, 0x1901b00})
/home/pi/go/pkg/mod/go.mau.fi/[email protected]/keepalive.go:32 +0x1b8
created by go.mau.fi/whatsmeow.(*Client).Connect
/home/pi/go/pkg/mod/go.mau.fi/[email protected]/client.go:159 +0x354

It seems something related to this issue and I've seen it fixed by changing in64 to uint64 where it can be. Although its too low level for me to fully comprehend.

Presence Event Confusing

under events.Presence Unavailable always return true maybe return false The result of my tests usually returns true. Is this working well or am I missing something?

panic: interface conversion: interface {} is []binary.Node, not []uint8

`panic: interface conversion: interface {} is []binary.Node, not []uint8

goroutine 175 [running]:
go.mau.fi/whatsmeow.(*Client).parseGroupChange(0xc000801380, 0xc000caa390)
/home/romerito007/go/src/go.mau.fi/whatsmeow/group.go:446 +0x143d
go.mau.fi/whatsmeow.(*Client).parseGroupNotification(0x1262348, 0xc000674330)
/home/romerito007/go/src/go.mau.fi/whatsmeow/group.go:485 +0x99
go.mau.fi/whatsmeow.(*Client).handleNotification(0xc0000d03c0, 0xc000caa390)
/home/romerito007/go/src/go.mau.fi/whatsmeow/notification.go:86 +0x1db
go.mau.fi/whatsmeow.(*Client).handlerQueueLoop(0xc0000d03c0, {0x14bea58, 0xc000851880})
/home/romerito007/go/src/go.mau.fi/whatsmeow/client.go:382 +0x6b
created by go.mau.fi/whatsmeow.(*Client).Connect
/home/romerito007/go/src/go.mau.fi/whatsmeow/client.go:162 +0x425
time="2021-11-05T14:15:50-03:00" level=info msg="Create connection database" label="Initializing connection creation:" service=smartt-srv
time="2021-11-05T14:15:50-03:00" level=info msg="Server worker started at PID: 1 listening on 0.0.0.0:3000" label=http-server service=smartt-srv
time="2021-11-05T14:15:50-03:00" level=info msg="Database connection successful" label="INFO DATABASE:" service=smartt-srv`

Program crash when client logout from linked devices.

This is the error:
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x82a465]
go.mau.fi/whatsmeow.(*Client).sendProtocolMessageReceipt(0xc000194000, {0xc00023a080, 0xc000740160}, {0xa159df, 0x8})
/root/go/pkg/mod/go.mau.fi/[email protected]/message.go:370 +0x145
go.mau.fi/whatsmeow.(*Client).handleProtocolMessage(0xe, 0xc0003ac340, 0xc0003ac340)
/root/go/pkg/mod/go.mau.fi/[email protected]/message.go:319 +0x106
created by go.mau.fi/whatsmeow.(*Client).handleDecryptedMessage
/root/go/pkg/mod/go.mau.fi/[email protected]/message.go:343 +0x487
exit status 2

Issue when send first message

hello ,
i am getting weird problem . when ever i send message to any number first time its shows error to receiver's mobile . from 2nd message onwords its working fine . shows waiting for this message.This may takes a while.

139803571-fea86aab-5f6e-4756-a9c2-01ef308c8c1b

Getting blocked when creating group

The moment I create a group, I get blocked instantly on WhatsApp

This is the code I'm using

        participants := []types.JID{}
        for _, p := range strings_participants {
            jid, _ := parseJID(p)
            participants = append(participants, jid)
        }

        info, err := client.CreateGroup("group name", participants)

Any Ideas why I could be getting blocked when doing this?

OrderMessage details

I working on a feature and I need to get a order message and get the order details, I'd like to know if is it possible to get this content? Today only some information arrived, how total quantity and price.

image
image
image

tks

Group messages are too slow

Hi Tulir,

While it takes 5-6 seconds message to dm, it can take 20-25 seconds message to group.

groupInfo, err := cli.GetGroupInfo(to)

What if we cache group info state's as atomic.Value in sendGroup func instead of getting it with GetGroupInfo every time? This atomic.Value can be updated with HandleGroupInfo and JoinedGroup event. What are you thinking?

if val := cli.privacySettingsCache.Load(); val != nil && !ignoreCache {

It could be something like this.

IOS dont support foward

I try to send image and pdf by foward, but IOS users can't open

My protoImage Message structure in addition to the required fields, I send the contextInfo field as follows

ContextInfo:   &proto.ContextInfo{
            IsForwarded: protobuf.Bool(forward),   
            ForwardingScore: protobuf.Uint32(score)           
}

where forward is true and score equal 1.

This is a message in IOS
image

Any doc.

Thank you so much,
I wonder if you will keep the same workflow for the back compatibly.
And are there any docs.?

ERROR info.Chat is null for status@broadcast type

[06:01:21 17.10.2021] [Client/DEBUG] Decrypting 2 messages from status@broadcast
Received message: senderKeyDistributionMessage:{groupId:"status@broadcast" axolotlSenderKeyDistributionMessage:"3\x08\x92Ș\xba\x05\x10%\x1a \x1d\x88&\xf3\x98M\xa3V~\xad\n\xc6\x12\x12\xfd\x99\xfe\xcfH\x92x\xb4\x86\xa3\xfbn\x86x+\x93!{"!\x05r\x1e\x87\xff\x02\x81f\xe8x\xfb\xae\xb5.\x9a##8M\xc0\xae\xfft\xe7\x87R\xaf\xa3~\xb2\x07\xbd'"} messageContextInfo:{deviceListMetadata:{recipientKeyHash:"5r@\\:\x04\xe0\x19{"} deviceListMetadataVersion:2} -- info: &{From:status@broadcast Chat: ID:FAE197E32DAB64AC743CC7D32A798F47 Type: Recipient: Notify:Edinéia Timestamp:1634443764 Category:}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7e2659]

goroutine 40 [running]:
go.mau.fi/whatsmeow.(*Client).handleDecryptedMessage(0xc0000bc2d0, 0xc000520090, 0xc0000fa000)
/home/romerito007/Documentos/Hibot-Projetos/GolandProject/whatsmeow/message.go:282 +0xd9
go.mau.fi/whatsmeow.(*Client).decryptMessages(0xc00020a000, 0xc000520090, 0xc000184b70)
/home/romerito007/Documentos/Hibot-Projetos/GolandProject/whatsmeow/message.go:143 +0x67a
created by go.mau.fi/whatsmeow.(*Client).handleEncryptedMessage
/home/romerito007/Documentos/Hibot-Projetos/GolandProject/whatsmeow/message.go:225 +0x15f

Process finished with the exit code 2

Observation: info.Chat is null for status@broadcast type

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.