socket.io-android-chat icon indicating copy to clipboard operation
socket.io-android-chat copied to clipboard

is there a java server sample that can work with this project?

Open machinezhou opened this issue 8 years ago • 3 comments

Hi, since I cannot join the chat.socket.io , I tried to use a simple java server sample to run this project. But it show these log when I emit login event:

2016-12-12 10:31:47.386 ERROR 582 --- [ntLoopGroup-3-4] c.c.socketio.JsonSupportWrapper : Can't read value: ["chatevent","{userName:gg}"] for type: class com.corundumstudio.socketio.protocol.Event

And I check the json android client submit , find out the source code wrapped everything with jsonarray as above and it cannot be mapped to a com.corundumstudio.socketio.protocol.Event class. Please help, how can I make it run?

machinezhou avatar Dec 12 '16 02:12 machinezhou

Hi @machinezhou I am having a similar problem. Is it that you can't proceed from the login activity on your app with the default server chat.socket.io ?

lazarusvc avatar Jan 10 '17 16:01 lazarusvc

@Lazarus118 yes and socket.io website is closed too.

machinezhou avatar Jan 11 '17 07:01 machinezhou

https://github.com/socketio/socket.io/tree/master/examples/chat

I just do as the url said, and it work very well .

snowjade avatar Jan 18 '17 06:01 snowjade