sending a list into channelID during register results in broken socket
Closed this issue · 3 comments
edwindotcom commented
here's my session:
python wsdump.py ws://localhost:8080/ws
> {"messageType": "hello", "channelIDs": ["reg_noshake_chan_1"], "uaid":"reg_noshake_uaid_1"}
< {"messageType":"hello","status":200,"uaid":"reg_noshake_uaid_1"}
> {"messageType": "register", "uaid":"uaid", "channelID":["edog"]}
> Exception in thread Thread-1:
Traceback (most recent call last):
Server
2013/06/11 17:20:10 [3] worker: Socket sending map[messageType:register uaid:uaid channelID:[edog]]
2013/06/11 17:20:10 [3] worker: Client Read buffer, map[messageType:register uaid:uaid channelID:[edog]]
2013/06/11 17:20:10 [1] worker: interface conversion: interface is []interface {}, not string
2013/06/11 17:20:10 [3] server: Server Handling command {%!s(int=6) <nil>}
jrconlin commented
I'm unable to reproduce this. It looks like things are working for you (note the returned pushEndpoint), but I'm not seeing anything causing the socket to close immediately after.
I've tried on my local install and on an AWS dev install. Can you send me the server log as well?
edwindotcom commented
I missed a line: I've updated the STR. It's been kind of a long day. sorry about the vague bugs