Questions tagged [netty-socketio]
38 questions
4
votes
1 answer
How to chunk List
When sending file, you can do ctx.writeAndFlush(new ChunkedFile(new File("file.png")));.
how about a List

Polar
- 3,327
- 4
- 42
- 77
2
votes
1 answer
socketio.emit doesn't work netty socketio
I'm working with socketio and netty with java and I'm new to both of them.
my client side code looks like this.
webSocket…

pacman
- 725
- 1
- 9
- 28
2
votes
1 answer
angular client 'server error' on connection to netty-socket.io server
I'm trying to connect my Angular app to java socket server base on netty-socket.io but it's not working...
I'm always getting this error on 'connect_error':
Error: server error
at Socket.onPacket (socket.js:393)
at XHR.Emitter.emit…

Netanel
- 31
- 3
2
votes
0 answers
AWS API Gateway WebSocket Error: Unexpected response: HTTP/1.1 101 Switching Protocols
I have implemented Socket.io in the backend with netty SocketIO in java spring boot. And client connects to WebSocket using
ws://{server.ip.address}:5291/socket/?transport=websocket
http://{server.ip.address}:5291/socket/?transport=websocket
These…

Trupti Prajapati
- 147
- 1
- 7
2
votes
1 answer
How to create JKS keystore file on secure domain for java netty-socketIO
I need to create a JKS keystore file on a secure domain (eg: https://example.com).
I am going to use this keystore file in my java netty-socketIO server side.
Configuration config = new Configuration();
config.setHostname("example.com");
…

Alain Roy
- 145
- 2
- 16
1
vote
0 answers
How to fix net::ERR_SSL_PROTOCOL_ERROR socket.io
I have created socket application in sprintboot (backend) and angularjs (frontend) after deploying both over EC2 (AWS) I am getting net::ERR_SSL_PROTOCOL_ERROR error in my frontend.
In backend I am getting - Blocked wrong request! url: /bad-request,…

Amara
- 341
- 4
- 19
1
vote
1 answer
SocketIO- Object key with null values not showing in client
I'm trying to send a message with an object from the server to the client side socket event, but when I received the message in the client side, all keys with null values are not showing from the result. I'm using NettySocketIO by the way in the…

j.ian.le
- 207
- 4
- 16
1
vote
1 answer
SockIO connection erorr with ambigous message
When trying to connect my react forntend with netty-websocket example, I'm presented with this error from sock.io client:
{
message: 'server error',
name: 'Error'
}
Yeah, no kidding. Their frontend is running just fine when served using npx…

Riki
- 342
- 1
- 19
1
vote
0 answers
How to integrate netty-socketio and redisson
Sending information to a specific client, so the data of the client must be cached in the backend.
I tried to use Redis to solve the problem, but SocketIOClient cannot be serialized.
I am trying to use Redisson to store UUID in Redis, but I created…

Cruii
- 11
- 1
1
vote
1 answer
How to use a domain instead of public IP when connecting to SocketIO server on GCP App Engine?
I have my Java Spring backend deployed to GAE flexible environment. I'm using netty-socketio for hosting a socketIO server. I'm able to connect with socket.io-client using the public IP adress provided for the instance that is listed here:
And this…

johnyka
- 399
- 3
- 15
1
vote
0 answers
How to implement netty-socketio in tomcat?
I am using socketio framework for frontend. socket.io does not provide any frameworks for Java. I found the Netty's SocketIO framework for the backend. But, I am not found any example for this framework (integrates with Tomcat).
I look out the…

sprabhakaran
- 1,615
- 5
- 20
- 36
1
vote
0 answers
netty or socket send message too fast result in losing data packets?
I use netty to send files data(master) to other two slaves(All linux OS), send files like this:
The master send 8 files(size:5~200m or so) use Netty NioServerSocketChannel :
if (file.exists() && file.isFile()) {
try {
…

Fanl
- 1,491
- 2
- 11
- 15
1
vote
1 answer
Netty SocketIO - Cannot assign requested address in AWS
I have implemented a websocket server using Spring framework and Netty SocketIO. While development I used the host address as localhost and the server was working perfectly fine.
When I'm trying to deploy my code to AWS, I changed the host address…

Dani Akash
- 6,828
- 3
- 35
- 47
0
votes
0 answers
Node.js Socket.IO client doesn't connect to the netty-socketio Spring Boot Socket.IO server
I'm facing an issue with setting up Socket.IO for a project. I'm using Spring Boot with the netty-socketio (V2.0.3) dependency for my socket server. It supports 1.x - 4.x versions of Socket.IO clients, as per the release documentation. The server is…

NoelNicholas
- 1
- 1
- 2
0
votes
0 answers
Java netty socket.io - Max Http Content Length
I'm new to socket.io, and I had a problem: I would like my server to send a large amount of data to my client, and so I tried to modify the value of maxHttpContentLength, except that this variable is an integer so I can't go above 2^31-1, or 2048…

Akwaa_
- 1
- 1