Giter Site home page Giter Site logo

wpp-api-ws's People

Contributors

bobaoapae avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wpp-api-ws's Issues

您好,运行test报错了

12月 13, 2021 12:28:02 下午 br.com.zapia.wpp.api.ws.WhatsAppClient onMessage
严重: OnMessage
java.lang.IllegalStateException: Invalid message received
at br.com.zapia.wpp.api.ws.NoiseHandler.decodeFrame(NoiseHandler.java:118)
at br.com.zapia.wpp.api.ws.WhatsAppClient.onMessage(WhatsAppClient.java:1573)
at org.java_websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:641)
at org.java_websocket.drafts.Draft_6455.processFrameBinary(Draft_6455.java:936)
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:889)
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:401)
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:233)
at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:516)
at java.base/java.lang.Thread.run(Thread.java:833)

12月 13, 2021 12:28:02 下午 br.com.zapia.wpp.api.ws.WhatsAppClient onClose
严重: Ws Disconnected with code: {1006} and reason: {}. fromRemote: {true}

test was failed(

good time of day,
here some problem on running test:
first test was passed,
then the second test was failed on sending ["iq",{"to":"@s.whatsapp.net","id":"2438581641","type":"result"},"[]"]
after recieving this message : ["iq",{"xmlns":"md","from":"[email protected]","id":"2438581641","type":"set"},[["pair-device",{},[["ref",{},"2@trYZ ....

The error was ["stream:error",{},[["xml-not-well-formed",{},null]]]
Please could you help me on that, what I did wrong?

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.