socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

When I send a lot of data, the connection will breaks

Open 17318584151 opened this issue 1 year ago • 4 comments

The client is java implementation("io.socket:socket.io-client:1.0.2"); server is implementation("com.corundumstudio.socketio:netty-socketio:1.7.17")

When the size of concurrent data sent by the client reaches 20 MB, the socket connection is disconnected error message is: cause: [transport close] , no more meesage

socket.on(Socket.EVENT_DISCONNECT, args -> { LOGGER.info(" cause: {}", Arrays.toString(args)); });

17318584151 avatar Apr 25 '24 05:04 17318584151

The method used to send data is io.socket.client.Socket#emit(java.lang.String, java.lang.Object...)

17318584151 avatar Apr 25 '24 05:04 17318584151

Hi! Were you able to find the culprit?

darrachequesne avatar Sep 17 '24 12:09 darrachequesne

It looks like their last github contribution was April 26.

@17318584151 , could you log the close details too? What was maxHttpBufferSize set to?

bryghtlabs-richard avatar Nov 19 '24 21:11 bryghtlabs-richard

How do I set maxHttpBufferSize

17318584151 avatar Nov 26 '24 03:11 17318584151