Replies: 4 comments 1 reply
-
@Auties00 Please help |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Auties00 Even, I am getting same error with your example code banBot.java |
Beta Was this translation helpful? Give feedback.
0 replies
-
is this group active or not? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is this issue fixed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
Currently, I am getting below exception, while scanning the QR Code.
Sep 27, 2023 2:14:46 PM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1
SEVERE: Socket failure at UNKNOWN
java.net.SocketException: Socket closed
at java.base/sun.nio.ch.NioSocketImpl.ensureOpenAndConnected(NioSocketImpl.java:165)
at java.base/sun.nio.ch.NioSocketImpl.beginRead(NioSocketImpl.java:236)
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:201)
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:172)
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)
Sep 27, 2023 2:14:46 PM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1
WARNING: Ignored failure
Sep 27, 2023 2:14:47 PM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1
SEVERE: Socket failure at LOGIN
java.util.concurrent.CompletionException: java.util.NoSuchElementException: Unknown privacy value: known
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$UniCompose.tryFire(CompletableFuture.java:1159)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
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)
Caused by: java.util.NoSuchElementException: Unknown privacy value: known
at it.auties.whatsapp.socket.StreamHandler.lambda$addPrivacySetting$36(StreamHandler.java:532)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at it.auties.whatsapp.socket.StreamHandler.addPrivacySetting(StreamHandler.java:532)
at it.auties.whatsapp.socket.StreamHandler.lambda$parsePrivacySettings$73(StreamHandler.java:851)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1242)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at it.auties.whatsapp.socket.StreamHandler.parsePrivacySettings(StreamHandler.java:852)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150)
... 6 more
Sep 27, 2023 2:14:47 PM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1
WARNING: Ignored failure
Sep 27, 2023 2:14:49 PM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1
SEVERE: Socket failure at CRYPTOGRAPHY
java.lang.RuntimeException: Detected a bad mac, last node: Node[description=ack, attributes={from=[email protected], id=5F183A02CC372FB5F60C55BE0B8A7795, type=hist_sync, class=receipt}]
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(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)
Sep 27, 2023 2:14:49 PM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$1
WARNING: Socket failure at CRYPTOGRAPHY
Please help on this.
My code snippet as
Whatsapp app = Whatsapp.webBuilder()
.newConnection()
.checkPatchMacks(true)
.autodetectListeners(true)
.historyLength(WebHistoryLength.ZERO)
.unregistered(QrHandler.toFile(qrPath, QrHandler.ToFileConsumer.toDesktop()))
.connect().join();
Beta Was this translation helpful? Give feedback.
All reactions