All Questions
Tagged with spring-websocket sockets
16
questions
-1
votes
1
answer
35
views
Unable to hit the websocket endpoint from frontend
I am writing have configured websocket endpoint using below given code at backend part. And I created a endpoint in controller. Now I am hitting the url from front end but the controller method is not ...
1
vote
0
answers
80
views
Test a websocket project by postman
I am learning about websocket by this https://github.com/ali-bouali/spring-boot-websocket-chat-app.
I have this controller class:
@MessageMapping("/chat.sendMessage")
@SendTo("/topic/...
0
votes
1
answer
1k
views
Is there a way to allow only one request to be executed at a time in java rest service based on the priority of the request?
I have a Java service with REST API. From the client side there can be multiple request sent at a time, and I want one request to be implemented at a time on server side by the API. The problem is ...
0
votes
1
answer
1k
views
Web Socket send private notification to a specific user from database
This is my first time working with websockets , I am trying to create an application that sends global notifications to everyone and also private notifications for specific users from Database. I have ...
0
votes
1
answer
1k
views
How to subscribe websocket by Chrome extensions?
I am try to implement a basic web socket app by following this tutorial:https://spring.io/guides/gs/messaging-stomp-websocket/
However, in that tutorial there was a client UI implementation. I don't ...
1
vote
0
answers
437
views
Websocket with HTTPS (liferay, tomcat 7, WSS)
I am actively looking for a solution to this issue with HTTPS request for connecting with WebSocket.
I am using the following:
Apache ActiveMQ 5.15.10
Liferay 6.2
When I was using Localhost:9080 at ...
1
vote
0
answers
824
views
Migrate nio based socket programming to Spring Web Socket
Currently we have a requirement where in , The Client and Server are Java applications that communicate with each other using Java NIO Sockets, Selectors and SocketChannel
However in our new ...
3
votes
1
answer
487
views
Why isnt my sockets onsubscribe event getting used?
I am using java springboot with maven in order to get the spring boot starter socket package. My clients are using angular with stompjs and sockjs-client.
I am trying to set up a simple web socket ...
0
votes
1
answer
1k
views
Spring websocket with sockJS only working in local machine [duplicate]
In my application, WebSocket is working fine in local. But when I deployed to an external server, I am getting the error,
WebSocket connection to 'ws://192.*..**/ws/279/asm4kjqd/websocket?token=...
0
votes
2
answers
601
views
How to send web sockets from an internet web application to a local server
I'm developing a web application called myWebApp using Spring MVC, myWebApp is deployed on a remote server in the internet.
I want to use MyWebApp to communicate with a server using TCP socket via ...
1
vote
1
answer
836
views
Websocket blocks without timing out on client plug pull/power loss
I have an odd issue with my Tomcat + Spring websocket application. When a user disconnects without sending a "closing" signal, due to power loss or a plug pull, the thread will block about 10 seconds ...
1
vote
0
answers
523
views
Socket Session getting closed after single message
Debugging is being using Simple Web Socket Client.
So, my socket gets active on port X,
I successfully get the "Hello new client" message on Client.
When i send the first request/data to the ...
1
vote
0
answers
16
views
invalid time when using socket.js with spring boot
I am trying to use this project
Github project and send a message
but when I use it, it gives all message date invalid. but if I refresh the page it set the right messages time what is the problem
3
votes
1
answer
892
views
Missing data from socket
I am trying to write Java code to receive data from a streaming HTTP connection (I would like to debug a problem I have with running Sockjs XHR-streaming against a spring-websocket server).
I use ...