Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
102 views

Hello I've been facing a weird problem the past few days. I send out a demo of my app to a few people. however for around 75% of the people the demo didn't work, while for the other 25% it works great....
Christian2B's user avatar
0 votes
0 answers
28 views

I'm implementing private messaging with Spring WebSocket STOMP, but messages sent via convertAndSendToUser() are not being delivered, while broadcast messages work fine. The client subscribes to /user/...
OmniCoder77's user avatar
0 votes
0 answers
84 views

I'm working on a WebSocket proxy microservice in Java, built using the org.java_websocket.* library. It connects to a remote server that streams VNC data. The goal is to allow clients—like noVNC—to ...
Adam's user avatar
  • 51
0 votes
0 answers
27 views

I’m trying to implement WebSocket support in my Spring-based backend using STOMP over SockJS. The WebSocket connection is established successfully, but messages published from the backend to /queue/...
Siddique Ansari's user avatar
0 votes
1 answer
151 views

After moving from quarkus-websocket to quarkus-websockets-next, any HTTP GET to a @WebSocket path now errors with "Connection" header must be "Upgrade" This is because the new ...
BATMAN_2008's user avatar
  • 3,642
0 votes
0 answers
35 views

I have an Angular fontend application with a Spring Boot backend that uses websockets over Stomp. The app can successfully send websocket messages from the host to the browser. I need to now send ...
plex4r's user avatar
  • 373
0 votes
1 answer
242 views

I am trying to implement server, as java plain application, where clients could connect to a web socket. The goal is to connect client to a websocket via this url: ws://localhost:4550/api/myWebSocket ,...
Biggy Poopa's user avatar
2 votes
0 answers
43 views

I'm working on a Servlet application using WebSocket with a Tomcat 10.1 server. My goal is to create a one-player (host) game via a WebSocket and allow other players to join this game in real time ...
samuel silva's user avatar
1 vote
1 answer
133 views

Why this code does not receive any message: public class MainClass { public static void main(String[] args) throws Exception { CountDownLatch latch = new CountDownLatch(1); try (...
mah454's user avatar
  • 1,948
0 votes
0 answers
53 views

I'm trying to convert some python web socket code to Java (code that talks to a consumer device:) ssl_context = ssl.create_default_context() ssl_context.check_hostname = False ...
xpusostomos's user avatar
  • 1,696
0 votes
1 answer
65 views

I have WebSocket server: @ServerEndpoint(value = "/demoApp") public class MyWebSocketServer { @OnMessage public String onMessage (String message, Session session) throws IOException {...
Okneas's user avatar
  • 21
2 votes
1 answer
304 views

I followed this Spring Boot tutorial on Websockets implementing STOMP protocol which works perfectly on its own. I wanted to connect it to a frontend app which uses Expo so I am using STOMPjs After ...
noor soreti's user avatar
1 vote
0 answers
22 views

I'm using the ESP8266 Wi-Fi SoC to send data to a server, but the connection intermittently drops during normal operation. For instance, from the PowerShell prompt, I can see the counter repeatedly ...
Wenner's user avatar
  • 11
0 votes
0 answers
141 views

I have 2 websocket endpoints producing related messages: "ws://localhost:8032/posts" "ws://localhost:8032/comments" Comments are guaranteed to be published after a referred post ...
ishan's user avatar
  • 1,242
0 votes
1 answer
496 views

I have found a way to set the idle timeout for Jetty 11 WebSocket connections programmatically by invoking factory.setIdleTimeout in an implementation of the JettyWebSocketServlet.configure(...
Christian Grün's user avatar
1 vote
1 answer
96 views

Within my WebSocketConfig class: @Configuration @EnableWebSocketMessageBroker class WebsocketConfig(<...>) I override: @Bean(name = ["csrfChannelInterceptor"]) fun ...
Captain Jacky's user avatar
0 votes
0 answers
34 views

I have a Java app with a websocket server. It works via websockets. I need to add SSL in Nginx. I added two configurations: one for proxy by websocket and another for secure websocket server { ...
user3161584's user avatar
1 vote
1 answer
250 views

I'm using Quarkus coming back at it, after some years and trying to configure for the first time a WS client, but I'm struggling to find a solution. Related Dependencies in BoM version 3.7.1 io....
yamilmedina's user avatar
  • 3,395
2 votes
0 answers
186 views

Currently, I am running a WS (unsecure websocket) server using Grizzly and Tyrus for my messaging app. I have been trying for a while to switch to WSS (websocket secure) but I haven't seen anything ...
AttestedAtom675's user avatar
0 votes
1 answer
31 views

I try to do a live-streaming bidding. So when the user wins the bid, he is the only person that will receive a message like "You won. An order has been placed." @Override public void ...
Yoey's user avatar
  • 41
0 votes
0 answers
27 views

I am using OkHttpClient to connect to the WebSocket. I expect the WebSocket response one by one, but now if I send one message it returns once (with multiple responses) only. Here is what I am ...
Stevie's user avatar
  • 658
0 votes
1 answer
161 views

I am trying to connect with the SocketIO, but I got this error from the Android side (iOS works): Here is what I am doing in the Android: override fun init() = callbackFlow { val accessToken = ...
Stevie's user avatar
  • 658
1 vote
0 answers
111 views

I have created a springboot websocket with a topic @Configuration @EnableWebSocketMessageBroker public class WebSocketConfig implements WebSocketMessageBrokerConfigurer { @Override public void ...
Rathna Prashanth's user avatar
0 votes
0 answers
62 views

I am using JSR356 websockets in my web application and I am wondering why the ServerEndpoint PostConstruct method is called twice?! This is the server.log of my WildFly server: PushMessageEndpoint: -&...
raho's user avatar
  • 317
0 votes
1 answer
399 views

I am trying to connect to my Javalin-Backend with a websocket in js. This is my Access-Manager in Javalin: @Override public void manage(@NotNull Handler handler, @NotNull Context context, @NotNull ...
Lvkas_'s user avatar
  • 23
0 votes
0 answers
321 views

I can't establish a correct connection to the topic. The server has a spring boot running and a web socket is configured in it: @Configuration @EnableWebSocketMessageBroker public class ...
Daniel Vai's user avatar
0 votes
1 answer
180 views

I am getting error when I try use websocket single read sampler to listen to a server for text messages. I have no idea why this is happening. enter image description here I expected the jmeter to ...
Avi Dangol's user avatar
0 votes
1 answer
27 views

I have application using CometD version 5 that does not support partial messages over websocket. Is it supported in newer version or else do i need to do it in my application. Any java libraries that ...
kavish jain's user avatar
0 votes
1 answer
119 views

I am trying to block the concurrent access to a method , and i didn t succeeded whatever i tried.I tried to sinchronize the method by class (by using synchronized(this) or synchronized at method ...
Uta Alexandru's user avatar
1 vote
0 answers
204 views

websocket-jetty-server 11.0.12 socket connection is breaking after 2 mins I am using websocket-jetty-server version 11.0.12 to use websocket. I wanted to use the java verion 17 so I upgraded websocket-...
Umair Sayed's user avatar
1 vote
1 answer
277 views

I am developing mobile app using react native. It includs websocket communication. In debug mode, all is working well, but websocket isn't connected to server in release mode. I use built-in library ...
zenith's user avatar
  • 98
2 votes
1 answer
23 views

Using Node and socket.io to make an image-key chatroom using an image keyboard of 11 x 11 image keys. The tiles (image-key)s here are meant to display as an 11 x 11 grid. They are instead displaying ...
amoha's user avatar
  • 21
1 vote
1 answer
665 views

I am using SpringBoot 3 with Stomp. I have defined two brokers: public void configureMessageBroker(MessageBrokerRegistry registry) { registry.enableSimpleBroker("/chat", "/connect&...
Sandah Aung's user avatar
  • 6,198
1 vote
0 answers
191 views

Here is my simple React component: `import React, { useState, useEffect } from 'react'; function App() {const [price, setPrice] = useState(0); useEffect(() => {const socket = new WebSocket("...
Pavle Ilic's user avatar
0 votes
1 answer
120 views

this is my first stackoverflow question. I can't read out the data from my PostgreSQL table and I have tried different methods, but I couldn't get it to work. All my services are on the newest version ...
Peter Mulm's user avatar
0 votes
0 answers
52 views

In older Java versions you could extend a class with WebSocketServlet, and because WebSocketServlet itself extended HttpServlet it was possible to add CRUD method, such as doGet(...), doPost(...) etc ...
robtot's user avatar
  • 1,069
1 vote
1 answer
2k views

I'm currently experimenting on Binance Websocket (https://binance-docs.github.io/apidocs/spot/en/#websocket-market-streams), streaming the candlestick data for processing. As documented, the stream ...
czetsuya's user avatar
  • 5,163
0 votes
1 answer
137 views

In Netty, send messages are like this: channel.writeAndFlush(new TextWebSocketFrame("Operation Succeed")); to run this code, nothing abnormal. so I think, argument from writeAndFlush can be ...
kiki's user avatar
  • 3
0 votes
1 answer
7k views

I implement chat using WebSocket and SockJs in the client and spring-websocket on the server, I have established a connection but when I send a message it never gets to the server - or it appears so ...
BJagger's user avatar
  • 169
0 votes
1 answer
465 views

I am using jakarta.websocket on Tomcat and I want my server after some time to close the websocket connection with a connected client. For that, I am calling session.close() which then triggers indeed ...
Gouz's user avatar
  • 397
0 votes
1 answer
189 views

In my project I am trying to implement a event handling for my websocket instances. So I basically have 3 classes: My AuthClient class which extends a WebsocketClient and has onMessage callback. In ...
user avatar
0 votes
1 answer
145 views

Client Side The client sends a POST call to the server to create a subscription. The POST call request body contains the URL to which the server should send push notifications. E.g. POST Request body: ...
ToDo's user avatar
  • 782
1 vote
0 answers
125 views

I use Java (with Quarkus) for the backend. Vue3 for the frontend. API and Websockets to transition data between the two. I am building a chat message application. So far I was able to send a message ...
Laura's user avatar
  • 69
1 vote
0 answers
1k views

While writing karate feature test for websockets i am getting Invalid handshake response while the same endpoint is working when executed with postman.Here is karate feature test Background: * def ...
abdul khan's user avatar
0 votes
0 answers
383 views

I am streaming the audio from microphone using javascript and sending the audio stream from frontend to backend via websocket. In my websocket handle message i can see float array recieving from front ...
Feroz Siddiqui's user avatar
1 vote
1 answer
921 views

In my current code i had a servlet from which if i create post to the servlet it will open a new websocket client , that mean 10 client connection each running for same purpose but with different api ...
Pervinder's user avatar
2 votes
1 answer
695 views

ahc and ahc-ws (Async Http Client) components have been deprecated in Apache camel version 3.16: https://issues.apache.org/jira/browse/CAMEL-17667. Is there an alternative for ahc-ws? The component ...
alexis_sgra's user avatar
0 votes
0 answers
240 views

I'm trying to get input from users with HTML form and send a json object to my Endpoint instance. I use Jackson for deserialization and whenever an exception happens in the decoder (for example if ...
SabaZed's user avatar
0 votes
1 answer
230 views

I've been working on a project with my team for about a week and we still haven't been able to get websockets to work. We're running the whole server on our own machines for testing purposes and we're ...
Tyris's user avatar
  • 41
1 vote
0 answers
412 views

Issue Websocket is closed once it receive a message at the client side (browser). Actual behavior On the 3rd message I send, I can see the error message at the console that WebSocket is already in ...
spaykit's user avatar
  • 121

1
2 3 4 5
11