Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
101 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
76 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
1 answer
148 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
1 answer
239 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
1 vote
1 answer
131 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
17 views

source: https://javadoc.io/static/org.java-websocket/Java-WebSocket/1.5.7/org/java_websocket/client/WebSocketClient.html#sendFragmentedFrame(org.java_websocket.enums.Opcode,java.nio.ByteBuffer,boolean)...
Erwin Darsono's user avatar
2 votes
1 answer
285 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
0 votes
0 answers
138 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
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
1 vote
1 answer
240 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
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
1 answer
156 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
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
0 answers
316 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
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
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
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
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
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
0 votes
1 answer
133 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
464 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
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
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
1 vote
1 answer
917 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
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

1
2 3 4 5
11