Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
634 stars 185 forks source link

Unexpected disconnects(Bad mac and other related issues) #292

Closed open-sudo closed 4 months ago

open-sudo commented 1 year ago

I am seeing this error a lot. Any idea? I am running 3.4.0. The application would run for an hour or so and then sudently this exception would happen which kills the application. App is running on Ubuntu 22 with Java 17.

Received node Node[description=stream:error, content=[Node[description=bad-mac]]]
2023-05-22 21:39:35,625 SEVERE [ErrorHandler] (ForkJoinPool.commonPool-worker-1) Socket failure at CRYPTOGRAPHY
java.lang.RuntimeException: Detected a bad mac
        at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:547)
        at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:88)
        at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:166)
        at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Auties00 commented 1 year ago

I am seeing this error a lot. Any idea? I am running 3.4.0. The application would run for an hour or so and then sudently this exception would happen which kills the application. App is running on Ubuntu 22 with Java 17.

Received node Node[description=stream:error, content=[Node[description=bad-mac]]]
2023-05-22 21:39:35,625 SEVERE [ErrorHandler] (ForkJoinPool.commonPool-worker-1) Socket failure at CRYPTOGRAPHY
java.lang.RuntimeException: Detected a bad mac
        at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:547)
        at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:88)
        at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:166)
        at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

The easy fix is to disconnect all of the companions from your device and try again. I'm working on fixing it, it's some malformed node I'm sending that I can't find

Auties00 commented 1 year ago

Can you try the latest commit?

open-sudo commented 1 year ago

Trying the master results in this after processing a number of messages. I have two connections with this whatsapp account: the connection from the phone and the one from Whatsapp4j.

  at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:554)
        at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:89)
        at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:188)
        at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
2023-05-23 14:56:47,194 WARNING [ErrorHandler] (ForkJoinPool.commonPool-worker-6) Socket failure at CRYPTOGRAPHY
Auties00 commented 1 year ago

Trying the master results in this after processing a number of messages. I have two connections with this whatsapp account: the connection from the phone and the one from Whatsapp4j.

  at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:554)
        at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:89)
        at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:188)
        at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
2023-05-23 14:56:47,194 WARNING [ErrorHandler] (ForkJoinPool.commonPool-worker-6) Socket failure at CRYPTOGRAPHY

can you try 3.4.1? delete all of your sessions first

open-sudo commented 1 year ago

Got this one. It's the same as previous one.

        at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:554)
        at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:89)
        at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:188)
        at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
2023-05-24 14:08:09,931 WARNING [ErrorHandler] (ForkJoinPool.commonPool-worker-5) Socket failure at CRYPTOGRAPHY
lucasfmoreno commented 1 year ago

I'm still having some problems too.

Don't know if it will be useful but: I went back to 3.0.5 and log in works way better. Also there's a way to list open connections.

Maybe, at least for login, going back to that version code would work.

ZiemlichUndead commented 1 year ago

I can confirm I'm getting the same error on 3.4.1 if that helps in any way.

hamarna commented 1 year ago

Maybe it will help:

java.lang.RuntimeException: Detected a bad mac, unresolved nodes:
Node[description=presence, attributes={id=b76de945-33c1-47c3-8cf7-57429dfbd6ee, type=available}]
Node[description=iq, attributes={xmlns=privacy, to=s.whatsapp.net, id=4d7cc1a2-62d0-46d6-97c8-95c4e4c6ffa9, type=get}, content=[Node[description=privacy]]]
Node[description=iq, attributes={xmlns=abt, to=s.whatsapp.net, id=f33e3d9d-f35c-44db-9c31-28623e51fcb5, type=get}, content=[Node[description=props, attributes={protocol=1}]]]
Node[description=iq, attributes={xmlns=w:profile:picture, to=s.whatsapp.net, id=a299f81b-4641-41b0-a2a3-8ed6c0d886a3, type=get, target=37376068087@s.whatsapp.net}, content=[Node[description=picture, attributes={query=url, type=image}]]]
Node[description=iq, attributes={xmlns=w, to=s.whatsapp.net, id=626873a4-7e89-4ced-8d77-87e3d1b8386b, type=get}, content=[Node[description=props]]]
Node[description=iq, attributes={xmlns=blocklist, to=s.whatsapp.net, id=c8918485-3a5b-4544-a1e5-c03c06babb3d, type=get}]
Node[description=iq, attributes={xmlns=w:m, to=s.whatsapp.net, id=0bbe1606-3106-4acf-b306-513f5c79d6b9, type=set}, content=[Node[description=media_conn]]]
Node[description=iq, attributes={xmlns=usync, to=s.whatsapp.net, id=bd4ed428-9d5b-4b71-8ed9-79f9e02f924e, type=get}, content=[Node[description=usync, attributes={mode=query, last=true, context=interactive, index=0, sid=664d05dd-f1dd-4abd-a872-184edfb529cd}, content=[Node[description=query, content=[Node[description=status]]], Node[description=list, content=[Node[description=user, attributes={jid=<hidden>@s.whatsapp.net}]]]]]]]

Version: 3.4.1

GDB4J commented 1 year ago

Got the same problem on 3.4.4

Maybe this will give a clue

ErrorHandler | Socket failure at CRYPTOGRAPHY
Detected a bad mac, unresolved nodes:
Node[description=iq, attributes={id=3037389712, to=s.whatsapp.net, type=result}, content=[Node[description=pair-device-sign, content=[Node[description=device-identity, attributes={key-index=182}, content=[26, 64, -57, 97, -32, 65, 98, 104, 124, 82, -105, -56, 87, 28, 50, 84, 38, 23, 110, 44, 18, 19, 45, 54, -123, 78, 68, -36, -71, 38, 126, 108, 6, -90, -61, 60, -101, -90, -93, -4, 52, 61, 90, 8, 30, 105, -65, 127, -60, -39, -14, 89, -76, -57, 17, 46, -52, -126, -114, -79, 100, 85, -64, -50, -59,.....
open-sudo commented 1 year ago

Make sure you delete ~/.whatsapp4j/. Also, I noticed it might happen a few times on startup. But once it is up and running, that problem goes away. Also make sure you do not call changePresence().

Try the following reproducer and see if you can reproduce the error: https://github.com/kubecutle/reproducer.git.

If the reproducer runs without problem, then something in your code is likely incompatible with the current whatsapp protocol. In my case it was changePresence().

GDB4J commented 1 year ago

delete ~/.whatsapp4j/

Did it serveral times, no succes so far. Got a successfull login, when scanning QR i got this error and api is not connected Also several message are logged to console:

make sure you do not call changePresence()

I have nothing in my code regarding "changePresence" or whatsoever

I'm using spring boot Problem is occurring on Ubuntu 22 with Java 17.

open-sudo commented 1 year ago

I use Ubuntu 22 and Java 17 as well. Please try the reproducer if you don't mind. It is very simple with no framework.

GDB4J commented 1 year ago

I use Ubuntu 22 and Java 17 as well. Please try the reproducer if you don't mind. It is very simple with no framework.

Well, your reproducer always uses a "newConnection", which is different from what I am trying to achieve with "lastconnection". So in my case, it's not that useful.

Also you are using version

<whatsapp4j.version>38.0.500</whatsapp4j.version>

Which doesn't seem a valid version to me. I'm using current latest version 3.4.4

open-sudo commented 1 year ago

Sure. I just changed the version to 3.4.4 and changed the code to use lastConnection. is still works for me. Again, few initial start fail but eventually it starts and runs fine.

ZiemlichUndead commented 1 year ago

Sure. I just changed the version to 3.4.4 and changed the code to use lastConnection. is still works for me. Again, few initial start fail but eventually it starts and runs fine.

I get the same error with your reproducer on 3.4.4. I do not get the error during the start i get it when i send any messages to the reproducer.

Juni 06, 2023 12:10:53 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1 SCHWERWIEGEND: Socket failure at CRYPTOGRAPHY java.lang.RuntimeException: Detected a bad mac, unresolved nodes: Node[description=ack, attributes={id=3081466400, to=s.whatsapp.net, type=server_sync, class=notification}] Node[description=presence, attributes={name=Whatsapp4j, id=698b7b5e-d4fb-42db-8e00-d65833ed0513, type=unavailable}] Node[description=iq, attributes={id=4039941036, to=s.whatsapp.net, type=result}, content=[Node[description=pair-device-sign, content=[Node[description=device-identity, attributes={key-index=1}, content=[26, 64, 93, 45, -99, -108, -75, -74, 42, -75, 77, -42, 50, 54, -45, -62, -30, -29, -111, -21, -56, -61, 100, -71, -35, 88, 97, -53, 49, -92, 95, -31, 96, -40, -5, 38, -118, 10, -91, 85, -19, -3, -15, -22, -11, 92, -52, -5, 33, 35, -7, -53, -33, -93, 50, 42, 72, -53, 122, -3, -74, -10, 89, 103, -36, 5, 10, 14, 8, -49, -28, -96, -38, 1, 16, -59, -70, -7, -93, 6, 24, 1, 34, 64, 105, -54, 108, 78, 36, -105, -70, -14, 33, 40, 109, -40, -75, -41, 48, -120, -23, 64, 86, -70, 110, -66, 111, 27, 122, -63, -11, 124, 84, 121, -110, 80, -89, -61, 87, -116, -25, 64, 25, 80, -56, -11, 58, 96, -126, -54, 46, -105, -9, 57, -44, -49, -89, 66, 75, 89, 78, -83, 50, -105, 103, 108, 61, 14]]]]]] Node[description=presence, attributes={id=202573ed-463a-49bd-acf6-ddf2e6fc7b85, type=available}] Node[description=ack, attributes={id=3EB02EAA1DE1542CE493FD, to=xxx:73@s.whatsapp.net, type=text, class=message}] Node[description=presence, attributes={name=Home (Beta), id=5908ca14-460c-4682-b40b-16b0f99c82ba, type=available}] Node[description=chatstate, attributes={from=xxx:35@s.whatsapp.net, to=xxx:73@s.whatsapp.net, id=02ee8989-c5e8-445a-b4d9-d8a98d0a6499}, content=[Node[description=composing]]] Node[description=ack, attributes={id=3248003118, to=xxx@s.whatsapp.net, type=account_sync, class=notification}] Node[description=ack, attributes={id=2094445273, to=s.whatsapp.net, type=server_sync, class=notification}] Node[description=chatstate, attributes={from=xxx:35@s.whatsapp.net, to=xxx:73@s.whatsapp.net, id=01154a61-cc49-442b-8249-111bdf47d28e}, content=[Node[description=composing]]] Node[description=ack, attributes={id=3EB01415398AF659EF2768, to=xxx:73@s.whatsapp.net, type=text, class=message}] Node[description=iq, attributes={id=1352648877, to=s.whatsapp.net, type=result}] at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:573) at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:94) at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:190) at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Juni 06, 2023 12:10:53 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1 WARNUNG: Socket failure at CRYPTOGRAPHY

Goddino-Repo commented 1 year ago

I get the same error with your reproducer on 3.4.4.

Juni 06, 2023 12:10:53 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1 SCHWERWIEGEND: Socket failure at CRYPTOGRAPHY java.lang.RuntimeException: Detected a bad mac, unresolved nodes: Node[description=ack, attributes={id=3081466400, to=s.whatsapp.net, type=server_sync, class=notification}] Node[description=presence, attributes={name=Whatsapp4j, id=698b7b5e-d4fb-42db-8e00-d65833ed0513, type=unavailable}] Node[description=iq, attributes={id=4039941036, to=s.whatsapp.net, type=result}, content=[Node[description=pair-device-sign, content=[Node[description=device-identity, attributes={key-index=1}, content=[26, 64, 93, 45, -99, -108, -75, -74, 42, -75, 77, -42, 50, 54, -45, -62, -30, -29, -111, -21, -56, -61, 100, -71, -35, 88, 97, -53, 49, -92, 95, -31, 96, -40, -5, 38, -118, 10, -91, 85, -19, -3, -15, -22, -11, 92, -52, -5, 33, 35, -7, -53, -33, -93, 50, 42, 72, -53, 122, -3, -74, -10, 89, 103, -36, 5, 10, 14, 8, -49, -28, -96, -38, 1, 16, -59, -70, -7, -93, 6, 24, 1, 34, 64, 105, -54, 108, 78, 36, -105, -70, -14, 33, 40, 109, -40, -75, -41, 48, -120, -23, 64, 86, -70, 110, -66, 111, 27, 122, -63, -11, 124, 84, 121, -110, 80, -89, -61, 87, -116, -25, 64, 25, 80, -56, -11, 58, 96, -126, -54, 46, -105, -9, 57, -44, -49, -89, 66, 75, 89, 78, -83, 50, -105, 103, 108, 61, 14]]]]]] Node[description=presence, attributes={id=202573ed-463a-49bd-acf6-ddf2e6fc7b85, type=available}] Node[description=ack, attributes={id=3EB02EAA1DE1542CE493FD, to=xxx:73@s.whatsapp.net, type=text, class=message}] Node[description=presence, attributes={name=Home (Beta), id=5908ca14-460c-4682-b40b-16b0f99c82ba, type=available}] Node[description=chatstate, attributes={from=xxx:35@s.whatsapp.net, to=xxx:73@s.whatsapp.net, id=02ee8989-c5e8-445a-b4d9-d8a98d0a6499}, content=[Node[description=composing]]] Node[description=ack, attributes={id=3248003118, to=xxx@s.whatsapp.net, type=account_sync, class=notification}] Node[description=ack, attributes={id=2094445273, to=s.whatsapp.net, type=server_sync, class=notification}] Node[description=chatstate, attributes={from=xxx:35@s.whatsapp.net, to=xxx:73@s.whatsapp.net, id=01154a61-cc49-442b-8249-111bdf47d28e}, content=[Node[description=composing]]] Node[description=ack, attributes={id=3EB01415398AF659EF2768, to=xxx:73@s.whatsapp.net, type=text, class=message}] Node[description=iq, attributes={id=1352648877, to=s.whatsapp.net, type=result}] at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:573) at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:94) at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:190) at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Juni 06, 2023 12:10:53 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1 WARNUNG: Socket failure at CRYPTOGRAPHY

Same error after a lot of messages received

Goddino-Repo commented 1 year ago

I get the same error with your reproducer on 3.4.4.

Juni 06, 2023 12:10:53 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1 SCHWERWIEGEND: Socket failure at CRYPTOGRAPHY java.lang.RuntimeException: Detected a bad mac, unresolved nodes: Node[description=ack, attributes={id=3081466400, to=s.whatsapp.net, type=server_sync, class=notification}] Node[description=presence, attributes={name=Whatsapp4j, id=698b7b5e-d4fb-42db-8e00-d65833ed0513, type=unavailable}] Node[description=iq, attributes={id=4039941036, to=s.whatsapp.net, type=result}, content=[Node[description=pair-device-sign, content=[Node[description=device-identity, attributes={key-index=1}, content=[26, 64, 93, 45, -99, -108, -75, -74, 42, -75, 77, -42, 50, 54, -45, -62, -30, -29, -111, -21, -56, -61, 100, -71, -35, 88, 97, -53, 49, -92, 95, -31, 96, -40, -5, 38, -118, 10, -91, 85, -19, -3, -15, -22, -11, 92, -52, -5, 33, 35, -7, -53, -33, -93, 50, 42, 72, -53, 122, -3, -74, -10, 89, 103, -36, 5, 10, 14, 8, -49, -28, -96, -38, 1, 16, -59, -70, -7, -93, 6, 24, 1, 34, 64, 105, -54, 108, 78, 36, -105, -70, -14, 33, 40, 109, -40, -75, -41, 48, -120, -23, 64, 86, -70, 110, -66, 111, 27, 122, -63, -11, 124, 84, 121, -110, 80, -89, -61, 87, -116, -25, 64, 25, 80, -56, -11, 58, 96, -126, -54, 46, -105, -9, 57, -44, -49, -89, 66, 75, 89, 78, -83, 50, -105, 103, 108, 61, 14]]]]]] Node[description=presence, attributes={id=202573ed-463a-49bd-acf6-ddf2e6fc7b85, type=available}] Node[description=ack, attributes={id=3EB02EAA1DE1542CE493FD, to=xxx:73@s.whatsapp.net, type=text, class=message}] Node[description=presence, attributes={name=Home (Beta), id=5908ca14-460c-4682-b40b-16b0f99c82ba, type=available}] Node[description=chatstate, attributes={from=xxx:35@s.whatsapp.net, to=xxx:73@s.whatsapp.net, id=02ee8989-c5e8-445a-b4d9-d8a98d0a6499}, content=[Node[description=composing]]] Node[description=ack, attributes={id=3248003118, to=xxx@s.whatsapp.net, type=account_sync, class=notification}] Node[description=ack, attributes={id=2094445273, to=s.whatsapp.net, type=server_sync, class=notification}] Node[description=chatstate, attributes={from=xxx:35@s.whatsapp.net, to=xxx:73@s.whatsapp.net, id=01154a61-cc49-442b-8249-111bdf47d28e}, content=[Node[description=composing]]] Node[description=ack, attributes={id=3EB01415398AF659EF2768, to=xxx:73@s.whatsapp.net, type=text, class=message}] Node[description=iq, attributes={id=1352648877, to=s.whatsapp.net, type=result}] at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:573) at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:94) at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:190) at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:122) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Juni 06, 2023 12:10:53 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1 WARNUNG: Socket failure at CRYPTOGRAPHY

Same error after a lot of messages received

But I had 2 sessions when I tried 🤔 Maybe I can try with a single session

Auties00 commented 1 year ago

this is 100% still an issue, I'm still trying to understand which node is causing this problem

GDB4J commented 1 year ago

@Auties00 Using version 3.4.8 Since 23-06-22 22:09:12,245 my connection was disconnected, and i'm not able to connect again currently:

23-06-22 22:09:12,245 | DEBUG | pool-2-thread-137 | xxx.WhatsappApiListener | [Whats App] Disconnect (whatsapp, reason)
2023-06-22 22:09:12,246 | DEBUG | pool-2-thread-137 | xxx.WhatsappApiListener | [Whats App] Disconnect reason: 'RECONNECTING'
2023-06-22 22:09:12,246 | DEBUG | pool-2-thread-137 | xxx.WhatsappApiListener | [Whats App] Disconnect (reason)
2023-06-22 22:09:12,246 | DEBUG | pool-2-thread-137 | xxx.WhatsappApiListener | [Whats App] Disconnect reason: 'RECONNECTING'
2023-06-22 22:09:12,246 | DEBUG | pool-2-thread-137 | xxx.Service | Disconnected: RECONNECTING
2023-06-22 22:09:12,954 | ERROR | Thread-576469 | ErrorHandler | Socket failure at CRYPTOGRAPHY
2023-06-22 22:09:12,955 | ERROR | Thread-576469 | xxx.Service | WhatsApp Error: 'Detected a bad mac, unresolved nodes:
Node[description=iq, attributes={xmlns=w:m, to=s.whatsapp.net, id=ec164e4e-65b8-4a07-9a0c-ef68a6b2e63a, type=set}, content=[Node[description=media_conn]]]
Node[description=iq, attributes={xmlns=w:m, to=s.whatsapp.net, id=dcd89dad-8e9b-4ace-8b0f-23f24fbf5ef6, type=set}, content=[Node[description=media_conn]]]
Node[description=iq, attributes={xmlns=w:m, to=s.whatsapp.net, id=74624e43-5beb-488d-b045-bf7fed7359ac, type=set}, content=[Node[description=media_conn]]]
Node[description=iq, attributes={xmlns=w:m, to=s.whatsapp.net, id=d133e22b-3c49-44dc-92f2-387a85080102, type=set}, content=[Node[description=media_conn]]]
Node[description=iq, attributes={xmlns=w:m, to=s.whatsapp.net, id=45869632-1f83-462b-bc91-f4953a88b78a, type=set}, content=[Node[description=media_conn]]]

when i try right now, it looks like i'm able to login (through QR code scanning) but i'm not able to send any message ...

Auties00 commented 1 year ago

this is still an issue, I'm looking to fix it asap

Jandisson commented 1 year ago

Hi,

We are using your solutions and that would be very important to us to have it fixed. Can we help you somehow?

Thank you

imJohnYeager commented 1 year ago

Some news?

Auties00 commented 1 year ago

Some news?

I'm working on a big update which should fix the issue

ZiemlichUndead commented 1 year ago

Not sure if this is helpful but I also tried ignoring the cryptography error (bad mac) via a custom error handler which seemed to work at first but my sessions still break at some point because the socket gets closed. I get the exception below when this happens but i feel like the reason for the socket close (probably related to bad mac) is the real issue.

Also I wanna note that the last stable running version for me is still RC-26. It does get pretty slow when I send a lot of messages but i never had it loose the session. Every version after that had session breaks at some point. I already tried searching for the reason in the commits after that but I couldnt find much that made sense to me.

Error: STREAM java.util.concurrent.CompletionException: java.io.IOException: Cannot send Request[id=3EB044BAC0AEA1B8C73CE7, body=Node[description=receipt, attributes={id=3EB044BAC0AEA1B8C73CE7, to=4915126388321:85@s.whatsapp.net, participant=4915126388321:85@s.whatsapp.net}], future=java.util.concurrent.CompletableFuture@630002ff[Not completed, 1 dependents], filter=null, caller=java.lang.RuntimeException: Node[description=receipt, attributes={id=3EB044BAC0AEA1B8C73CE7, to=4915126388321:85@s.whatsapp.net, participant=4915126388321:85@s.whatsapp.net}] node timed out], an unknown exception occurred at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347) at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:781) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162) at it.auties.whatsapp.model.request.Request.onSendError(Request.java:137) at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990) at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.IOException: Cannot send Request[id=3EB044BAC0AEA1B8C73CE7, body=Node[description=receipt, attributes={id=3EB044BAC0AEA1B8C73CE7, to=4915126388321:85@s.whatsapp.net, participant=4915126388321:85@s.whatsapp.net}], future=java.util.concurrent.CompletableFuture@630002ff[Not completed, 1 dependents], filter=null, caller=java.lang.RuntimeException: Node[description=receipt, attributes={id=3EB044BAC0AEA1B8C73CE7, to=4915126388321:85@s.whatsapp.net, participant=4915126388321:85@s.whatsapp.net}] node timed out], an unknown exception occurred ... 5 more Caused by: java.util.concurrent.CompletionException: java.io.UncheckedIOException: Cannot send message at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807) ... 1 more Caused by: java.io.UncheckedIOException: Cannot send message at it.auties.whatsapp.socket.SocketSession.lambda$sendBinary$3(SocketSession.java:108) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ... 1 more Caused by: java.net.SocketException: Socket is closed at java.base/java.net.Socket.getOutputStream(Socket.java:998) at it.auties.whatsapp.socket.SocketSession.lambda$sendBinary$3(SocketSession.java:104) ... 2 more

Kronzii88 commented 11 months ago

image

i got some error using version 3.5.1

Kronzii88 commented 11 months ago

image

i got some error using version 3.5.1

I got this when using lastConnection()

Turiddru commented 10 months ago

Hi, same problem here! Do you have any news? If you need help to fix, we can support you.

ht-sp commented 9 months ago

I am receiving a similar exception if i reuse a session after while:

SEVERE: Socket failure at CRYPTOGRAPHY
java.lang.RuntimeException: Detected a bad mac, last node: Node[description=iq, attributes={from=s.whatsapp.net, id=0adcc5f5-16ae-48ec-9c14-586138258b11, type=error}, content=[Node[description=error, attributes={code=404, text=item-not-found}]]]
    at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:614)
    at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:103)
    at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:206)
    at it.auties.whatsapp.socket.SocketSession.readMessages(SocketSession.java:123)
    at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
    at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:373)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Auties00 commented 8 months ago

Should be a lot better in 0.0.1, please let me know

laotong95 commented 8 months ago

SEVERE: Socket failure at CRYPTOGRAPHY java.lang.RuntimeException: Detected a bad mac at it.auties.whatsapp.socket.StreamHandler.digestError(StreamHandler.java:831) at it.auties.whatsapp.socket.StreamHandler.digest(StreamHandler.java:103) at it.auties.whatsapp.socket.SocketHandler.onMessage(SocketHandler.java:192) at it.auties.whatsapp.socket.SocketSession$WebSocketSession.onBinary(SocketSession.java:166) at java.net.http/jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.processBinary(WebSocketImpl.java:618) at java.net.http/jdk.internal.net.http.websocket.WebSocketImpl$ReceiveTask.run(WebSocketImpl.java:447) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:177) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:282) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:251) at java.net.http/jdk.internal.net.http.websocket.WebSocketImpl.tryChangeState(WebSocketImpl.java:861) at java.net.http/jdk.internal.net.http.websocket.WebSocketImpl$SignallingMessageConsumer.onBinary(WebSocketImpl.java:802) at java.net.http/jdk.internal.net.http.websocket.MessageDecoder.payloadData(MessageDecoder.java:223) at java.net.http/jdk.internal.net.http.websocket.Frame$Reader.readFrame(Frame.java:473) at java.net.http/jdk.internal.net.http.websocket.TransportImpl$ReceiveTask.run(TransportImpl.java:675) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:280) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:233) at java.net.http/jdk.internal.net.http.websocket.TransportImpl$ReadEvent.handle(TransportImpl.java:772) at java.net.http/jdk.internal.net.http.RawChannelTube$ReadSubscriber.checkEvents(RawChannelTube.java:174) at java.net.http/jdk.internal.net.http.RawChannelTube$ReadSubscriber.onNext(RawChannelTube.java:204) at java.net.http/jdk.internal.net.http.RawChannelTube$ReadSubscriber.onNext(RawChannelTube.java:157) at java.net.http/jdk.internal.net.http.common.SSLTube$DelegateWrapper.onNext(SSLTube.java:210) at java.net.http/jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper.onNext(SSLTube.java:492) at java.net.http/jdk.internal.net.http.common.SSLTube$SSLSubscriberWrapper.onNext(SSLTube.java:295) at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run1(SubscriberWrapper.java:316) at java.net.http/jdk.internal.net.http.common.SubscriberWrapper$DownstreamPusher.run(SubscriberWrapper.java:259) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:182) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:280) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:233) at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.outgoing(SubscriberWrapper.java:232) at java.net.http/jdk.internal.net.http.common.SubscriberWrapper.outgoing(SubscriberWrapper.java:198) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader.processData(SSLFlowDelegate.java:451) at java.net.http/jdk.internal.net.http.common.SSLFlowDelegate$Reader$ReaderDownstreamPusher.run(SSLFlowDelegate.java:269) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:182) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1423) at java.base/java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Jan 02, 2024 4:02:42 PM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1 WARNING: Socket failure at CRYPTOGRAPHY

laotong95 commented 8 months ago

It still looks like this after running for a few hours

ZiemlichUndead commented 8 months ago

I didnt get a bad mac but after a few days my connection died repeating the following over and over again.

java.net.SocketException: Connection reset at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:401) at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:434) at java.net.http/jdk.internal.net.http.SocketTube.readAvailable(SocketTube.java:1178) at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(SocketTube.java:841) at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(SocketTube.java:181) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:280) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:233) at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(SocketTube.java:782) at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(SocketTube.java:965) at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(SocketTube.java:253) at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:1467) at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(HttpClientImpl.java:1412) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:1412) java.util.concurrent.CompletionException: java.io.IOException: Cannot send SocketRequest[id=970D33BEC8C9FE6B, body=Node[description=iq, attributes={xmlns=w:p, to=s.whatsapp.net, type=get, id=970D33BEC8C9FE6B}, content=[Node[description=ping]]], future=java.util.concurrent.CompletableFuture@569724b6[Not completed, 1 dependents], filter=null, caller=it.auties.whatsapp.exception.RequestException: Node[description=iq, attributes={xmlns=w:p, to=s.whatsapp.net, type=get, id=970D33BEC8C9FE6B}, content=[Node[description=ping]]] node timed out], an unknown exception occurred at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347) at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:781) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2194) at it.auties.whatsapp.socket.SocketRequest.onSendError(SocketRequest.java:154) at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990) at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:974) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) at java.base/java.lang.Thread.run(Thread.java:1583) Caused by: java.io.IOException: Cannot send SocketRequest[id=970D33BEC8C9FE6B, body=Node[description=iq, attributes={xmlns=w:p, to=s.whatsapp.net, type=get, id=970D33BEC8C9FE6B}, content=[Node[description=ping]]], future=java.util.concurrent.CompletableFuture@569724b6[Not completed, 1 dependents], filter=null, caller=it.auties.whatsapp.exception.RequestException: Node[description=iq, attributes={xmlns=w:p, to=s.whatsapp.net, type=get, id=970D33BEC8C9FE6B}, content=[Node[description=ping]]] node timed out], an unknown exception occurred ... 5 more Caused by: java.util.concurrent.CompletionException: it.auties.whatsapp.exception.RequestException: java.util.concurrent.CompletionException: java.io.IOException: Output closed at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:994) at java.base/java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:1008) at java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2396) at it.auties.whatsapp.socket.SocketSession$WebSocketSession.sendBinary(SocketSession.java:100) at it.auties.whatsapp.socket.SocketRequest.send(SocketRequest.java:104) at it.auties.whatsapp.socket.SocketRequest.send(SocketRequest.java:166) at it.auties.whatsapp.socket.SocketHandler.send(SocketHandler.java:442) at it.auties.whatsapp.socket.SocketHandler.send(SocketHandler.java:429) at it.auties.whatsapp.socket.SocketHandler.sendQuery(SocketHandler.java:425) at it.auties.whatsapp.socket.SocketHandler.sendQuery(SocketHandler.java:405) at it.auties.whatsapp.socket.StreamHandler.sendPing(StreamHandler.java:1178) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ... 1 more Caused by: it.auties.whatsapp.exception.RequestException: java.util.concurrent.CompletionException: java.io.IOException: Output closed at it.auties.whatsapp.socket.SocketSession$WebSocketSession.lambda$sendBinary$1(SocketSession.java:102) at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:990) ... 16 more Caused by: java.util.concurrent.CompletionException: java.io.IOException: Output closed at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332) at java.base/java.util.concurrent.CompletableFuture.uniRunNow(CompletableFuture.java:813) at java.base/java.util.concurrent.CompletableFuture.uniRunStage(CompletableFuture.java:803) at java.base/java.util.concurrent.CompletableFuture.thenRun(CompletableFuture.java:2227) at it.auties.whatsapp.socket.SocketSession$WebSocketSession.sendBinary(SocketSession.java:99) ... 13 more Caused by: java.io.IOException: Output closed at java.net.http/jdk.internal.net.http.websocket.TransportImpl$SendTask.tryCompleteWrite(TransportImpl.java:619) at java.net.http/jdk.internal.net.http.websocket.TransportImpl$SendTask.run(TransportImpl.java:557) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149) at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:207) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:280) at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:233) at java.net.http/jdk.internal.net.http.websocket.TransportImpl.sendBinary(TransportImpl.java:174) at java.net.http/jdk.internal.net.http.websocket.WebSocketImpl.sendBinary(WebSocketImpl.java:216) at it.auties.whatsapp.socket.SocketSession$WebSocketSession.sendBinary(SocketSession.java:98) ... 13 more

Auties00 commented 5 months ago

I've finally fixed this annoying issue, i'll push by next week the fix. Turns out there was a race condition i never noticed in the code

WauHundeland commented 5 months ago

I've finally fixed this annoying issue, i'll push by next week the fix. Turns out there was a race condition i never noticed in the code

When are you pushing?

Darker935 commented 5 months ago

I've finally fixed this annoying issue, i'll push by next week the fix. Turns out there was a race condition i never noticed in the code

When are you pushing?

Auties just disappeared 💀

Auties00 commented 5 months ago

The release is out, my bad for taking my time You can test it out and let me know I have not seen any bad macs / disconnects after the update I've also added a reconnection system for network instabilities

Darker935 commented 5 months ago

No problems here, working fine

Auties00 commented 4 months ago

Ok ill close the issue then as i also haven't seen it happen again