Socket.io-client-java: Support for socket.io 3.x

Created on 24 Nov 2020  路  9Comments  路  Source: socketio/socket.io-client-java

There is no support for socket.io - 3.x.

question

Most helpful comment

I'm working on this. I think we should have something by the end of the week.

All 9 comments

@anooj1483 , as noticed in #639
We got the same issue, java socket.io 1.0 client can not connect to a nodejs server using socket.io 3.x.

Anyone know when can we expect support for socket.io - 3.x?

I'm working on this. I think we should have something by the end of the week.

Is the new 1.0.1 now compatiable with socket v3? If not, is there any real eta I can work with?

Is the new 1.0.1 now compatiable with socket v3? If not, is there any real eta I can work with?

2.0.0

I'm working on this. I think we should have something by the end of the week.

That's great ! NB you should specify if the new version is also backward-compatible with a V2 server. If it's compatible, an upgrade path would be to first update clients, and when (say) 95% of clients have updated, update the server to V3 and 5% are left to die. If it's not compatible, upgrade is a lot more complicated (juggle with two different servers and so on).

Version 2.0.0 is out!

The migration guide can be found here: http://socketio.github.io/socket.io-client-java/migrating_from_1_x.html

@IlyaDiallo unfortunately, the new version is not compatible with a v2 server. There is a discussion about that here: https://github.com/socketio/socket.io-protocol/issues/21

Another solution is indeed to have two different servers running in parallel, as suggested here.

Version 2.0.0 is out!

The migration guide can be found here: http://socketio.github.io/socket.io-client-java/migrating_from_1_x.html

@IlyaDiallo unfortunately, the new version is not compatible with a v2 server. There is a discussion about that here: socketio/socket.io-protocol#21

Another solution is indeed to have two different servers running in parallel, as suggested here.

Thanks for the the link, that's exactly was I was talking about - but the idea is not to have servers running in parallel if I understand correctly, it's to add protocol negotiation in the server and client code.

Let's continue this discussion here: https://github.com/socketio/socket.io-protocol/issues/21

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hova4 picture hova4  路  12Comments

yosuke-furukawa picture yosuke-furukawa  路  8Comments

commjoen picture commjoen  路  5Comments

cmarrero01 picture cmarrero01  路  15Comments

b95505017 picture b95505017  路  12Comments