-
๐ญ Iโm currently working on smicro-services professional class
-
๐จโ๐ป All of my projects are available at https://aliboucoding.com/courses
-
๐ I regularly write articles on https://aliboucoding.com
-
๐ฌ Ask me about Spring, Java, Docker, Kubernetes, AWS, Angular, Testing, ....
-
๐ซ How to reach me [email protected]
-
โก Fun fact Make learning funny
one-to-one-chat-spring-boot-web-socket's Introduction
one-to-one-chat-spring-boot-web-socket's People
Forkers
valorjj wolf88844 singhayush20 hiwon-lee lamiskid tenuun10 hafizhumza mohamedaitkhmim aslanshemilov men3sgit rakeshjj shinejose0007 lucasagw umesh7711 rs-dot-code insanecoder02 koniecznie mishowi lewi217 mannemlokeshone-to-one-chat-spring-boot-web-socket's Issues
I am getting error while connecting and disconnecting
I am getting error while connecting and disconnecting :-
org.springframework.messaging.MessageDeliveryException: Failed to handle GenericMessage [payload=byte[80], headers={simpMessageType=MESSAGE, conversionHint=method 'disconnectUser' parameter -1, contentType=application/json, simpSessionId=34daouqu, simpDestination=/user/public}] to org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask@6cdb28fd in UserDestinationMessageHandler[DefaultUserDestinationResolver[prefix=/user/]]
at org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask.run(ExecutorSubscribableChannel.java:153) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.support.ExecutorSubscribableChannel.sendInternal(ExecutorSubscribableChannel.java:100) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:139) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.support.AbstractMessageChannel.send(AbstractMessageChannel.java:125) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.SimpMessagingTemplate.sendInternal(SimpMessagingTemplate.java:187) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:162) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.SimpMessagingTemplate.doSend(SimpMessagingTemplate.java:48) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:109) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:151) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.core.AbstractMessageSendingTemplate.convertAndSend(AbstractMessageSendingTemplate.java:129) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.annotation.support.SendToMethodReturnValueHandler.handleReturnValue(SendToMethodReturnValueHandler.java:189) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:126) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler.handleMatch(AbstractMethodMessageHandler.java:579) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler.handleMatch(SimpAnnotationMethodMessageHandler.java:511) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.annotation.support.SimpAnnotationMethodMessageHandler.handleMatch(SimpAnnotationMethodMessageHandler.java:93) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler.handleMessageInternal(AbstractMethodMessageHandler.java:522) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler.handleMessage(AbstractMethodMessageHandler.java:457) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask.run(ExecutorSubscribableChannel.java:144) ~[spring-messaging-6.0.13.jar:6.0.13]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na]
Caused by: java.lang.IllegalArgumentException: Expected destination pattern "/user/{userId}/"**
at org.springframework.util.Assert.isTrue(Assert.java:122) ~[spring-core-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.user.DefaultUserDestinationResolver.parseMessage(DefaultUserDestinationResolver.java:190) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.user.DefaultUserDestinationResolver.parse(DefaultUserDestinationResolver.java:161) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.user.DefaultUserDestinationResolver.resolveDestination(DefaultUserDestinationResolver.java:128) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.simp.user.UserDestinationMessageHandler.handleMessage(UserDestinationMessageHandler.java:194) ~[spring-messaging-6.0.13.jar:6.0.13]
at org.springframework.messaging.support.ExecutorSubscribableChannel$SendTask.run(ExecutorSubscribableChannel.java:144) ~[spring-messaging-6.0.13.jar:6.0.13]
... 20 common frames omitted
when we hit message simultaneously form sender and recipient cause error? may sender message or recipient message not works asynchrously?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.